Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz") translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 175.5 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 223.3 MB / 241.4 MB, free: 11.62 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007569/0.0007568, allocations: 96.88 kB / 292.6 MB, free: 10.78 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002709/0.0002709, allocations: 15.94 kB / 352.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1912, allocations: 50.41 MB / 402.7 MB, free: 32.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09459/0.2858, allocations: 88.44 MB / 491.2 MB, free: 7.914 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/0.286, allocations: 79.94 kB / 491.3 MB, free: 7.836 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2628/0.5488, allocations: 37.63 MB / 0.5165 GB, free: 89.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5489, allocations: 0 / 0.5165 GB, free: 89.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.499e-05/0.5489, allocations: 15.69 kB / 0.5165 GB, free: 89.5 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001937/0.5508, allocations: 1.39 MB / 0.5179 GB, free: 88.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.5509, allocations: 7.469 kB / 0.5179 GB, free: 88.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.5511, allocations: 127.6 kB / 0.518 GB, free: 88.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008514/0.5519, allocations: 0.7619 MB / 0.5187 GB, free: 88.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.5519, allocations: 20.88 kB / 0.5188 GB, free: 88.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.988e-05/0.552, allocations: 24.22 kB / 0.5188 GB, free: 88.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004409/0.5525, allocations: 316.8 kB / 0.5191 GB, free: 88.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.5525, allocations: 3.938 kB / 0.5191 GB, free: 88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.5525, allocations: 9.094 kB / 0.5191 GB, free: 88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.5525, allocations: 6.156 kB / 0.5191 GB, free: 88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/0.5529, allocations: 226.7 kB / 0.5193 GB, free: 87.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.5543, allocations: 1.155 MB / 0.5204 GB, free: 87.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/0.5547, allocations: 232.8 kB / 0.5207 GB, free: 87.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003892/0.5551, allocations: 298.8 kB / 0.521 GB, free: 87.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/0.5561, allocations: 1.271 MB / 0.5222 GB, free: 85.76 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.5562, allocations: 42.44 kB / 0.5222 GB, free: 85.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 1.823e-06/0.5562, allocations: 0 / 0.5222 GB, free: 85.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.002576/0.5588, allocations: 1.684 MB / 0.5239 GB, free: 84.63 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.5588, allocations: 112.3 kB / 0.524 GB, free: 84.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008114/0.5597, allocations: 0.9185 MB / 0.5249 GB, free: 84.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.5597, allocations: 29.7 kB / 0.5249 GB, free: 84.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.5599, allocations: 359.3 kB / 0.5253 GB, free: 83.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.081e-05/0.56, allocations: 130.5 kB / 0.5254 GB, free: 83.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.768e-05/0.56, allocations: 4 kB / 0.5254 GB, free: 83.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.948e-05/0.56, allocations: 320.5 kB / 0.5257 GB, free: 83.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.5603, allocations: 125.9 kB / 0.5258 GB, free: 83.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.5605, allocations: 162.8 kB / 0.526 GB, free: 83.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004395/0.5609, allocations: 372.7 kB / 0.5263 GB, free: 83.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.5609, allocations: 0 / 0.5263 GB, free: 83.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007178/0.5616, allocations: 0.5315 MB / 0.5268 GB, free: 82.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.5617, allocations: 45.12 kB / 0.5269 GB, free: 82.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.669e-05/0.5617, allocations: 11.22 kB / 0.5269 GB, free: 82.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000203/0.5619, allocations: 69.67 kB / 0.527 GB, free: 82.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.5621, allocations: 49.39 kB / 0.527 GB, free: 82.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/0.5638, allocations: 2.981 MB / 0.5299 GB, free: 79.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/0.5641, allocations: 18.66 kB / 0.5299 GB, free: 79.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.143e-05/0.5642, allocations: 21.91 kB / 0.53 GB, free: 79.78 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002873/0.5645, allocations: 248.3 kB / 0.5302 GB, free: 79.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.5646, allocations: 125.1 kB / 0.5303 GB, free: 79.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/0.5658, allocations: 0.6573 MB / 0.531 GB, free: 79.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.5658, allocations: 6.953 kB / 0.531 GB, free: 79.19 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5658, allocations: 7.125 kB / 0.531 GB, free: 79.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.5658, allocations: 0 / 0.531 GB, free: 79.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005884/0.5664, allocations: 0.6153 MB / 0.5316 GB, free: 78.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-05/0.5664, allocations: 18.08 kB / 0.5316 GB, free: 78.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.5666, allocations: 32.39 kB / 0.5316 GB, free: 78.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001652/0.5668, allocations: 69.23 kB / 0.5317 GB, free: 78.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/0.5668, allocations: 18.89 kB / 0.5317 GB, free: 78.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001563/0.5684, allocations: 2.993 MB / 0.5346 GB, free: 75.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.5684, allocations: 0 / 0.5346 GB, free: 75.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.5695, allocations: 0.8611 MB / 0.5355 GB, free: 75.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003021/0.5698, allocations: 273.4 kB / 0.5357 GB, free: 74.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.907e-05/0.5699, allocations: 4 kB / 0.5357 GB, free: 74.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002714/0.5702, allocations: 15.33 kB / 0.5357 GB, free: 74.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.947e-05/0.5703, allocations: 26.98 kB / 0.5358 GB, free: 74.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-05/0.5703, allocations: 23.47 kB / 0.5358 GB, free: 74.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006296/0.571, allocations: 0.6268 MB / 0.5364 GB, free: 74.24 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.571, allocations: 0 / 0.5364 GB, free: 74.24 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008296/0.5718, allocations: 254.5 kB / 0.5366 GB, free: 74 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D3.n.v,D2.pin) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007541/0.5726, allocations: 409.1 kB / 0.537 GB, free: 73.67 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008585/0.5734, allocations: 0.7609 MB / 0.5378 GB, free: 72.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5735, allocations: 0 / 0.5378 GB, free: 72.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005008/0.574, allocations: 0.6232 MB / 0.5384 GB, free: 72.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005984/0.5746, allocations: 96.06 kB / 0.5385 GB, free: 72.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.5765, allocations: 1.861 MB / 0.5403 GB, free: 70.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.5769, allocations: 0.9996 MB / 0.5413 GB, free: 69.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002603/0.5771, allocations: 66.17 kB / 0.5413 GB, free: 69.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.038e-05/0.5772, allocations: 35.44 kB / 0.5414 GB, free: 69.44 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5772, allocations: 0 / 0.5414 GB, free: 69.44 MB / 378.7 MB Notification: Performance of Templates: time 0.01423/0.5914, allocations: 9.406 MB / 0.5506 GB, free: 60.73 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches