Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27") translateModel(ModelicaTest.Tables.CombiTable1D.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.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.002202/0.002202, 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 2.017/2.017, allocations: 205.2 MB / 213.8 MB, free: 13.92 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.001235/0.001235, allocations: 86.88 kB / 261.8 MB, free: 13.63 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.2844/0.2844, allocations: 43.49 MB / 353.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.126e-06/8.245e-06, allocations: 0 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2864, allocations: 58.84 MB / 476.5 MB, free: 5.102 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1741/0.4606, allocations: 85.67 MB / 0.549 GB, free: 13.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/0.4609, allocations: 71.45 kB / 0.5491 GB, free: 13.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0166/0.4775, allocations: 3.795 MB / 0.5528 GB, free: 9.555 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.4776, allocations: 0 / 0.5528 GB, free: 9.555 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005194/0.4781, allocations: 394.2 kB / 0.5532 GB, free: 9.125 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.4782, allocations: 8.031 kB / 0.5532 GB, free: 9.117 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.758e-05/0.4783, allocations: 11.81 kB / 0.5532 GB, free: 9.105 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.4786, allocations: 218.6 kB / 0.5534 GB, free: 8.852 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.4787, allocations: 0 / 0.5534 GB, free: 8.852 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.4787, allocations: 4 kB / 0.5534 GB, free: 8.848 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.353e-05/0.4788, allocations: 19.98 kB / 0.5534 GB, free: 8.828 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.759e-05/0.4789, allocations: 37.7 kB / 0.5535 GB, free: 8.785 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.4789, allocations: 0 / 0.5535 GB, free: 8.785 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.4789, allocations: 7.891 kB / 0.5535 GB, free: 8.777 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.479, allocations: 0 / 0.5535 GB, free: 8.777 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005611/0.4795, allocations: 297.3 kB / 0.5538 GB, free: 8.449 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.4798, allocations: 29.75 kB / 0.5538 GB, free: 8.414 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.386e-05/0.4798, allocations: 16.84 kB / 0.5538 GB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.4798, allocations: 0 / 0.5538 GB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.4799, allocations: 34.56 kB / 0.5538 GB, free: 8.352 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.4799, allocations: 0 / 0.5538 GB, free: 8.352 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005706/0.4805, allocations: 121.1 kB / 0.5539 GB, free: 8.227 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.4805, allocations: 51.41 kB / 0.554 GB, free: 8.164 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004006/0.4809, allocations: 225.6 kB / 0.5542 GB, free: 7.934 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.481, allocations: 25.7 kB / 0.5542 GB, free: 7.902 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.089e-05/0.481, allocations: 154.6 kB / 0.5544 GB, free: 7.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.4811, allocations: 23.64 kB / 0.5544 GB, free: 7.727 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/0.4811, allocations: 0 / 0.5544 GB, free: 7.727 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.4812, allocations: 318.8 kB / 0.5547 GB, free: 7.406 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.378e-05/0.4813, allocations: 12 kB / 0.5547 GB, free: 7.395 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.93e-05/0.4813, allocations: 12 kB / 0.5547 GB, free: 7.383 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.782e-05/0.4814, allocations: 19.98 kB / 0.5548 GB, free: 7.363 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4814, allocations: 0 / 0.5548 GB, free: 7.363 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001548/0.4816, allocations: 57.69 kB / 0.5548 GB, free: 7.301 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.4816, allocations: 6.812 kB / 0.5548 GB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4816, allocations: 0 / 0.5548 GB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.4816, allocations: 0 / 0.5548 GB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.4818, allocations: 23.92 kB / 0.5548 GB, free: 7.273 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.4818, allocations: 0 / 0.5548 GB, free: 7.273 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.022e-05/0.4819, allocations: 12.16 kB / 0.5548 GB, free: 7.262 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.4819, allocations: 0 / 0.5548 GB, free: 7.262 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.402e-05/0.482, allocations: 27.27 kB / 0.5549 GB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-05/0.4821, allocations: 19.81 kB / 0.5549 GB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/0.4823, allocations: 86.75 kB / 0.555 GB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.4823, allocations: 0 / 0.555 GB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4824, allocations: 0 / 0.555 GB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.4824, allocations: 0 / 0.555 GB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005495/0.4829, allocations: 351 kB / 0.5553 GB, free: 6.734 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4829, allocations: 0 / 0.5553 GB, free: 6.734 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.4831, allocations: 15.98 kB / 0.5553 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.4831, allocations: 4 kB / 0.5553 GB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.4831, allocations: 8 kB / 0.5553 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.4831, allocations: 0 / 0.5553 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.4831, allocations: 0 / 0.5553 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000212/0.4833, allocations: 167.3 kB / 0.5555 GB, free: 6.527 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.751e-05/0.4835, allocations: 104.9 kB / 0.5556 GB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.4835, allocations: 0 / 0.5556 GB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.4836, allocations: 11.98 kB / 0.5556 GB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.4837, allocations: 8.078 kB / 0.5556 GB, free: 6.387 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.4837, allocations: 0 / 0.5556 GB, free: 6.387 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002789/0.484, allocations: 196.3 kB / 0.5558 GB, free: 6.195 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004478/0.4845, allocations: 31.89 kB / 0.5558 GB, free: 6.164 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 (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.0008508/0.4853, allocations: 312.8 kB / 0.5561 GB, free: 5.891 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.4855, allocations: 32 kB / 0.5562 GB, free: 5.859 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4855, allocations: 3.938 kB / 0.5562 GB, free: 5.855 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.496e-05/0.4856, allocations: 16 kB / 0.5562 GB, free: 5.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.4859, allocations: 16.03 kB / 0.5562 GB, free: 5.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007172/0.4867, allocations: 237.7 kB / 0.5564 GB, free: 5.551 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004219/0.4871, allocations: 0.7387 MB / 0.5571 GB, free: 4.785 MB / 394.7 MB Notification: Performance of SimCode: time 1.202e-06/0.4871, allocations: 0 / 0.5571 GB, free: 4.785 MB / 394.7 MB Notification: Performance of Templates: time 0.005107/0.4922, allocations: 1.781 MB / 0.5589 GB, free: 3.004 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test27/Test27.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches