Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9") [: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.002218/0.002218, 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.91/1.91, 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.001266/0.001266, allocations: 90.73 kB / 261.8 MB, free: 13.64 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.3156/0.3156, allocations: 43.5 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.156e-05/1.171e-05, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2927, allocations: 58.84 MB / 476.5 MB, free: 5.074 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1575/0.4503, allocations: 86.23 MB / 0.5496 GB, free: 12.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/0.4506, allocations: 71.95 kB / 0.5497 GB, free: 12.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03055/0.4811, allocations: 7.458 MB / 0.5569 GB, free: 5.312 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.976e-05/0.4812, allocations: 7.984 kB / 0.5569 GB, free: 5.305 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.0008212/0.4821, allocations: 0.5446 MB / 0.5575 GB, free: 4.715 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.4821, allocations: 16.03 kB / 0.5575 GB, free: 4.699 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.4823, allocations: 39.44 kB / 0.5575 GB, free: 4.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007509/0.483, allocations: 335.3 kB / 0.5578 GB, free: 4.289 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.483, allocations: 0 / 0.5578 GB, free: 4.289 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.4831, allocations: 3.984 kB / 0.5579 GB, free: 4.285 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001169/0.4832, allocations: 16 kB / 0.5579 GB, free: 4.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.4833, allocations: 41.69 kB / 0.5579 GB, free: 4.223 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.4834, allocations: 7.875 kB / 0.5579 GB, free: 4.215 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.4834, allocations: 3.906 kB / 0.5579 GB, free: 4.211 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.4834, allocations: 0 / 0.5579 GB, free: 4.211 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009653/0.4844, allocations: 421.4 kB / 0.5583 GB, free: 3.762 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.4845, allocations: 42.41 kB / 0.5584 GB, free: 3.711 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.012e-05/0.4846, allocations: 20.86 kB / 0.5584 GB, free: 3.688 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.4847, allocations: 0 / 0.5584 GB, free: 3.688 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.4847, allocations: 30.56 kB / 0.5584 GB, free: 3.648 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.4847, allocations: 0 / 0.5584 GB, free: 3.648 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003158/0.485, allocations: 93.25 kB / 0.5585 GB, free: 3.551 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.4851, allocations: 55.31 kB / 0.5586 GB, free: 3.484 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001951/0.487, allocations: 0.7512 MB / 0.5593 GB, free: 2.723 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.4871, allocations: 25.7 kB / 0.5593 GB, free: 2.691 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.368e-05/0.4872, allocations: 158.6 kB / 0.5595 GB, free: 2.535 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.4873, allocations: 7.844 kB / 0.5595 GB, free: 2.527 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/0.4873, allocations: 0 / 0.5595 GB, free: 2.527 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.4874, allocations: 318.8 kB / 0.5598 GB, free: 2.207 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.13e-05/0.4875, allocations: 8 kB / 0.5598 GB, free: 2.199 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.825e-05/0.4875, allocations: 11.98 kB / 0.5598 GB, free: 2.188 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.664e-05/0.4876, allocations: 8 kB / 0.5598 GB, free: 2.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.4876, allocations: 3.906 kB / 0.5598 GB, free: 2.176 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001585/0.4878, allocations: 49.69 kB / 0.5599 GB, free: 2.121 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.4878, allocations: 10.81 kB / 0.5599 GB, free: 2.113 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.4878, allocations: 7.938 kB / 0.5599 GB, free: 2.105 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.4879, allocations: 4 kB / 0.5599 GB, free: 2.102 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.488, allocations: 11.98 kB / 0.5599 GB, free: 2.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.4881, allocations: 0 / 0.5599 GB, free: 2.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.516e-05/0.4881, allocations: 4 kB / 0.5599 GB, free: 2.086 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.4882, allocations: 8 kB / 0.5599 GB, free: 2.078 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 (3): * Single equations (assignments): 3 * 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.341e-05/0.4882, allocations: 39 kB / 0.5599 GB, free: 2.035 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.4884, allocations: 35.53 kB / 0.56 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003575/0.4888, allocations: 105.1 kB / 0.5601 GB, free: 1.883 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/0.4888, allocations: 3.906 kB / 0.5601 GB, free: 1.879 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.4888, allocations: 4 kB / 0.5601 GB, free: 1.875 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.4888, allocations: 0 / 0.5601 GB, free: 1.875 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000467/0.4893, allocations: 298 kB / 0.5604 GB, free: 1.547 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4893, allocations: 4 kB / 0.5604 GB, free: 1.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.4894, allocations: 19.92 kB / 0.5604 GB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.4895, allocations: 0 / 0.5604 GB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.4895, allocations: 0 / 0.5604 GB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.4895, allocations: 3.938 kB / 0.5604 GB, free: 1.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.4895, allocations: 3.906 kB / 0.5604 GB, free: 1.516 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002886/0.4898, allocations: 195.1 kB / 0.5606 GB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002941/0.4901, allocations: 160.6 kB / 0.5607 GB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.425e-05/0.4902, allocations: 0 / 0.5607 GB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.4904, allocations: 11.89 kB / 0.5607 GB, free: 1.121 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.4905, allocations: 8 kB / 0.5607 GB, free: 1.113 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.4905, allocations: 0 / 0.5607 GB, free: 1.113 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001214/0.4917, allocations: 0.6082 MB / 0.5613 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000408/0.4921, allocations: 48 kB / 0.5614 GB, free: 472 kB / 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 (3): * Single equations (assignments): 3 * 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.0008353/0.493, allocations: 269.6 kB / 0.5616 GB, free: 236 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00015/0.4931, allocations: 23.98 kB / 0.5617 GB, free: 212 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4932, allocations: 0 / 0.5617 GB, free: 212 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.83e-05/0.4932, allocations: 12 kB / 0.5617 GB, free: 200 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.4937, allocations: 29.94 kB / 0.5617 GB, free: 172 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.4958, allocations: 0.7363 MB / 0.5624 GB, free: 15.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008123/0.4967, allocations: 0.8563 MB / 0.5633 GB, free: 14.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.382e-06/0.4967, allocations: 4 kB / 0.5633 GB, free: 14.5 MB / 410.7 MB Notification: Performance of Templates: time 0.01232/0.5091, allocations: 4.075 MB / 0.5672 GB, free: 10.41 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches