Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.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.CombiTable2D.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10") translateModel(ModelicaTest.Tables.CombiTable2D.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10") [: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.00292/0.00292, allocations: 185 kB / 8.152 MB, free: 2.207 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.668/1.668, 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.001337/0.001337, allocations: 91.34 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.2824/0.2824, allocations: 43.49 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.165e-05/1.18e-05, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2899, allocations: 58.84 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1568/0.4467, allocations: 86.32 MB / 0.5497 GB, free: 12.76 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/0.4471, allocations: 67.97 kB / 0.5497 GB, free: 12.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02715/0.4743, allocations: 5.945 MB / 0.5555 GB, free: 6.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.4743, allocations: 0 / 0.5555 GB, free: 6.75 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.0006222/0.4749, allocations: 414.2 kB / 0.5559 GB, free: 6.301 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.475, allocations: 11.75 kB / 0.5559 GB, free: 6.293 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.245e-05/0.4751, allocations: 11.81 kB / 0.556 GB, free: 6.281 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.4754, allocations: 200 kB / 0.5561 GB, free: 6.047 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.814e-06/0.4754, allocations: 0 / 0.5561 GB, free: 6.047 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.4754, allocations: 0 / 0.5561 GB, free: 6.047 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.908e-05/0.4756, allocations: 16 kB / 0.5562 GB, free: 6.031 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.4757, allocations: 63.39 kB / 0.5562 GB, free: 5.957 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.4757, allocations: 0 / 0.5562 GB, free: 5.957 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.4758, allocations: 0 / 0.5562 GB, free: 5.957 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.4758, allocations: 0 / 0.5562 GB, free: 5.957 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.4762, allocations: 269.3 kB / 0.5565 GB, free: 5.656 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.4764, allocations: 34.58 kB / 0.5565 GB, free: 5.613 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.924e-05/0.4764, allocations: 12.86 kB / 0.5565 GB, free: 5.598 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.4765, allocations: 0 / 0.5565 GB, free: 5.598 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.4765, allocations: 38.47 kB / 0.5566 GB, free: 5.551 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/0.4765, allocations: 0 / 0.5566 GB, free: 5.551 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006929/0.4772, allocations: 137.4 kB / 0.5567 GB, free: 5.41 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.4773, allocations: 77.11 kB / 0.5568 GB, free: 5.316 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.4775, allocations: 127.5 kB / 0.5569 GB, free: 5.184 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.4775, allocations: 29.7 kB / 0.5569 GB, free: 5.148 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.884e-05/0.4776, allocations: 150.6 kB / 0.5571 GB, free: 5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.4777, allocations: 23.7 kB / 0.5571 GB, free: 4.977 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/0.4777, allocations: 4 kB / 0.5571 GB, free: 4.973 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.4778, allocations: 314.8 kB / 0.5574 GB, free: 4.656 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.035e-05/0.4779, allocations: 12 kB / 0.5574 GB, free: 4.645 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-05/0.478, allocations: 29.78 kB / 0.5574 GB, free: 4.609 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.145e-05/0.478, allocations: 15.98 kB / 0.5574 GB, free: 4.594 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.478, allocations: 0 / 0.5574 GB, free: 4.594 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001865/0.4782, allocations: 69.62 kB / 0.5575 GB, free: 4.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.4783, allocations: 4 kB / 0.5575 GB, free: 4.516 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.4783, allocations: 11.97 kB / 0.5575 GB, free: 4.504 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.4783, allocations: 144 / 0.5575 GB, free: 4.504 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.4785, allocations: 23.98 kB / 0.5575 GB, free: 4.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.4786, allocations: 0 / 0.5575 GB, free: 4.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.4787, allocations: 19.92 kB / 0.5576 GB, free: 4.461 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.4787, allocations: 7.984 kB / 0.5576 GB, free: 4.453 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 6.458e-05/0.4788, allocations: 34.95 kB / 0.5576 GB, free: 4.414 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.404e-05/0.4789, allocations: 7.906 kB / 0.5576 GB, free: 4.406 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002648/0.4791, allocations: 90.41 kB / 0.5577 GB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.4792, allocations: 0 / 0.5577 GB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.4792, allocations: 0 / 0.5577 GB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.4792, allocations: 0 / 0.5577 GB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005528/0.4797, allocations: 327 kB / 0.558 GB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.4798, allocations: 4 kB / 0.558 GB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001853/0.48, allocations: 19.98 kB / 0.558 GB, free: 3.922 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.48, allocations: 0 / 0.558 GB, free: 3.922 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.48, allocations: 11.98 kB / 0.558 GB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.48, allocations: 7.938 kB / 0.5581 GB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.48, allocations: 0 / 0.5581 GB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002639/0.4803, allocations: 167.4 kB / 0.5582 GB, free: 3.723 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-05/0.4804, allocations: 85.02 kB / 0.5583 GB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.4804, allocations: 3.984 kB / 0.5583 GB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.4806, allocations: 12 kB / 0.5583 GB, free: 3.605 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.051e-05/0.4807, allocations: 11.98 kB / 0.5583 GB, free: 3.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.4807, allocations: 4 kB / 0.5583 GB, free: 3.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001163/0.4808, allocations: 103.3 kB / 0.5584 GB, free: 3.488 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000337/0.4812, allocations: 27.98 kB / 0.5584 GB, free: 3.461 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.000961/0.4821, allocations: 349.5 kB / 0.5588 GB, free: 3.156 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.4824, allocations: 43.97 kB / 0.5588 GB, free: 3.113 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4824, allocations: 3.938 kB / 0.5588 GB, free: 3.109 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.137e-05/0.4825, allocations: 23.94 kB / 0.5589 GB, free: 3.086 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.4828, allocations: 15.91 kB / 0.5589 GB, free: 3.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000489/0.4833, allocations: 141.2 kB / 0.559 GB, free: 2.902 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000439/0.4837, allocations: 0.7153 MB / 0.5597 GB, free: 2.16 MB / 394.7 MB Notification: Performance of SimCode: time 1.323e-06/0.4838, allocations: 0 / 0.5597 GB, free: 2.16 MB / 394.7 MB Notification: Performance of Templates: time 0.008115/0.4919, allocations: 1.777 MB / 0.5614 GB, free: 392 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test10/Test10.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches