Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,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.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,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.Test46") [: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.002598/0.002605, allocations: 176.1 kB / 8.147 MB, free: 2.133 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.748/1.748, allocations: 205.2 MB / 213.8 MB, free: 14 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.00128/0.00128, allocations: 92.23 kB / 261.8 MB, free: 13.64 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.2847/0.2847, allocations: 43.49 MB / 353.2 MB, free: 2.051 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.249e-05/1.265e-05, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3002, allocations: 58.83 MB / 476.5 MB, free: 5.105 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1542/0.4545, allocations: 86.89 MB / 0.5502 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.4548, allocations: 71.45 kB / 0.5503 GB, free: 12.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02324/0.478, allocations: 5.28 MB / 0.5555 GB, free: 6.848 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.019e-05/0.4781, allocations: 7.938 kB / 0.5555 GB, free: 6.84 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.0005618/0.4787, allocations: 410 kB / 0.5559 GB, free: 6.395 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.4787, allocations: 8.031 kB / 0.5559 GB, free: 6.387 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.746e-05/0.4788, allocations: 19.81 kB / 0.5559 GB, free: 6.367 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/0.4792, allocations: 226.8 kB / 0.5561 GB, free: 6.105 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.4793, allocations: 0 / 0.5561 GB, free: 6.105 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.4793, allocations: 7.906 kB / 0.5561 GB, free: 6.098 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001008/0.4794, allocations: 19.98 kB / 0.5561 GB, free: 6.078 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.4796, allocations: 49.62 kB / 0.5562 GB, free: 6.023 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.4796, allocations: 0 / 0.5562 GB, free: 6.023 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.4796, allocations: 3.984 kB / 0.5562 GB, free: 6.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.4796, allocations: 0 / 0.5562 GB, free: 6.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004674/0.4801, allocations: 285.4 kB / 0.5564 GB, free: 5.703 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.4803, allocations: 50.69 kB / 0.5565 GB, free: 5.645 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.688e-05/0.4803, allocations: 20.97 kB / 0.5565 GB, free: 5.621 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.4804, allocations: 4 kB / 0.5565 GB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001213/0.4805, allocations: 67.34 kB / 0.5566 GB, free: 5.539 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.4805, allocations: 0 / 0.5566 GB, free: 5.539 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005509/0.4811, allocations: 137.1 kB / 0.5567 GB, free: 5.398 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.4811, allocations: 55.41 kB / 0.5568 GB, free: 5.332 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000373/0.4815, allocations: 229.7 kB / 0.557 GB, free: 5.098 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.4815, allocations: 29.7 kB / 0.557 GB, free: 5.062 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.776e-05/0.4816, allocations: 150.6 kB / 0.5572 GB, free: 4.914 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.507e-05/0.4817, allocations: 27.64 kB / 0.5572 GB, free: 4.887 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-06/0.4817, allocations: 0 / 0.5572 GB, free: 4.887 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.4818, allocations: 318.8 kB / 0.5575 GB, free: 4.566 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.457e-05/0.4819, allocations: 19.94 kB / 0.5575 GB, free: 4.547 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.883e-05/0.482, allocations: 33.7 kB / 0.5575 GB, free: 4.508 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.131e-05/0.482, allocations: 20 kB / 0.5576 GB, free: 4.488 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.4821, allocations: 192 / 0.5576 GB, free: 4.488 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002357/0.4823, allocations: 85.58 kB / 0.5576 GB, free: 4.398 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.4823, allocations: 7.938 kB / 0.5576 GB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.4824, allocations: 8.016 kB / 0.5577 GB, free: 4.383 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.4824, allocations: 7.938 kB / 0.5577 GB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.4825, allocations: 15.98 kB / 0.5577 GB, free: 4.359 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.4826, allocations: 0 / 0.5577 GB, free: 4.359 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.065e-05/0.4826, allocations: 4 kB / 0.5577 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.4826, allocations: 160 / 0.5577 GB, free: 4.355 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 6.037e-05/0.4827, allocations: 31.11 kB / 0.5577 GB, free: 4.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.414e-05/0.4828, allocations: 19.72 kB / 0.5577 GB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003116/0.4831, allocations: 115 kB / 0.5578 GB, free: 4.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.4831, allocations: 4 kB / 0.5578 GB, free: 4.176 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4831, allocations: 0 / 0.5578 GB, free: 4.176 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.4831, allocations: 0 / 0.5578 GB, free: 4.176 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005919/0.4837, allocations: 391.8 kB / 0.5582 GB, free: 3.746 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.4838, allocations: 4 kB / 0.5582 GB, free: 3.742 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.619e-05/0.4838, allocations: 8.188 kB / 0.5582 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.4839, allocations: 7.984 kB / 0.5582 GB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.4839, allocations: 4.031 kB / 0.5582 GB, free: 3.723 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.4839, allocations: 4 kB / 0.5582 GB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4839, allocations: 0 / 0.5582 GB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003112/0.4842, allocations: 209.8 kB / 0.5584 GB, free: 3.488 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.779e-05/0.4843, allocations: 96.92 kB / 0.5585 GB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.63e-05/0.4844, allocations: 7.984 kB / 0.5585 GB, free: 3.367 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.4845, allocations: 4 kB / 0.5585 GB, free: 3.363 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.4846, allocations: 8 kB / 0.5586 GB, free: 3.355 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.4846, allocations: 11.92 kB / 0.5586 GB, free: 3.344 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002715/0.4849, allocations: 184.2 kB / 0.5587 GB, free: 3.164 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003508/0.4853, allocations: 39.94 kB / 0.5588 GB, free: 3.125 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.0009854/0.4863, allocations: 351 kB / 0.5591 GB, free: 2.816 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.4865, allocations: 59.92 kB / 0.5592 GB, free: 2.758 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4865, allocations: 0 / 0.5592 GB, free: 2.758 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.314e-05/0.4866, allocations: 27.98 kB / 0.5592 GB, free: 2.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.487, allocations: 27.75 kB / 0.5592 GB, free: 2.703 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000653/0.4876, allocations: 254.5 kB / 0.5595 GB, free: 2.41 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004076/0.4881, allocations: 0.7422 MB / 0.5602 GB, free: 1.645 MB / 394.7 MB Notification: Performance of SimCode: time 6.91e-07/0.4881, allocations: 0 / 0.5602 GB, free: 1.645 MB / 394.7 MB Notification: Performance of Templates: time 0.005753/0.4938, allocations: 2.161 MB / 0.5623 GB, free: 15.48 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches