Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.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.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38") [: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.001647/0.001647, allocations: 181.3 kB / 8.151 MB, free: 2.199 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.676/1.676, 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.001267/0.001267, allocations: 84.36 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.2887/0.2887, allocations: 43.49 MB / 353.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.897e-06/9.047e-06, allocations: 0 / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2963, allocations: 58.85 MB / 476.6 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1558/0.4523, allocations: 86.72 MB / 0.5501 GB, free: 12.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.4526, allocations: 71.95 kB / 0.5501 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02185/0.4745, allocations: 4.841 MB / 0.5549 GB, free: 7.434 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.674e-05/0.4745, allocations: 0 / 0.5549 GB, free: 7.434 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005252/0.4751, allocations: 394.2 kB / 0.5552 GB, free: 7.004 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.4751, allocations: 8.031 kB / 0.5553 GB, free: 6.996 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.015e-05/0.4752, allocations: 7.906 kB / 0.5553 GB, free: 6.988 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004195/0.4756, allocations: 221.5 kB / 0.5555 GB, free: 6.734 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.4756, allocations: 0 / 0.5555 GB, free: 6.734 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.4757, allocations: 0 / 0.5555 GB, free: 6.734 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.661e-05/0.4758, allocations: 16 kB / 0.5555 GB, free: 6.719 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.4759, allocations: 45.67 kB / 0.5555 GB, free: 6.668 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.4759, allocations: 0 / 0.5555 GB, free: 6.668 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.4759, allocations: 4 kB / 0.5555 GB, free: 6.664 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.4759, allocations: 0 / 0.5555 GB, free: 6.664 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002628/0.4762, allocations: 162.2 kB / 0.5557 GB, free: 6.469 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.4764, allocations: 50.56 kB / 0.5557 GB, free: 6.41 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.132e-05/0.4765, allocations: 16.86 kB / 0.5558 GB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.4765, allocations: 0 / 0.5558 GB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001195/0.4766, allocations: 63.5 kB / 0.5558 GB, free: 6.316 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.512e-06/0.4766, allocations: 0 / 0.5558 GB, free: 6.316 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002456/0.4769, allocations: 69.48 kB / 0.5559 GB, free: 6.242 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.4769, allocations: 55.41 kB / 0.5559 GB, free: 6.176 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000245/0.4772, allocations: 158.3 kB / 0.5561 GB, free: 6.016 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.4772, allocations: 25.7 kB / 0.5561 GB, free: 5.984 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.28e-05/0.4773, allocations: 154.5 kB / 0.5563 GB, free: 5.832 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.604e-05/0.4774, allocations: 15.84 kB / 0.5563 GB, free: 5.816 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/0.4774, allocations: 4 kB / 0.5563 GB, free: 5.812 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.4775, allocations: 318.7 kB / 0.5566 GB, free: 5.492 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.383e-05/0.4776, allocations: 15.94 kB / 0.5566 GB, free: 5.477 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.528e-05/0.4777, allocations: 29.7 kB / 0.5566 GB, free: 5.441 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.514e-05/0.4777, allocations: 15.98 kB / 0.5566 GB, free: 5.426 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.4778, allocations: 0 / 0.5566 GB, free: 5.426 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000163/0.4779, allocations: 61.69 kB / 0.5567 GB, free: 5.359 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.478, allocations: 8.031 kB / 0.5567 GB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.478, allocations: 4 kB / 0.5567 GB, free: 5.348 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.478, allocations: 0 / 0.5567 GB, free: 5.348 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.4781, allocations: 19.92 kB / 0.5567 GB, free: 5.328 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.4781, allocations: 4 kB / 0.5567 GB, free: 5.324 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.913e-05/0.4782, allocations: 3.906 kB / 0.5567 GB, free: 5.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.4782, allocations: 4 kB / 0.5567 GB, free: 5.316 MB / 394.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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 5.725e-05/0.4783, allocations: 29.64 kB / 0.5568 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.4783, allocations: 12.03 kB / 0.5568 GB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.4786, allocations: 85.77 kB / 0.5569 GB, free: 5.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.4786, allocations: 0 / 0.5569 GB, free: 5.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4786, allocations: 7.938 kB / 0.5569 GB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4787, allocations: 0 / 0.5569 GB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.4789, allocations: 166.2 kB / 0.557 GB, free: 4.973 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4789, allocations: 0 / 0.557 GB, free: 4.973 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.736e-05/0.479, allocations: 4 kB / 0.557 GB, free: 4.969 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.479, allocations: 0 / 0.557 GB, free: 4.969 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.479, allocations: 7.891 kB / 0.557 GB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.479, allocations: 0 / 0.557 GB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.479, allocations: 4 kB / 0.557 GB, free: 4.957 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001969/0.4792, allocations: 93.03 kB / 0.5571 GB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.696e-05/0.4793, allocations: 100.9 kB / 0.5572 GB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.4794, allocations: 0 / 0.5572 GB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.919e-05/0.4794, allocations: 0 / 0.5572 GB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.4795, allocations: 11.97 kB / 0.5572 GB, free: 4.719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.4795, allocations: 0 / 0.5572 GB, free: 4.719 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001729/0.4797, allocations: 144.1 kB / 0.5574 GB, free: 4.578 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002569/0.48, allocations: 27.86 kB / 0.5574 GB, free: 4.551 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008826/0.4809, allocations: 313.8 kB / 0.5577 GB, free: 4.273 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001809/0.4811, allocations: 36 kB / 0.5577 GB, free: 4.238 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4811, allocations: 0 / 0.5577 GB, free: 4.238 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.286e-05/0.4812, allocations: 27.92 kB / 0.5578 GB, free: 4.211 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.4816, allocations: 27.97 kB / 0.5578 GB, free: 4.184 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005345/0.4821, allocations: 161.2 kB / 0.5579 GB, free: 3.992 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004207/0.4826, allocations: 0.7231 MB / 0.5586 GB, free: 3.242 MB / 394.7 MB Notification: Performance of SimCode: time 1.002e-06/0.4826, allocations: 0 / 0.5586 GB, free: 3.242 MB / 394.7 MB Notification: Performance of Templates: time 0.005471/0.4881, allocations: 1.712 MB / 0.5603 GB, free: 1.531 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches