Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002558/0.002562, allocations: 170.3 kB / 8.149 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.824/1.824, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00127/0.00127, allocations: 96.55 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.256/0.256, allocations: 43.5 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.186e-05/1.195e-05, allocations: 0 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2693, allocations: 58.84 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1528/0.4223, allocations: 86.86 MB / 0.5502 GB, free: 12.24 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003304/0.4226, allocations: 71.97 kB / 0.5503 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02338/0.446, allocations: 4.886 MB / 0.555 GB, free: 7.281 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.4461, allocations: 7.938 kB / 0.555 GB, free: 7.273 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005966/0.4467, allocations: 386.2 kB / 0.5554 GB, free: 6.852 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.4468, allocations: 8.031 kB / 0.5554 GB, free: 6.844 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.198e-05/0.4468, allocations: 11.91 kB / 0.5554 GB, free: 6.832 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/0.4473, allocations: 221.5 kB / 0.5556 GB, free: 6.578 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.4473, allocations: 0 / 0.5556 GB, free: 6.578 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.4473, allocations: 4 kB / 0.5556 GB, free: 6.574 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.613e-05/0.4474, allocations: 15.98 kB / 0.5557 GB, free: 6.559 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.4476, allocations: 53.67 kB / 0.5557 GB, free: 6.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.4476, allocations: 3.906 kB / 0.5557 GB, free: 6.496 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.4476, allocations: 4 kB / 0.5557 GB, free: 6.492 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.4476, allocations: 4 kB / 0.5557 GB, free: 6.488 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004594/0.4481, allocations: 269.4 kB / 0.556 GB, free: 6.188 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.4483, allocations: 50.59 kB / 0.556 GB, free: 6.129 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.789e-05/0.4483, allocations: 16.98 kB / 0.556 GB, free: 6.109 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.4484, allocations: 4 kB / 0.5561 GB, free: 6.105 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001213/0.4485, allocations: 59.41 kB / 0.5561 GB, free: 6.035 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.923e-06/0.4485, allocations: 0 / 0.5561 GB, free: 6.035 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005697/0.4491, allocations: 145.1 kB / 0.5562 GB, free: 5.887 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.4492, allocations: 59.33 kB / 0.5563 GB, free: 5.816 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.4494, allocations: 162.3 kB / 0.5565 GB, free: 5.652 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.4495, allocations: 25.7 kB / 0.5565 GB, free: 5.621 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.5e-05/0.4495, allocations: 154.6 kB / 0.5566 GB, free: 5.469 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.254e-05/0.4496, allocations: 19.72 kB / 0.5566 GB, free: 5.449 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-06/0.4496, allocations: 0 / 0.5566 GB, free: 5.449 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.4497, allocations: 322.8 kB / 0.557 GB, free: 5.125 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.833e-05/0.4498, allocations: 12 kB / 0.557 GB, free: 5.113 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.89e-05/0.4499, allocations: 29.72 kB / 0.557 GB, free: 5.078 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.614e-05/0.45, allocations: 28.11 kB / 0.557 GB, free: 5.051 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.45, allocations: 3.906 kB / 0.557 GB, free: 5.047 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002211/0.4503, allocations: 85.62 kB / 0.5571 GB, free: 4.957 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.4503, allocations: 7.281 kB / 0.5571 GB, free: 4.953 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.4503, allocations: 4 kB / 0.5571 GB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.4503, allocations: 3.984 kB / 0.5571 GB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.4505, allocations: 19.94 kB / 0.5571 GB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.05e-05/0.4505, allocations: 192 / 0.5571 GB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.857e-05/0.4506, allocations: 8 kB / 0.5571 GB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.4506, allocations: 4 kB / 0.5572 GB, free: 4.914 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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.076e-05/0.4507, allocations: 41.14 kB / 0.5572 GB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.27e-05/0.4508, allocations: 11.91 kB / 0.5572 GB, free: 4.859 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002983/0.4511, allocations: 94.11 kB / 0.5573 GB, free: 4.762 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.4511, allocations: 7.906 kB / 0.5573 GB, free: 4.754 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.4511, allocations: 0 / 0.5573 GB, free: 4.754 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.4511, allocations: 3.984 kB / 0.5573 GB, free: 4.75 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005661/0.4517, allocations: 367.8 kB / 0.5577 GB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4517, allocations: 4.031 kB / 0.5577 GB, free: 4.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.518e-05/0.4518, allocations: 8 kB / 0.5577 GB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.4518, allocations: 4 kB / 0.5577 GB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.4519, allocations: 3.984 kB / 0.5577 GB, free: 4.324 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4519, allocations: 0 / 0.5577 GB, free: 4.324 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.4519, allocations: 4 kB / 0.5577 GB, free: 4.32 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002842/0.4522, allocations: 209.9 kB / 0.5579 GB, free: 4.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.222e-05/0.4523, allocations: 96.86 kB / 0.558 GB, free: 3.977 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/0.4523, allocations: 0 / 0.558 GB, free: 3.977 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.4525, allocations: 7.984 kB / 0.558 GB, free: 3.969 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.4525, allocations: 3.938 kB / 0.558 GB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.4525, allocations: 8 kB / 0.558 GB, free: 3.957 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001775/0.4527, allocations: 140.1 kB / 0.5581 GB, free: 3.82 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003303/0.4531, allocations: 32 kB / 0.5582 GB, free: 3.789 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009774/0.4541, allocations: 351.6 kB / 0.5585 GB, free: 3.48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001989/0.4543, allocations: 52 kB / 0.5585 GB, free: 3.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4543, allocations: 0 / 0.5585 GB, free: 3.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.033e-05/0.4544, allocations: 35.92 kB / 0.5586 GB, free: 3.395 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.4548, allocations: 27.95 kB / 0.5586 GB, free: 3.367 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005441/0.4554, allocations: 182.2 kB / 0.5588 GB, free: 3.148 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003999/0.4558, allocations: 0.7347 MB / 0.5595 GB, free: 2.387 MB / 394.7 MB Notification: Performance of SimCode: time 7.01e-07/0.4558, allocations: 0 / 0.5595 GB, free: 2.387 MB / 394.7 MB Notification: Performance of Templates: time 0.005502/0.4613, allocations: 1.947 MB / 0.5614 GB, free: 452 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches