Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00109/0.00109, allocations: 196.1 kB / 18.1 MB, free: 3.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 226.5 MB / 245.4 MB, free: 6.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007744/0.0007743, allocations: 100.8 kB / 297.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002723/0.0002723, allocations: 4 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1891, allocations: 51.3 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09448/0.2836, allocations: 89.16 MB / 498.5 MB, free: 2.328 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001947/0.2839, allocations: 75.97 kB / 498.6 MB, free: 2.254 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2415/0.5254, allocations: 37.82 MB / 0.5238 GB, free: 86.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5254, allocations: 0 / 0.5238 GB, free: 86.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.121e-05/0.5254, allocations: 19.19 kB / 0.5239 GB, free: 86.57 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.001788/0.5272, allocations: 1.383 MB / 0.5252 GB, free: 85.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.5273, allocations: 11.25 kB / 0.5252 GB, free: 85.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002769/0.5275, allocations: 145 kB / 0.5254 GB, free: 85.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007928/0.5284, allocations: 0.7747 MB / 0.5261 GB, free: 84.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.5284, allocations: 15.34 kB / 0.5261 GB, free: 84.94 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-05/0.5284, allocations: 21.69 kB / 0.5262 GB, free: 84.94 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004299/0.5289, allocations: 309.1 kB / 0.5264 GB, free: 84.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.5289, allocations: 4 kB / 0.5265 GB, free: 84.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.829e-05/0.5289, allocations: 11.5 kB / 0.5265 GB, free: 84.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.5289, allocations: 4.125 kB / 0.5265 GB, free: 84.78 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003387/0.5293, allocations: 225.5 kB / 0.5267 GB, free: 84.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.5308, allocations: 1.151 MB / 0.5278 GB, free: 84.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.5311, allocations: 240.4 kB / 0.528 GB, free: 83.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003737/0.5315, allocations: 298.5 kB / 0.5283 GB, free: 83.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/0.5325, allocations: 1.363 MB / 0.5297 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.5325, allocations: 39.5 kB / 0.5297 GB, free: 82.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 2.014e-06/0.5326, allocations: 0 / 0.5297 GB, free: 82.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.002516/0.5351, allocations: 1.671 MB / 0.5313 GB, free: 80.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.5351, allocations: 118.8 kB / 0.5314 GB, free: 80.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007632/0.5359, allocations: 0.9184 MB / 0.5323 GB, free: 79.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.5359, allocations: 29.7 kB / 0.5324 GB, free: 79.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.5361, allocations: 357.5 kB / 0.5327 GB, free: 79.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.342e-05/0.5362, allocations: 134.1 kB / 0.5328 GB, free: 78.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.794e-05/0.5362, allocations: 8 kB / 0.5328 GB, free: 78.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.74e-05/0.5363, allocations: 314 kB / 0.5331 GB, free: 78.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.5365, allocations: 124.2 kB / 0.5333 GB, free: 78.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.5367, allocations: 162.8 kB / 0.5334 GB, free: 78.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004336/0.5371, allocations: 361.2 kB / 0.5338 GB, free: 77.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.5371, allocations: 0 / 0.5338 GB, free: 77.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000699/0.5378, allocations: 0.5382 MB / 0.5343 GB, free: 77.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.5379, allocations: 37.7 kB / 0.5343 GB, free: 77.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.589e-05/0.5379, allocations: 15.98 kB / 0.5343 GB, free: 77.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002087/0.5381, allocations: 69.69 kB / 0.5344 GB, free: 77.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.5383, allocations: 39.91 kB / 0.5344 GB, free: 77.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.5399, allocations: 2.986 MB / 0.5374 GB, free: 73.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.5401, allocations: 16.22 kB / 0.5374 GB, free: 73.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.963e-05/0.5402, allocations: 27.98 kB / 0.5374 GB, free: 73.94 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.0002588/0.5405, allocations: 247.4 kB / 0.5376 GB, free: 73.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.947e-05/0.5406, allocations: 122.5 kB / 0.5377 GB, free: 73.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.5417, allocations: 0.6723 MB / 0.5384 GB, free: 72.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.5417, allocations: 4 kB / 0.5384 GB, free: 72.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.5417, allocations: 7.938 kB / 0.5384 GB, free: 72.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5417, allocations: 4 kB / 0.5384 GB, free: 72.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005599/0.5423, allocations: 0.6121 MB / 0.539 GB, free: 72.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.981e-05/0.5423, allocations: 12 kB / 0.539 GB, free: 72.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.5425, allocations: 43.91 kB / 0.5391 GB, free: 72.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001487/0.5426, allocations: 61.67 kB / 0.5391 GB, free: 72.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.234e-05/0.5427, allocations: 20 kB / 0.5391 GB, free: 72.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/0.5441, allocations: 2.989 MB / 0.5421 GB, free: 68.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5442, allocations: 128 / 0.5421 GB, free: 68.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009992/0.5452, allocations: 0.8593 MB / 0.5429 GB, free: 67.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002649/0.5454, allocations: 275.4 kB / 0.5432 GB, free: 67.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.035e-05/0.5455, allocations: 4 kB / 0.5432 GB, free: 67.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/0.5458, allocations: 15.98 kB / 0.5432 GB, free: 67.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.252e-05/0.5459, allocations: 27.97 kB / 0.5432 GB, free: 67.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.543e-05/0.5459, allocations: 20 kB / 0.5432 GB, free: 67.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005963/0.5465, allocations: 0.6257 MB / 0.5438 GB, free: 66.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5465, allocations: 0 / 0.5438 GB, free: 66.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008336/0.5474, allocations: 259.7 kB / 0.5441 GB, free: 66.67 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.000646/0.548, allocations: 404.5 kB / 0.5445 GB, free: 66.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008504/0.5489, allocations: 0.7582 MB / 0.5452 GB, free: 65.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5489, allocations: 4 kB / 0.5452 GB, free: 65.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005135/0.5494, allocations: 0.6205 MB / 0.5458 GB, free: 64.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006292/0.5501, allocations: 101.8 kB / 0.5459 GB, free: 64.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.552, allocations: 1.858 MB / 0.5477 GB, free: 62.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.5524, allocations: 1.003 MB / 0.5487 GB, free: 61.74 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002555/0.5526, allocations: 68.56 kB / 0.5488 GB, free: 61.67 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.952e-05/0.5527, allocations: 35.44 kB / 0.5488 GB, free: 61.63 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5527, allocations: 0 / 0.5488 GB, free: 61.63 MB / 378.7 MB Notification: Performance of Templates: time 0.01419/0.5669, allocations: 9.421 MB / 0.558 GB, free: 52.23 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches