Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.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.001661/0.001661, allocations: 170.2 kB / 8.147 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.816/1.816, 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.00124/0.00124, allocations: 90.61 kB / 261.8 MB, free: 13.63 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.2576/0.2576, allocations: 43.49 MB / 353.2 MB, free: 2.047 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.201e-05/1.212e-05, allocations: 4 kB / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2925, allocations: 58.85 MB / 476.6 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1613/0.4538, allocations: 87.87 MB / 0.5512 GB, free: 11.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.4542, allocations: 71.91 kB / 0.5513 GB, free: 11.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01865/0.4728, allocations: 3.878 MB / 0.5551 GB, free: 7.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.047e-05/0.4729, allocations: 0 / 0.5551 GB, free: 7.25 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007681/0.4737, allocations: 467.8 kB / 0.5555 GB, free: 6.742 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.4738, allocations: 8.031 kB / 0.5555 GB, free: 6.734 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.802e-05/0.4738, allocations: 19.8 kB / 0.5555 GB, free: 6.715 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000503/0.4743, allocations: 234.7 kB / 0.5558 GB, free: 6.445 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.4744, allocations: 0 / 0.5558 GB, free: 6.445 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.4744, allocations: 7.906 kB / 0.5558 GB, free: 6.438 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001543/0.4746, allocations: 31.98 kB / 0.5558 GB, free: 6.406 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.4748, allocations: 100.2 kB / 0.5559 GB, free: 6.293 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.4749, allocations: 0 / 0.5559 GB, free: 6.293 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.4749, allocations: 3.938 kB / 0.5559 GB, free: 6.289 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.4749, allocations: 0 / 0.5559 GB, free: 6.289 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008131/0.4757, allocations: 497.5 kB / 0.5564 GB, free: 5.758 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003342/0.4761, allocations: 70.62 kB / 0.5564 GB, free: 5.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.4762, allocations: 40.84 kB / 0.5565 GB, free: 5.637 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.4762, allocations: 0 / 0.5565 GB, free: 5.637 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.4764, allocations: 67.39 kB / 0.5565 GB, free: 5.559 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.933e-06/0.4764, allocations: 0 / 0.5565 GB, free: 5.559 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003376/0.4768, allocations: 93.44 kB / 0.5566 GB, free: 5.461 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.4768, allocations: 55.39 kB / 0.5567 GB, free: 5.395 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.4771, allocations: 166.7 kB / 0.5568 GB, free: 5.219 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.4771, allocations: 29.7 kB / 0.5569 GB, free: 5.184 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.847e-05/0.4772, allocations: 162.4 kB / 0.557 GB, free: 5.023 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.483e-05/0.4773, allocations: 31.8 kB / 0.557 GB, free: 4.992 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-06/0.4773, allocations: 0 / 0.557 GB, free: 4.992 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.4775, allocations: 310.8 kB / 0.5573 GB, free: 4.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.695e-05/0.4775, allocations: 27.92 kB / 0.5574 GB, free: 4.652 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.4777, allocations: 54.55 kB / 0.5574 GB, free: 4.586 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.4778, allocations: 39.95 kB / 0.5575 GB, free: 4.547 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4778, allocations: 0 / 0.5575 GB, free: 4.547 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002923/0.4781, allocations: 109.5 kB / 0.5576 GB, free: 4.434 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.4781, allocations: 4 kB / 0.5576 GB, free: 4.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.4781, allocations: 0 / 0.5576 GB, free: 4.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.4782, allocations: 4.125 kB / 0.5576 GB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.4784, allocations: 27.98 kB / 0.5576 GB, free: 4.398 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.4784, allocations: 0 / 0.5576 GB, free: 4.398 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.4785, allocations: 15.84 kB / 0.5576 GB, free: 4.383 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.4786, allocations: 4 kB / 0.5576 GB, free: 4.379 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.183e-05/0.4786, allocations: 33.75 kB / 0.5577 GB, free: 4.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-05/0.4787, allocations: 15.81 kB / 0.5577 GB, free: 4.324 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003153/0.479, allocations: 111 kB / 0.5578 GB, free: 4.207 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.4791, allocations: 0 / 0.5578 GB, free: 4.207 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4791, allocations: 0 / 0.5578 GB, free: 4.207 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4791, allocations: 0 / 0.5578 GB, free: 4.207 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.4793, allocations: 194.1 kB / 0.558 GB, free: 3.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4793, allocations: 0 / 0.558 GB, free: 3.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.4795, allocations: 15.98 kB / 0.558 GB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.4795, allocations: 0 / 0.558 GB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.4796, allocations: 8 kB / 0.558 GB, free: 3.957 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.4796, allocations: 3.906 kB / 0.558 GB, free: 3.953 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.4796, allocations: 4 kB / 0.558 GB, free: 3.949 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004052/0.48, allocations: 157 kB / 0.5581 GB, free: 3.777 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.777e-05/0.4801, allocations: 96.91 kB / 0.5582 GB, free: 3.664 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/0.4802, allocations: 4 kB / 0.5582 GB, free: 3.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.4803, allocations: 7.984 kB / 0.5582 GB, free: 3.652 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.4804, allocations: 8.062 kB / 0.5583 GB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.4804, allocations: 3.984 kB / 0.5583 GB, free: 3.641 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001712/0.4806, allocations: 136.1 kB / 0.5584 GB, free: 3.508 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003111/0.4809, allocations: 32.06 kB / 0.5584 GB, free: 3.477 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0009257/0.4818, allocations: 323.8 kB / 0.5587 GB, free: 3.188 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002527/0.4821, allocations: 72.06 kB / 0.5588 GB, free: 3.117 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.4821, allocations: 4.062 kB / 0.5588 GB, free: 3.113 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.4822, allocations: 39.92 kB / 0.5588 GB, free: 3.074 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.4827, allocations: 24.08 kB / 0.5589 GB, free: 3.047 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007019/0.4834, allocations: 201.4 kB / 0.559 GB, free: 2.816 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000519/0.4839, allocations: 0.743 MB / 0.5598 GB, free: 2.047 MB / 394.7 MB Notification: Performance of SimCode: time 1.112e-06/0.4839, allocations: 4 kB / 0.5598 GB, free: 2.043 MB / 394.7 MB Notification: Performance of Templates: time 0.00622/0.4902, allocations: 2.171 MB / 0.5619 GB, free: 15.88 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches