Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2") [: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.001886/0.001886, allocations: 176.9 kB / 8.15 MB, free: 2.18 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.661/1.661, 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.001352/0.001352, allocations: 86.06 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.2678/0.2678, allocations: 43.49 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.302e-05/1.323e-05, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2896, allocations: 58.84 MB / 476.5 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1559/0.4455, allocations: 86.47 MB / 0.5498 GB, free: 12.59 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.4459, allocations: 71.95 kB / 0.5499 GB, free: 12.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02984/0.4757, allocations: 7.626 MB / 0.5573 GB, free: 4.875 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.522e-05/0.4758, allocations: 4 kB / 0.5573 GB, free: 4.871 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.0007172/0.4765, allocations: 0.5442 MB / 0.5579 GB, free: 4.281 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.4766, allocations: 12.03 kB / 0.5579 GB, free: 4.27 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.4767, allocations: 39.44 kB / 0.5579 GB, free: 4.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006753/0.4774, allocations: 327.3 kB / 0.5582 GB, free: 3.867 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.4774, allocations: 3.938 kB / 0.5582 GB, free: 3.863 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.4775, allocations: 7.984 kB / 0.5582 GB, free: 3.855 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000106/0.4776, allocations: 20 kB / 0.5583 GB, free: 3.836 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.4777, allocations: 41.69 kB / 0.5583 GB, free: 3.789 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.4777, allocations: 3.906 kB / 0.5583 GB, free: 3.785 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.4778, allocations: 0 / 0.5583 GB, free: 3.785 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.4778, allocations: 4 kB / 0.5583 GB, free: 3.781 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008852/0.4787, allocations: 425.2 kB / 0.5587 GB, free: 3.328 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.4789, allocations: 37.58 kB / 0.5587 GB, free: 3.285 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.037e-05/0.479, allocations: 12.86 kB / 0.5588 GB, free: 3.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.479, allocations: 8 kB / 0.5588 GB, free: 3.262 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.479, allocations: 30.56 kB / 0.5588 GB, free: 3.223 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.364e-06/0.479, allocations: 0 / 0.5588 GB, free: 3.223 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006978/0.4798, allocations: 192.1 kB / 0.559 GB, free: 3.027 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.4798, allocations: 55.31 kB / 0.559 GB, free: 2.961 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001923/0.4817, allocations: 0.7629 MB / 0.5598 GB, free: 2.188 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.4818, allocations: 25.7 kB / 0.5598 GB, free: 2.156 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.929e-05/0.4819, allocations: 158.5 kB / 0.5599 GB, free: 2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.4819, allocations: 11.81 kB / 0.56 GB, free: 1.988 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/0.4819, allocations: 0 / 0.56 GB, free: 1.988 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.4821, allocations: 322.7 kB / 0.5603 GB, free: 1.664 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.78e-05/0.4822, allocations: 12 kB / 0.5603 GB, free: 1.652 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.013e-05/0.4822, allocations: 8 kB / 0.5603 GB, free: 1.645 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.151e-05/0.4823, allocations: 15.98 kB / 0.5603 GB, free: 1.629 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4823, allocations: 4 kB / 0.5603 GB, free: 1.625 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001819/0.4825, allocations: 61.69 kB / 0.5604 GB, free: 1.559 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.4825, allocations: 7.281 kB / 0.5604 GB, free: 1.555 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.4825, allocations: 0 / 0.5604 GB, free: 1.555 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.4826, allocations: 0 / 0.5604 GB, free: 1.555 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.4827, allocations: 15.94 kB / 0.5604 GB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.4828, allocations: 3.938 kB / 0.5604 GB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.232e-05/0.4828, allocations: 15.98 kB / 0.5604 GB, free: 1.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.4829, allocations: 0 / 0.5604 GB, free: 1.52 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 (5): * Single equations (assignments): 5 * 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.994e-05/0.4829, allocations: 31.02 kB / 0.5604 GB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.4831, allocations: 39.53 kB / 0.5605 GB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000359/0.4834, allocations: 129.1 kB / 0.5606 GB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.4835, allocations: 3.984 kB / 0.5606 GB, free: 1.305 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4835, allocations: 0 / 0.5606 GB, free: 1.305 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4835, allocations: 4 kB / 0.5606 GB, free: 1.301 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.4845, allocations: 0.5496 MB / 0.5611 GB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.4846, allocations: 3.984 kB / 0.5611 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.4847, allocations: 12.38 kB / 0.5612 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.4847, allocations: 0 / 0.5612 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.4847, allocations: 4 kB / 0.5612 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.4847, allocations: 3.938 kB / 0.5612 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4848, allocations: 0 / 0.5612 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002873/0.4851, allocations: 206.9 kB / 0.5614 GB, free: 476 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002705/0.4853, allocations: 160.5 kB / 0.5615 GB, free: 296 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.443e-05/0.4854, allocations: 0 / 0.5615 GB, free: 296 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.4856, allocations: 8 kB / 0.5615 GB, free: 288 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.4857, allocations: 3.984 kB / 0.5615 GB, free: 284 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.4857, allocations: 8 kB / 0.5615 GB, free: 276 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.001125/0.4868, allocations: 0.6121 MB / 0.5621 GB, free: 15.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004141/0.4872, allocations: 55.94 kB / 0.5622 GB, free: 15.6 MB / 410.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 (5): * Single equations (assignments): 5 * 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.0008405/0.4881, allocations: 300.7 kB / 0.5625 GB, free: 15.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000156/0.4883, allocations: 32.06 kB / 0.5625 GB, free: 15.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4883, allocations: 0 / 0.5625 GB, free: 15.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.21e-05/0.4884, allocations: 31.92 kB / 0.5625 GB, free: 15.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.4887, allocations: 25.73 kB / 0.5626 GB, free: 15.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.4908, allocations: 0.7443 MB / 0.5633 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007496/0.4915, allocations: 0.8606 MB / 0.5641 GB, free: 13.57 MB / 410.7 MB Notification: Performance of SimCode: time 7.71e-07/0.4915, allocations: 0 / 0.5641 GB, free: 13.57 MB / 410.7 MB Notification: Performance of Templates: time 0.01151/0.5031, allocations: 4.258 MB / 0.5683 GB, free: 9.309 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches