Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.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.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29") [: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.001632/0.001631, allocations: 171.2 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.767/1.767, allocations: 205.2 MB / 213.8 MB, free: 13.94 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.001261/0.001261, allocations: 86.86 kB / 261.8 MB, free: 13.65 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.2623/0.2623, allocations: 43.5 MB / 353.2 MB, free: 2.055 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.979e-06/1.014e-05, allocations: 4 kB / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3001, allocations: 58.84 MB / 476.5 MB, free: 5.098 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1543/0.4545, allocations: 86.39 MB / 0.5497 GB, free: 12.67 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/0.4548, allocations: 79.45 kB / 0.5498 GB, free: 12.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01891/0.4738, allocations: 4.045 MB / 0.5538 GB, free: 8.543 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.895e-05/0.4738, allocations: 4 kB / 0.5538 GB, free: 8.539 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005426/0.4744, allocations: 410.1 kB / 0.5542 GB, free: 8.094 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.4744, allocations: 8.031 kB / 0.5542 GB, free: 8.086 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.009e-05/0.4745, allocations: 11.81 kB / 0.5542 GB, free: 8.074 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.4749, allocations: 204.9 kB / 0.5544 GB, free: 7.832 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.4749, allocations: 0 / 0.5544 GB, free: 7.832 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.4749, allocations: 0 / 0.5544 GB, free: 7.832 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001194/0.475, allocations: 24 kB / 0.5544 GB, free: 7.809 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.4752, allocations: 45.59 kB / 0.5544 GB, free: 7.758 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.4752, allocations: 3.984 kB / 0.5544 GB, free: 7.754 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.4752, allocations: 8 kB / 0.5545 GB, free: 7.746 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.4752, allocations: 3.938 kB / 0.5545 GB, free: 7.742 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006109/0.4759, allocations: 301.3 kB / 0.5547 GB, free: 7.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.476, allocations: 42.5 kB / 0.5548 GB, free: 7.359 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.51e-05/0.4761, allocations: 16.86 kB / 0.5548 GB, free: 7.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.4761, allocations: 0 / 0.5548 GB, free: 7.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.4762, allocations: 38.56 kB / 0.5548 GB, free: 7.293 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.4762, allocations: 0 / 0.5548 GB, free: 7.293 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007637/0.477, allocations: 165.2 kB / 0.555 GB, free: 7.125 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.477, allocations: 55.39 kB / 0.555 GB, free: 7.059 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/0.4773, allocations: 185.5 kB / 0.5552 GB, free: 6.867 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.4774, allocations: 25.7 kB / 0.5552 GB, free: 6.836 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.156e-05/0.4774, allocations: 158.5 kB / 0.5554 GB, free: 6.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.087e-05/0.4775, allocations: 23.66 kB / 0.5554 GB, free: 6.656 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-06/0.4775, allocations: 0 / 0.5554 GB, free: 6.656 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.4777, allocations: 318.8 kB / 0.5557 GB, free: 6.336 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.834e-05/0.4777, allocations: 23.98 kB / 0.5557 GB, free: 6.312 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.62e-05/0.4778, allocations: 16 kB / 0.5558 GB, free: 6.297 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.797e-05/0.4779, allocations: 24.06 kB / 0.5558 GB, free: 6.273 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4779, allocations: 0 / 0.5558 GB, free: 6.273 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002229/0.4781, allocations: 81.89 kB / 0.5559 GB, free: 6.188 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.4782, allocations: 10.81 kB / 0.5559 GB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4782, allocations: 80 / 0.5559 GB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.4782, allocations: 4 kB / 0.5559 GB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.4785, allocations: 27.92 kB / 0.5559 GB, free: 6.148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.4785, allocations: 7.922 kB / 0.5559 GB, free: 6.141 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.4786, allocations: 15.98 kB / 0.5559 GB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.4786, allocations: 7.906 kB / 0.5559 GB, free: 6.117 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.443e-05/0.4787, allocations: 25.7 kB / 0.556 GB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.487e-05/0.4788, allocations: 7.906 kB / 0.556 GB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003273/0.4791, allocations: 107 kB / 0.5561 GB, free: 5.969 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.4791, allocations: 0 / 0.5561 GB, free: 5.969 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4792, allocations: 4 kB / 0.5561 GB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4792, allocations: 0 / 0.5561 GB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006367/0.4798, allocations: 370.9 kB / 0.5564 GB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.4799, allocations: 0 / 0.5564 GB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.4801, allocations: 31.97 kB / 0.5565 GB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.4801, allocations: 0 / 0.5565 GB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.4801, allocations: 0 / 0.5565 GB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.4801, allocations: 4 kB / 0.5565 GB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.4801, allocations: 4 kB / 0.5565 GB, free: 5.52 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002757/0.4804, allocations: 187.3 kB / 0.5566 GB, free: 5.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.258e-05/0.4805, allocations: 85.02 kB / 0.5567 GB, free: 5.219 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.4806, allocations: 7.844 kB / 0.5567 GB, free: 5.211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.4808, allocations: 19.98 kB / 0.5568 GB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.915e-05/0.4808, allocations: 11.98 kB / 0.5568 GB, free: 5.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.4809, allocations: 0 / 0.5568 GB, free: 5.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000212/0.4811, allocations: 147.2 kB / 0.5569 GB, free: 5.035 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003181/0.4814, allocations: 27.92 kB / 0.5569 GB, free: 5.008 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.000853/0.4823, allocations: 317 kB / 0.5572 GB, free: 4.734 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002371/0.4825, allocations: 55.92 kB / 0.5573 GB, free: 4.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4826, allocations: 0 / 0.5573 GB, free: 4.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.905e-05/0.4827, allocations: 27.98 kB / 0.5573 GB, free: 4.652 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.483, allocations: 12 kB / 0.5573 GB, free: 4.641 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007087/0.4837, allocations: 221.1 kB / 0.5575 GB, free: 4.398 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004694/0.4842, allocations: 0.7386 MB / 0.5583 GB, free: 3.633 MB / 394.7 MB Notification: Performance of SimCode: time 8.31e-07/0.4842, allocations: 4 kB / 0.5583 GB, free: 3.629 MB / 394.7 MB Notification: Performance of Templates: time 0.00541/0.4897, allocations: 1.846 MB / 0.5601 GB, free: 1.785 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches