Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32") [: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.00179/0.001795, allocations: 175.8 kB / 8.15 MB, free: 2.195 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.667/1.667, allocations: 205.2 MB / 213.8 MB, free: 13.91 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.001268/0.001268, allocations: 93.52 kB / 261.8 MB, free: 13.6 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.3235/0.3235, allocations: 43.49 MB / 353.2 MB, free: 2.016 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.218e-05/1.273e-05, allocations: 4 kB / 417.7 MB, free: 40.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2789, allocations: 58.84 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1611/0.4401, allocations: 86.86 MB / 0.5502 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.4404, allocations: 75.47 kB / 0.5503 GB, free: 12.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02365/0.4641, allocations: 4.887 MB / 0.555 GB, free: 7.238 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.132e-05/0.4641, allocations: 7.938 kB / 0.555 GB, free: 7.23 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006128/0.4648, allocations: 386.2 kB / 0.5554 GB, free: 6.809 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.4648, allocations: 15.97 kB / 0.5554 GB, free: 6.793 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.364e-05/0.4649, allocations: 7.906 kB / 0.5554 GB, free: 6.785 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004218/0.4653, allocations: 221.5 kB / 0.5557 GB, free: 6.531 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.4654, allocations: 0 / 0.5557 GB, free: 6.531 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.4654, allocations: 4 kB / 0.5557 GB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001005/0.4655, allocations: 15.98 kB / 0.5557 GB, free: 6.512 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.4657, allocations: 53.67 kB / 0.5557 GB, free: 6.453 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.4657, allocations: 3.906 kB / 0.5557 GB, free: 6.449 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.4657, allocations: 8 kB / 0.5557 GB, free: 6.441 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.4657, allocations: 0 / 0.5557 GB, free: 6.441 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004698/0.4662, allocations: 261.5 kB / 0.556 GB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.4664, allocations: 54.53 kB / 0.556 GB, free: 6.086 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.083e-05/0.4665, allocations: 20.98 kB / 0.5561 GB, free: 6.062 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.4665, allocations: 4 kB / 0.5561 GB, free: 6.059 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/0.4666, allocations: 59.41 kB / 0.5561 GB, free: 5.988 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.794e-06/0.4666, allocations: 0 / 0.5561 GB, free: 5.988 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005991/0.4672, allocations: 137.1 kB / 0.5562 GB, free: 5.848 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.4673, allocations: 63.39 kB / 0.5563 GB, free: 5.773 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002617/0.4676, allocations: 162.2 kB / 0.5565 GB, free: 5.609 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.4676, allocations: 25.7 kB / 0.5565 GB, free: 5.578 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.022e-05/0.4677, allocations: 158.6 kB / 0.5566 GB, free: 5.422 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.563e-05/0.4678, allocations: 23.7 kB / 0.5567 GB, free: 5.398 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/0.4678, allocations: 0 / 0.5567 GB, free: 5.398 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.4679, allocations: 314.8 kB / 0.557 GB, free: 5.082 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.931e-05/0.468, allocations: 16 kB / 0.557 GB, free: 5.066 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.048e-05/0.4681, allocations: 29.72 kB / 0.557 GB, free: 5.031 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.509e-05/0.4682, allocations: 19.98 kB / 0.557 GB, free: 5.012 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.4682, allocations: 7.844 kB / 0.557 GB, free: 5.004 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002217/0.4684, allocations: 81.69 kB / 0.5571 GB, free: 4.918 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.4685, allocations: 8 kB / 0.5571 GB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.4685, allocations: 3.984 kB / 0.5571 GB, free: 4.906 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.4685, allocations: 0 / 0.5571 GB, free: 4.906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.4687, allocations: 16 kB / 0.5571 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.4687, allocations: 7.938 kB / 0.5571 GB, free: 4.883 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.13e-05/0.4688, allocations: 0 / 0.5571 GB, free: 4.883 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.4688, allocations: 7.984 kB / 0.5571 GB, free: 4.875 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 (10): * Single equations (assignments): 10 * 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 7.108e-05/0.4689, allocations: 35.05 kB / 0.5572 GB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.4689, allocations: 12.09 kB / 0.5572 GB, free: 4.824 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000313/0.4693, allocations: 106.2 kB / 0.5573 GB, free: 4.715 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.966e-06/0.4693, allocations: 7.891 kB / 0.5573 GB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.4693, allocations: 3.984 kB / 0.5573 GB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.4693, allocations: 0 / 0.5573 GB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005918/0.4699, allocations: 367.8 kB / 0.5577 GB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4699, allocations: 0 / 0.5577 GB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.62e-05/0.47, allocations: 16.03 kB / 0.5577 GB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.47, allocations: 0 / 0.5577 GB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.4701, allocations: 3.984 kB / 0.5577 GB, free: 4.277 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.4701, allocations: 4 kB / 0.5577 GB, free: 4.273 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4701, allocations: 0 / 0.5577 GB, free: 4.273 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002916/0.4704, allocations: 201.9 kB / 0.5579 GB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.4705, allocations: 104.9 kB / 0.558 GB, free: 3.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.4706, allocations: 0 / 0.558 GB, free: 3.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.4707, allocations: 7.984 kB / 0.558 GB, free: 3.922 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.4708, allocations: 4.188 kB / 0.558 GB, free: 3.918 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.4708, allocations: 11.94 kB / 0.558 GB, free: 3.906 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001917/0.471, allocations: 140.1 kB / 0.5581 GB, free: 3.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000354/0.4714, allocations: 35.98 kB / 0.5582 GB, free: 3.734 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001049/0.4724, allocations: 358.5 kB / 0.5585 GB, free: 3.426 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002779/0.4727, allocations: 48 kB / 0.5586 GB, free: 3.379 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4728, allocations: 0 / 0.5586 GB, free: 3.379 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.151e-05/0.4729, allocations: 31.94 kB / 0.5586 GB, free: 3.348 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.4733, allocations: 28.09 kB / 0.5586 GB, free: 3.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005927/0.4739, allocations: 186.2 kB / 0.5588 GB, free: 3.098 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004286/0.4744, allocations: 0.727 MB / 0.5595 GB, free: 2.344 MB / 394.7 MB Notification: Performance of SimCode: time 7.91e-07/0.4744, allocations: 0 / 0.5595 GB, free: 2.344 MB / 394.7 MB Notification: Performance of Templates: time 0.005392/0.4798, allocations: 1.947 MB / 0.5614 GB, free: 408 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches