Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009782/0.0009782, allocations: 173.3 kB / 8.476 MB, free: 1.84 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.189/1.189, allocations: 205.2 MB / 214.1 MB, free: 5.094 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009968/0.0009971, allocations: 91.25 kB / 262.1 MB, free: 5.125 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.753e-06/6.793e-06, allocations: 0 / 315 MB, free: 41.49 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09291/0.09294, allocations: 47.56 MB / 362.5 MB, free: 9.961 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2756/0.3686, allocations: 85.56 MB / 448.1 MB, free: 9.98 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002039/0.3689, allocations: 73.36 kB / 448.2 MB, free: 9.969 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.09145/0.4603, allocations: 35.73 MB / 483.9 MB, free: 9.777 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.982e-05/0.4604, allocations: 12 kB / 483.9 MB, free: 9.766 MB / 330.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.002428/0.4628, allocations: 1.186 MB / 485.1 MB, free: 8.527 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.4629, allocations: 8.031 kB / 485.1 MB, free: 8.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000309/0.4632, allocations: 134.4 kB / 485.2 MB, free: 8.387 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/0.4646, allocations: 0.7218 MB / 485.9 MB, free: 7.645 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.4646, allocations: 7.938 kB / 486 MB, free: 7.637 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.205e-05/0.4647, allocations: 20 kB / 486 MB, free: 7.617 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004245/0.4651, allocations: 189.1 kB / 486.2 MB, free: 7.434 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004816/0.4656, allocations: 266.5 kB / 486.4 MB, free: 7.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.4657, allocations: 0 / 486.4 MB, free: 7.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.4657, allocations: 4 kB / 486.4 MB, free: 7.156 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.4657, allocations: 8 kB / 486.4 MB, free: 7.148 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002257/0.468, allocations: 1.127 MB / 487.6 MB, free: 5.988 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003253/0.4683, allocations: 206.4 kB / 487.8 MB, free: 5.781 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004249/0.4687, allocations: 267.5 kB / 488 MB, free: 5.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001562/0.4703, allocations: 1.277 MB / 489.3 MB, free: 3.984 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.4704, allocations: 38.44 kB / 489.3 MB, free: 3.938 MB / 330.7 MB Notification: Performance of pre-optimization done (n=38): time 2.736e-06/0.4704, allocations: 4 kB / 489.3 MB, free: 3.934 MB / 330.7 MB Notification: Performance of matching and sorting (n=39): time 0.002833/0.4732, allocations: 1.164 MB / 490.5 MB, free: 2.711 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.4733, allocations: 110.8 kB / 490.6 MB, free: 2.578 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.4744, allocations: 0.7051 MB / 491.3 MB, free: 1.867 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.474e-05/0.4744, allocations: 29.7 kB / 491.3 MB, free: 1.832 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.4746, allocations: 193.6 kB / 491.5 MB, free: 1.641 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.4747, allocations: 130 kB / 491.7 MB, free: 1.512 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.017e-05/0.4747, allocations: 0 / 491.7 MB, free: 1.512 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.4748, allocations: 317.9 kB / 492 MB, free: 1.195 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.475, allocations: 108.3 kB / 492.1 MB, free: 1.086 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.4752, allocations: 130.8 kB / 492.2 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/0.4756, allocations: 140 kB / 492.3 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4756, allocations: 0 / 492.3 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009813/0.4766, allocations: 473.9 kB / 492.8 MB, free: 344 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.4766, allocations: 4 kB / 492.8 MB, free: 340 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.783e-05/0.4767, allocations: 15.91 kB / 492.8 MB, free: 324 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002569/0.4769, allocations: 65.69 kB / 492.9 MB, free: 252 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002527/0.4772, allocations: 47.91 kB / 492.9 MB, free: 204 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002545/0.4798, allocations: 2.874 MB / 495.8 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004344/0.4802, allocations: 11.91 kB / 495.8 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-05/0.4803, allocations: 15.98 kB / 495.8 MB, free: 13.07 MB / 346.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 () * 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.0001694/0.4805, allocations: 150.7 kB / 496 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/0.4807, allocations: 118.5 kB / 496.1 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001888/0.4826, allocations: 0.6707 MB / 496.8 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.4826, allocations: 7.906 kB / 496.8 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4826, allocations: 0 / 496.8 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.4826, allocations: 7.984 kB / 496.8 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009451/0.4836, allocations: 0.5548 MB / 497.3 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.951e-05/0.4836, allocations: 15.98 kB / 497.4 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.4838, allocations: 35.98 kB / 497.4 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001971/0.484, allocations: 69.67 kB / 497.5 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.769e-05/0.4841, allocations: 12 kB / 497.5 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002246/0.4863, allocations: 2.873 MB / 0.4886 GB, free: 8.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4863, allocations: 0 / 0.4886 GB, free: 8.27 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001321/0.4877, allocations: 0.774 MB / 0.4894 GB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004569/0.4881, allocations: 287.4 kB / 0.4896 GB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.4883, allocations: 4.125 kB / 0.4896 GB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003295/0.4887, allocations: 8 kB / 0.4897 GB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.155e-05/0.4887, allocations: 27.95 kB / 0.4897 GB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.02e-05/0.4888, allocations: 16 kB / 0.4897 GB, free: 7.121 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.000755/0.4895, allocations: 0.5477 MB / 0.4902 GB, free: 6.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001069/0.4906, allocations: 239.7 kB / 0.4905 GB, free: 6.336 MB / 346.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 () * 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.0008772/0.4915, allocations: 414.1 kB / 0.4909 GB, free: 5.957 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008983/0.4924, allocations: 0.6405 MB / 0.4915 GB, free: 5.266 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4924, allocations: 4 kB / 0.4915 GB, free: 5.262 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005582/0.493, allocations: 0.5311 MB / 0.492 GB, free: 4.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004699/0.4935, allocations: 80.7 kB / 0.4921 GB, free: 4.602 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/0.4959, allocations: 1.045 MB / 0.4931 GB, free: 3.512 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008188/0.4967, allocations: 1.063 MB / 0.4941 GB, free: 2.418 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.4967, allocations: 0 / 0.4941 GB, free: 2.418 MB / 346.7 MB Notification: Performance of Templates: time 0.01782/0.5145, allocations: 8.195 MB / 0.5021 GB, free: 10.27 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches