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") [: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 4.0.0+maint.om/package.mo): time 0.001036/0.001035, allocations: 186.5 kB / 8.138 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.168/1.168, allocations: 221.4 MB / 229.9 MB, free: 3.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009409/0.0009409, allocations: 99.33 kB / 280.8 MB, free: 1.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.104e-05/1.116e-05, allocations: 4 kB / 336.5 MB, free: 9.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2122, allocations: 50.4 MB / 386.9 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09073/0.303, allocations: 87.58 MB / 474.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001946/0.3032, allocations: 74.14 kB / 474.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.2422/0.5454, allocations: 37.42 MB / 0.5 GB, free: 90.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.014e-05/0.5455, allocations: 12.69 kB / 0.5 GB, free: 90.66 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.001629/0.5471, allocations: 1.197 MB / 0.5012 GB, free: 89.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.5472, allocations: 10.22 kB / 0.5012 GB, free: 89.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.5473, allocations: 127.2 kB / 0.5013 GB, free: 89.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000885/0.5482, allocations: 0.7147 MB / 0.502 GB, free: 89.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.5483, allocations: 6.844 kB / 0.502 GB, free: 89.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.206e-05/0.5483, allocations: 26.41 kB / 0.502 GB, free: 89.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003367/0.5487, allocations: 189.8 kB / 0.5022 GB, free: 89.53 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/0.549, allocations: 270.9 kB / 0.5025 GB, free: 89.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.5491, allocations: 0 / 0.5025 GB, free: 89.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.799e-05/0.5491, allocations: 0 / 0.5025 GB, free: 89.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.5491, allocations: 9.688 kB / 0.5025 GB, free: 89.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.5507, allocations: 1.133 MB / 0.5036 GB, free: 89.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.551, allocations: 204.2 kB / 0.5038 GB, free: 89.15 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003481/0.5513, allocations: 268 kB / 0.504 GB, free: 89.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/0.5524, allocations: 1.274 MB / 0.5053 GB, free: 87.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.5525, allocations: 34.81 kB / 0.5053 GB, free: 87.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 1.924e-06/0.5525, allocations: 0 / 0.5053 GB, free: 87.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.002216/0.5547, allocations: 1.168 MB / 0.5064 GB, free: 87.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.5548, allocations: 110.5 kB / 0.5065 GB, free: 87.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007456/0.5555, allocations: 0.7077 MB / 0.5072 GB, free: 87.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.5556, allocations: 25.7 kB / 0.5073 GB, free: 87.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.268e-05/0.5557, allocations: 202.2 kB / 0.5075 GB, free: 86.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/0.5557, allocations: 123.4 kB / 0.5076 GB, free: 86.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.906e-05/0.5558, allocations: 3.906 kB / 0.5076 GB, free: 86.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.676e-05/0.5558, allocations: 314.9 kB / 0.5079 GB, free: 86.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.556, allocations: 103.8 kB / 0.508 GB, free: 86.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.5561, allocations: 135 kB / 0.5081 GB, free: 86.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003151/0.5564, allocations: 143.8 kB / 0.5082 GB, free: 86.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5565, allocations: 0.8438 kB / 0.5082 GB, free: 86.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008027/0.5573, allocations: 477.7 kB / 0.5087 GB, free: 86.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.5573, allocations: 3.688 kB / 0.5087 GB, free: 86.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.154e-05/0.5573, allocations: 15.89 kB / 0.5087 GB, free: 86.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002125/0.5575, allocations: 68.55 kB / 0.5088 GB, free: 86.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.5578, allocations: 48.14 kB / 0.5088 GB, free: 86.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/0.5595, allocations: 2.871 MB / 0.5116 GB, free: 83.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003152/0.5598, allocations: 3.938 kB / 0.5116 GB, free: 83.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.886e-05/0.5599, allocations: 19.31 kB / 0.5117 GB, free: 83.81 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 () * 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.0001294/0.56, allocations: 153.1 kB / 0.5118 GB, free: 83.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.5601, allocations: 121.7 kB / 0.5119 GB, free: 83.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.5617, allocations: 0.6668 MB / 0.5126 GB, free: 83.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.5617, allocations: 3.938 kB / 0.5126 GB, free: 83.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5617, allocations: 6.031 kB / 0.5126 GB, free: 83.53 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.5617, allocations: 3.375 kB / 0.5126 GB, free: 83.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000636/0.5624, allocations: 0.5633 MB / 0.5131 GB, free: 83.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.542e-05/0.5624, allocations: 15.73 kB / 0.5131 GB, free: 83.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.5626, allocations: 32.77 kB / 0.5132 GB, free: 83.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001699/0.5628, allocations: 69.64 kB / 0.5132 GB, free: 83.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/0.5628, allocations: 14.36 kB / 0.5133 GB, free: 83.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00158/0.5644, allocations: 2.873 MB / 0.5161 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5644, allocations: 0 / 0.5161 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001038/0.5655, allocations: 0.7735 MB / 0.5168 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003386/0.5658, allocations: 288.6 kB / 0.5171 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.566, allocations: 7.844 kB / 0.5171 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/0.5663, allocations: 10.47 kB / 0.5171 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.642e-05/0.5664, allocations: 26.69 kB / 0.5171 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-05/0.5664, allocations: 15.69 kB / 0.5171 GB, free: 80.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0005587/0.567, allocations: 0.5478 MB / 0.5177 GB, free: 80.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008284/0.5678, allocations: 243.3 kB / 0.5179 GB, free: 80.21 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 () * 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.0006243/0.5684, allocations: 408.6 kB / 0.5183 GB, free: 80.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007234/0.5692, allocations: 0.6393 MB / 0.5189 GB, free: 79.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5692, allocations: 0 / 0.5189 GB, free: 79.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004158/0.5696, allocations: 0.5329 MB / 0.5194 GB, free: 79.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.5701, allocations: 90.81 kB / 0.5195 GB, free: 79.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.5717, allocations: 1.046 MB / 0.5206 GB, free: 78.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004027/0.5721, allocations: 1.059 MB / 0.5216 GB, free: 77.9 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.5721, allocations: 0 / 0.5216 GB, free: 77.9 MB / 378.7 MB Notification: Performance of Templates: time 0.01461/0.5867, allocations: 8.218 MB / 0.5296 GB, free: 75.56 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/jenkins/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