Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22") [: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.001703/0.001703, allocations: 175.8 kB / 8.15 MB, free: 2.195 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.671/1.671, allocations: 205.2 MB / 213.8 MB, free: 13.91 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.001258/0.001257, allocations: 93.64 kB / 261.8 MB, free: 13.61 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.3285/0.3285, allocations: 43.49 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.358e-06/9.507e-06, allocations: 4 kB / 417.7 MB, free: 40.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2666, allocations: 58.83 MB / 476.5 MB, free: 5.074 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1532/0.4199, allocations: 87.61 MB / 0.5509 GB, free: 11.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.4202, allocations: 75.45 kB / 0.551 GB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03661/0.4568, allocations: 8.186 MB / 0.559 GB, free: 3.172 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.487e-05/0.4569, allocations: 8 kB / 0.559 GB, free: 3.164 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009989/0.4579, allocations: 0.6296 MB / 0.5596 GB, free: 2.488 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.458, allocations: 8.031 kB / 0.5596 GB, free: 2.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.4581, allocations: 51.34 kB / 0.5597 GB, free: 2.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.4593, allocations: 478.9 kB / 0.5601 GB, free: 1.918 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.4593, allocations: 4 kB / 0.5601 GB, free: 1.914 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.502e-05/0.4594, allocations: 4 kB / 0.5601 GB, free: 1.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002709/0.4597, allocations: 75.97 kB / 0.5602 GB, free: 1.836 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/0.46, allocations: 129.1 kB / 0.5603 GB, free: 1.699 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.46, allocations: 4 kB / 0.5603 GB, free: 1.695 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.4601, allocations: 3.906 kB / 0.5603 GB, free: 1.691 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.4601, allocations: 0 / 0.5603 GB, free: 1.691 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.4616, allocations: 0.696 MB / 0.561 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.4619, allocations: 83.55 kB / 0.5611 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.653e-05/0.462, allocations: 34.05 kB / 0.5611 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.01e-05/0.4621, allocations: 8 kB / 0.5611 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.4621, allocations: 38.44 kB / 0.5612 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 2.755e-06/0.4621, allocations: 0 / 0.5612 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001818/0.4639, allocations: 462 kB / 0.5616 GB, free: 312 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.464, allocations: 81.11 kB / 0.5617 GB, free: 212 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/0.4657, allocations: 0.7445 MB / 0.5624 GB, free: 15.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.4657, allocations: 29.7 kB / 0.5624 GB, free: 15.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.199e-05/0.4658, allocations: 166.7 kB / 0.5626 GB, free: 15.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.58e-05/0.4659, allocations: 55.2 kB / 0.5627 GB, free: 15.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.454e-05/0.466, allocations: 4 kB / 0.5627 GB, free: 15.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.4661, allocations: 310.8 kB / 0.563 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.4663, allocations: 47.98 kB / 0.563 GB, free: 14.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.4664, allocations: 61.7 kB / 0.5631 GB, free: 14.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.4666, allocations: 47.97 kB / 0.5631 GB, free: 14.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.4667, allocations: 0 / 0.5631 GB, free: 14.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004719/0.4671, allocations: 157.4 kB / 0.5633 GB, free: 14.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.4672, allocations: 4 kB / 0.5633 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.4672, allocations: 4 kB / 0.5633 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.4672, allocations: 4 kB / 0.5633 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004091/0.4676, allocations: 39.97 kB / 0.5633 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.4677, allocations: 0 / 0.5633 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.4678, allocations: 19.98 kB / 0.5633 GB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.4679, allocations: 4 kB / 0.5633 GB, free: 14.49 MB / 410.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 (16): * Single equations (assignments): 16 * 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.822e-05/0.468, allocations: 35.05 kB / 0.5634 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002369/0.4682, allocations: 55.25 kB / 0.5634 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008494/0.4691, allocations: 258.2 kB / 0.5637 GB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.4691, allocations: 4 kB / 0.5637 GB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4691, allocations: 0 / 0.5637 GB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.4691, allocations: 0 / 0.5637 GB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/0.4709, allocations: 0.8027 MB / 0.5645 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.4709, allocations: 4 kB / 0.5645 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003673/0.4713, allocations: 39.97 kB / 0.5645 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.4713, allocations: 4.312 kB / 0.5645 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.4714, allocations: 8 kB / 0.5645 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.4714, allocations: 4.078 kB / 0.5645 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/0.4714, allocations: 7.922 kB / 0.5645 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000684/0.4721, allocations: 388.8 kB / 0.5649 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003325/0.4725, allocations: 180.4 kB / 0.5651 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.4726, allocations: 0 / 0.5651 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.473, allocations: 19.98 kB / 0.5651 GB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.557e-05/0.4731, allocations: 15.89 kB / 0.5651 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.4731, allocations: 4 kB / 0.5651 GB, free: 12.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.001204/0.4743, allocations: 0.5887 MB / 0.5657 GB, free: 11.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005747/0.4749, allocations: 67.94 kB / 0.5657 GB, free: 11.93 MB / 410.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0008736/0.4758, allocations: 314.5 kB / 0.566 GB, free: 11.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004196/0.4762, allocations: 119.8 kB / 0.5662 GB, free: 11.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4762, allocations: 0 / 0.5662 GB, free: 11.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.4764, allocations: 71.91 kB / 0.5662 GB, free: 11.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007614/0.4772, allocations: 60.91 kB / 0.5663 GB, free: 11.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.4795, allocations: 0.762 MB / 0.567 GB, free: 10.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009051/0.4805, allocations: 0.9268 MB / 0.5679 GB, free: 9.652 MB / 410.7 MB Notification: Performance of SimCode: time 1.283e-06/0.4805, allocations: 0 / 0.5679 GB, free: 9.652 MB / 410.7 MB Notification: Performance of Templates: time 0.01429/0.4948, allocations: 5.886 MB / 0.5737 GB, free: 3.762 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches