Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002359/0.002359, allocations: 179.8 kB / 8.154 MB, free: 2.195 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.696/1.696, allocations: 205.2 MB / 213.8 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00123/0.001229, allocations: 92.06 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.237e-06/9.258e-06, allocations: 0 / 314.3 MB, free: 9.047 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.337, allocations: 47.55 MB / 361.8 MB, free: 45.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1368/0.4739, allocations: 85.56 MB / 447.4 MB, free: 400 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/0.4742, allocations: 67.97 kB / 447.5 MB, free: 332 kB / 330.7 MB Notification: Performance of FrontEnd: time 0.1549/0.6292, allocations: 35.72 MB / 483.2 MB, free: 12.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.923e-05/0.6292, allocations: 16 kB / 483.2 MB, free: 12.59 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.0027/0.632, allocations: 1.185 MB / 484.4 MB, free: 11.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.632, allocations: 12.03 kB / 484.4 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002981/0.6323, allocations: 126.4 kB / 484.5 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001744/0.6341, allocations: 0.7227 MB / 485.2 MB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.6342, allocations: 8 kB / 485.2 MB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.519e-05/0.6342, allocations: 12 kB / 485.3 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006533/0.6349, allocations: 197 kB / 485.4 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006763/0.6356, allocations: 266.5 kB / 485.7 MB, free: 9.961 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.6356, allocations: 0 / 485.7 MB, free: 9.961 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.612e-05/0.6357, allocations: 8 kB / 485.7 MB, free: 9.953 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.6357, allocations: 4 kB / 485.7 MB, free: 9.949 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003136/0.6389, allocations: 1.136 MB / 486.9 MB, free: 8.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004961/0.6394, allocations: 198.5 kB / 487.1 MB, free: 8.566 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007433/0.6402, allocations: 278.6 kB / 487.3 MB, free: 8.297 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00213/0.6423, allocations: 1.274 MB / 488.6 MB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.932e-05/0.6424, allocations: 42.55 kB / 488.6 MB, free: 6.715 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 3.867e-06/0.6424, allocations: 4 kB / 488.6 MB, free: 6.711 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.004098/0.6465, allocations: 1.153 MB / 489.8 MB, free: 5.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.64e-05/0.6467, allocations: 114.8 kB / 489.9 MB, free: 5.363 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.6481, allocations: 0.709 MB / 490.6 MB, free: 4.648 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.682e-05/0.6482, allocations: 25.7 kB / 490.6 MB, free: 4.617 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.6483, allocations: 184.1 kB / 490.8 MB, free: 4.438 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.6485, allocations: 126.1 kB / 490.9 MB, free: 4.312 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.6485, allocations: 0 / 490.9 MB, free: 4.312 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.6487, allocations: 330.7 kB / 491.3 MB, free: 3.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003048/0.649, allocations: 104.3 kB / 491.4 MB, free: 3.875 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003271/0.6494, allocations: 134.8 kB / 491.5 MB, free: 3.734 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005905/0.65, allocations: 140 kB / 491.6 MB, free: 3.598 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.65, allocations: 0 / 491.6 MB, free: 3.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001383/0.6514, allocations: 398.8 kB / 492 MB, free: 3.191 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.6514, allocations: 8 kB / 492 MB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.412e-05/0.6515, allocations: 15.98 kB / 492.1 MB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003564/0.6518, allocations: 69.62 kB / 492.1 MB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004207/0.6523, allocations: 39.97 kB / 492.2 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003382/0.6557, allocations: 2.874 MB / 495 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003362/0.6561, allocations: 11.98 kB / 495 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.68e-05/0.6562, allocations: 16.06 kB / 495.1 MB, free: 15.93 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.0001854/0.6563, allocations: 79.33 kB / 495.1 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003227/0.6567, allocations: 122.5 kB / 495.3 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00301/0.6597, allocations: 0.6707 MB / 495.9 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.6597, allocations: 3.906 kB / 495.9 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.6598, allocations: 4 kB / 495.9 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.6598, allocations: 0 / 495.9 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.661, allocations: 0.5601 MB / 496.5 MB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.644e-05/0.6611, allocations: 12 kB / 496.5 MB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003845/0.6615, allocations: 43.95 kB / 496.5 MB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003232/0.6618, allocations: 61.69 kB / 496.6 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.728e-05/0.6619, allocations: 11.98 kB / 496.6 MB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003284/0.6652, allocations: 2.87 MB / 499.5 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.126e-05/0.6652, allocations: 7.938 kB / 499.5 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002195/0.6674, allocations: 0.7708 MB / 0.4885 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000683/0.6682, allocations: 283.4 kB / 0.4888 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001922/0.6684, allocations: 12.11 kB / 0.4888 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005323/0.6689, allocations: 8 kB / 0.4888 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.669, allocations: 23.97 kB / 0.4889 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-05/0.6691, allocations: 15.98 kB / 0.4889 GB, free: 10.03 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001107/0.6702, allocations: 0.5477 MB / 0.4894 GB, free: 9.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001367/0.6716, allocations: 227.8 kB / 0.4896 GB, free: 9.258 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.001025/0.6727, allocations: 442.9 kB / 0.49 GB, free: 8.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001403/0.6741, allocations: 0.6366 MB / 0.4907 GB, free: 8.133 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6741, allocations: 0 / 0.4907 GB, free: 8.133 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009231/0.675, allocations: 0.5351 MB / 0.4912 GB, free: 7.547 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007249/0.6758, allocations: 72.81 kB / 0.4913 GB, free: 7.477 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003146/0.6789, allocations: 1.091 MB / 0.4923 GB, free: 6.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008888/0.6799, allocations: 1.06 MB / 0.4934 GB, free: 5.254 MB / 394.7 MB Notification: Performance of SimCode: time 1.493e-06/0.6799, allocations: 0 / 0.4934 GB, free: 5.254 MB / 394.7 MB Notification: Performance of Templates: time 0.1671/0.847, allocations: 16.39 MB / 0.5094 GB, free: 146.8 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches