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") [: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 trunk/package.mo): time 0.001546/0.001546, allocations: 200.3 kB / 8.539 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.234/1.234, allocations: 225.5 MB / 234.4 MB, free: 3.387 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008873/0.0008874, allocations: 89.16 kB / 286.3 MB, free: 5.211 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.36e-06/5.4e-06, allocations: 0 / 343.1 MB, free: 8.742 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08572/0.08574, allocations: 51.48 MB / 394.6 MB, free: 5.207 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.232/0.3177, allocations: 88.39 MB / 483 MB, free: 4.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001654/0.3179, allocations: 72.44 kB / 483.1 MB, free: 4.879 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1061/0.424, allocations: 37.71 MB / 0.5086 GB, free: 4.672 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.837e-05/0.4241, allocations: 16 kB / 0.5086 GB, free: 4.656 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.002493/0.4266, allocations: 1.196 MB / 0.5098 GB, free: 3.406 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.4266, allocations: 12.03 kB / 0.5098 GB, free: 3.395 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004576/0.4271, allocations: 142.4 kB / 0.5099 GB, free: 3.254 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/0.4286, allocations: 0.7188 MB / 0.5106 GB, free: 2.484 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.4287, allocations: 10.72 kB / 0.5106 GB, free: 2.477 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-05/0.4287, allocations: 20 kB / 0.5106 GB, free: 2.457 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005753/0.4293, allocations: 193.1 kB / 0.5108 GB, free: 2.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006448/0.43, allocations: 270.4 kB / 0.5111 GB, free: 1.992 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.43, allocations: 0 / 0.5111 GB, free: 1.992 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.267e-05/0.4301, allocations: 0 / 0.5111 GB, free: 1.992 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.4301, allocations: 4 kB / 0.5111 GB, free: 1.988 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002719/0.4328, allocations: 1.132 MB / 0.5122 GB, free: 0.8086 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004562/0.4333, allocations: 209.3 kB / 0.5124 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006467/0.434, allocations: 268.8 kB / 0.5126 GB, free: 340 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002158/0.4361, allocations: 1.367 MB / 0.514 GB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.4362, allocations: 38.56 kB / 0.514 GB, free: 14.64 MB / 394.7 MB Notification: Performance of pre-optimization done (n=38): time 2.665e-06/0.4362, allocations: 0 / 0.514 GB, free: 14.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=39): time 0.003588/0.4398, allocations: 1.154 MB / 0.5151 GB, free: 13.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.54e-05/0.4399, allocations: 114.8 kB / 0.5152 GB, free: 13.29 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/0.4412, allocations: 0.7051 MB / 0.5159 GB, free: 12.58 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.377e-05/0.4413, allocations: 29.7 kB / 0.516 GB, free: 12.55 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.4415, allocations: 193.7 kB / 0.5161 GB, free: 12.36 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.4416, allocations: 130 kB / 0.5163 GB, free: 12.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.4417, allocations: 0 / 0.5163 GB, free: 12.23 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.4418, allocations: 321.9 kB / 0.5166 GB, free: 11.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.4421, allocations: 100.3 kB / 0.5167 GB, free: 11.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/0.4424, allocations: 134.8 kB / 0.5168 GB, free: 11.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000521/0.4429, allocations: 139.4 kB / 0.5169 GB, free: 11.53 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4429, allocations: 0 / 0.5169 GB, free: 11.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001349/0.4443, allocations: 473.6 kB / 0.5174 GB, free: 11.05 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.4443, allocations: 4 kB / 0.5174 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.136e-05/0.4444, allocations: 19.89 kB / 0.5174 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003792/0.4448, allocations: 73.72 kB / 0.5175 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004128/0.4452, allocations: 41.14 kB / 0.5175 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003266/0.4485, allocations: 2.858 MB / 0.5203 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005408/0.4491, allocations: 19.95 kB / 0.5203 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.481e-05/0.4492, allocations: 13.33 kB / 0.5203 GB, free: 7.793 MB / 394.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.00021/0.4494, allocations: 146.7 kB / 0.5205 GB, free: 7.637 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002469/0.4496, allocations: 118.5 kB / 0.5206 GB, free: 7.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00285/0.4525, allocations: 0.6746 MB / 0.5213 GB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.4525, allocations: 11.89 kB / 0.5213 GB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.4525, allocations: 0 / 0.5213 GB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/0.4526, allocations: 8 kB / 0.5213 GB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.4537, allocations: 0.5523 MB / 0.5218 GB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.035e-05/0.4538, allocations: 11.98 kB / 0.5218 GB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002994/0.4541, allocations: 43.91 kB / 0.5219 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002705/0.4544, allocations: 62.72 kB / 0.5219 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.074e-05/0.4544, allocations: 23.92 kB / 0.522 GB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002865/0.4573, allocations: 2.871 MB / 0.5248 GB, free: 2.996 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4573, allocations: 0 / 0.5248 GB, free: 2.996 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001898/0.4592, allocations: 0.7674 MB / 0.5255 GB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006577/0.4599, allocations: 287.4 kB / 0.5258 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000228/0.4602, allocations: 0 / 0.5258 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005186/0.4607, allocations: 11.98 kB / 0.5258 GB, free: 1.895 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.4608, allocations: 23.97 kB / 0.5258 GB, free: 1.871 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-05/0.4609, allocations: 23.98 kB / 0.5258 GB, free: 1.848 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001174/0.4621, allocations: 0.5439 MB / 0.5264 GB, free: 1.301 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00157/0.4637, allocations: 240.4 kB / 0.5266 GB, free: 1.066 MB / 394.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.001152/0.4648, allocations: 434 kB / 0.527 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.4661, allocations: 0.64 MB / 0.5276 GB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4661, allocations: 4.062 kB / 0.5276 GB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008034/0.467, allocations: 0.5352 MB / 0.5282 GB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007163/0.4677, allocations: 89.84 kB / 0.5282 GB, free: 15.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002988/0.4707, allocations: 1.038 MB / 0.5293 GB, free: 14.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009538/0.4717, allocations: 1.062 MB / 0.5303 GB, free: 13.12 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4717, allocations: 0 / 0.5303 GB, free: 13.12 MB / 410.7 MB Notification: Performance of Templates: time 0.01817/0.4899, allocations: 8.214 MB / 0.5383 GB, free: 4.973 MB / 410.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/jenkins/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