Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37") [: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.001686/0.001686, allocations: 170.2 kB / 8.144 MB, free: 2.219 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.669/1.669, allocations: 205.2 MB / 213.8 MB, free: 13.93 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.001258, allocations: 88.77 kB / 261.8 MB, free: 13.62 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.3177/0.3177, allocations: 43.49 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.127e-05/1.137e-05, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2915, allocations: 58.85 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1639/0.4555, allocations: 86.72 MB / 0.5501 GB, free: 12.35 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.4558, allocations: 71.91 kB / 0.5501 GB, free: 12.28 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02371/0.4796, allocations: 4.842 MB / 0.5549 GB, free: 7.438 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.491e-05/0.4796, allocations: 0 / 0.5549 GB, free: 7.438 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.0005933/0.4802, allocations: 394.2 kB / 0.5552 GB, free: 7.008 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.4803, allocations: 8.031 kB / 0.5552 GB, free: 7 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.87e-05/0.4804, allocations: 11.91 kB / 0.5553 GB, free: 6.988 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004487/0.4808, allocations: 209.6 kB / 0.5555 GB, free: 6.746 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.4809, allocations: 4 kB / 0.5555 GB, free: 6.742 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.4809, allocations: 4 kB / 0.5555 GB, free: 6.738 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.954e-05/0.481, allocations: 11.98 kB / 0.5555 GB, free: 6.727 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.4811, allocations: 45.69 kB / 0.5555 GB, free: 6.676 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.4811, allocations: 4 kB / 0.5555 GB, free: 6.672 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.4812, allocations: 4 kB / 0.5555 GB, free: 6.668 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.4812, allocations: 0 / 0.5555 GB, free: 6.668 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002406/0.4814, allocations: 162.1 kB / 0.5557 GB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.4816, allocations: 50.58 kB / 0.5557 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.335e-05/0.4816, allocations: 16.94 kB / 0.5557 GB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.4817, allocations: 7.984 kB / 0.5558 GB, free: 6.387 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/0.4818, allocations: 55.41 kB / 0.5558 GB, free: 6.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 2.424e-06/0.4818, allocations: 0 / 0.5558 GB, free: 6.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002605/0.4821, allocations: 69.5 kB / 0.5559 GB, free: 6.246 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.4821, allocations: 55.41 kB / 0.5559 GB, free: 6.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.4824, allocations: 166.3 kB / 0.5561 GB, free: 6.012 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.4824, allocations: 25.7 kB / 0.5561 GB, free: 5.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.43e-05/0.4825, allocations: 150.6 kB / 0.5563 GB, free: 5.832 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.4826, allocations: 19.78 kB / 0.5563 GB, free: 5.812 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/0.4826, allocations: 7.938 kB / 0.5563 GB, free: 5.805 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.4827, allocations: 314.8 kB / 0.5566 GB, free: 5.488 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.571e-05/0.4828, allocations: 12 kB / 0.5566 GB, free: 5.477 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.4829, allocations: 25.7 kB / 0.5566 GB, free: 5.445 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.438e-05/0.483, allocations: 20.06 kB / 0.5566 GB, free: 5.426 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.483, allocations: 0 / 0.5566 GB, free: 5.426 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001794/0.4832, allocations: 61.69 kB / 0.5567 GB, free: 5.359 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.4832, allocations: 12.02 kB / 0.5567 GB, free: 5.348 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.4832, allocations: 4 kB / 0.5567 GB, free: 5.344 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.4833, allocations: 3.938 kB / 0.5567 GB, free: 5.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.4834, allocations: 8 kB / 0.5567 GB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.4834, allocations: 0 / 0.5567 GB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.748e-05/0.4835, allocations: 11.84 kB / 0.5567 GB, free: 5.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.4835, allocations: 0 / 0.5567 GB, free: 5.32 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 6.241e-05/0.4836, allocations: 33.69 kB / 0.5568 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.4836, allocations: 7.906 kB / 0.5568 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/0.4839, allocations: 93.7 kB / 0.5569 GB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.4839, allocations: 0 / 0.5569 GB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4839, allocations: 0 / 0.5569 GB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.4839, allocations: 3.984 kB / 0.5569 GB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.4842, allocations: 166.2 kB / 0.557 GB, free: 4.973 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4842, allocations: 0 / 0.557 GB, free: 4.973 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.977e-05/0.4842, allocations: 4 kB / 0.557 GB, free: 4.969 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.4842, allocations: 4 kB / 0.557 GB, free: 4.965 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.4843, allocations: 3.906 kB / 0.557 GB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.4843, allocations: 0 / 0.557 GB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.4843, allocations: 4 kB / 0.557 GB, free: 4.957 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002083/0.4845, allocations: 97.02 kB / 0.5571 GB, free: 4.844 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.297e-05/0.4846, allocations: 88.92 kB / 0.5572 GB, free: 4.738 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/0.4846, allocations: 4.188 kB / 0.5572 GB, free: 4.734 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.753e-05/0.4847, allocations: 7.984 kB / 0.5572 GB, free: 4.727 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.4848, allocations: 8 kB / 0.5572 GB, free: 4.719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.4848, allocations: 0 / 0.5572 GB, free: 4.719 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001754/0.485, allocations: 140.1 kB / 0.5574 GB, free: 4.582 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002792/0.4853, allocations: 27.88 kB / 0.5574 GB, free: 4.555 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.0008965/0.4862, allocations: 318 kB / 0.5577 GB, free: 4.273 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.4864, allocations: 39.98 kB / 0.5577 GB, free: 4.234 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4864, allocations: 0 / 0.5577 GB, free: 4.234 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.792e-05/0.4865, allocations: 19.94 kB / 0.5578 GB, free: 4.215 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.4869, allocations: 31.81 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.0005242/0.4875, 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.0004054/0.4879, allocations: 0.727 MB / 0.5587 GB, free: 3.238 MB / 394.7 MB Notification: Performance of SimCode: time 1.333e-06/0.4879, allocations: 0 / 0.5587 GB, free: 3.238 MB / 394.7 MB Notification: Performance of Templates: time 0.005247/0.4932, allocations: 1.72 MB / 0.5603 GB, free: 1.52 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches