Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00129/0.00129, allocations: 189 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.066/1.066, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008267/0.0008266, allocations: 83.12 kB / 261.4 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1565/0.1565, allocations: 43.48 MB / 352.8 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.846e-06/8.956e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.242, allocations: 58.83 MB / 476.6 MB, free: 5.305 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.11/0.352, allocations: 87.17 MB / 0.5505 GB, free: 11.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001623/0.3522, allocations: 75.25 kB / 0.5506 GB, free: 11.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01866/0.3709, allocations: 7.395 MB / 0.5578 GB, free: 4.379 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.3709, allocations: 4 kB / 0.5578 GB, free: 4.375 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.0003809/0.3713, allocations: 422.1 kB / 0.5582 GB, free: 3.918 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.807e-05/0.3713, allocations: 8.031 kB / 0.5582 GB, free: 3.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.3714, allocations: 7.906 kB / 0.5582 GB, free: 3.902 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.3716, allocations: 202.2 kB / 0.5584 GB, free: 3.668 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.3716, allocations: 7.984 kB / 0.5584 GB, free: 3.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.3717, allocations: 4 kB / 0.5584 GB, free: 3.656 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.47e-05/0.3717, allocations: 27.84 kB / 0.5585 GB, free: 3.629 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.018e-05/0.3718, allocations: 63.39 kB / 0.5585 GB, free: 3.555 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.3718, allocations: 0 / 0.5585 GB, free: 3.555 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.3719, allocations: 0 / 0.5585 GB, free: 3.555 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3719, allocations: 4 kB / 0.5585 GB, free: 3.551 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002737/0.3722, allocations: 265.4 kB / 0.5588 GB, free: 3.254 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.806e-05/0.3722, allocations: 54.62 kB / 0.5588 GB, free: 3.191 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.145e-05/0.3723, allocations: 16.98 kB / 0.5588 GB, free: 3.172 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.3723, allocations: 0 / 0.5588 GB, free: 3.172 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.599e-05/0.3724, allocations: 63.39 kB / 0.5589 GB, free: 3.098 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.3724, allocations: 0 / 0.5589 GB, free: 3.098 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003252/0.3727, allocations: 125.3 kB / 0.559 GB, free: 2.969 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.3728, allocations: 85.02 kB / 0.5591 GB, free: 2.867 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.3729, allocations: 137 kB / 0.5592 GB, free: 2.727 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.3729, allocations: 25.7 kB / 0.5593 GB, free: 2.695 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.441e-05/0.3729, allocations: 92.12 kB / 0.5594 GB, free: 2.602 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.373, allocations: 23.66 kB / 0.5594 GB, free: 2.578 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.373, allocations: 3.938 kB / 0.5594 GB, free: 2.574 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.211e-05/0.3731, allocations: 318.8 kB / 0.5597 GB, free: 2.254 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.147e-05/0.3731, allocations: 20 kB / 0.5597 GB, free: 2.234 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.208e-05/0.3732, allocations: 46.5 kB / 0.5597 GB, free: 2.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.126e-05/0.3732, allocations: 23.98 kB / 0.5598 GB, free: 2.156 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.3732, allocations: 0 / 0.5598 GB, free: 2.156 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001262/0.3733, allocations: 89.52 kB / 0.5599 GB, free: 2.062 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.3734, allocations: 8 kB / 0.5599 GB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.3734, allocations: 0 / 0.5599 GB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.3734, allocations: 3.906 kB / 0.5599 GB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.3735, allocations: 15.98 kB / 0.5599 GB, free: 2.035 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.3735, allocations: 8.062 kB / 0.5599 GB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.485e-05/0.3735, allocations: 0 / 0.5599 GB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.617e-06/0.3735, allocations: 4 kB / 0.5599 GB, free: 2.023 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 6.698e-05/0.3736, allocations: 112.9 kB / 0.56 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.809e-05/0.3736, allocations: 7.906 kB / 0.56 GB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001717/0.3738, allocations: 102 kB / 0.5601 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3738, allocations: 4 kB / 0.5601 GB, free: 1.785 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3738, allocations: 0 / 0.5601 GB, free: 1.785 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3738, allocations: 4 kB / 0.5601 GB, free: 1.781 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003271/0.3742, allocations: 355.9 kB / 0.5605 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3742, allocations: 0 / 0.5605 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.242e-05/0.3742, allocations: 20.11 kB / 0.5605 GB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3742, allocations: 0 / 0.5605 GB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.3743, allocations: 8 kB / 0.5605 GB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3743, allocations: 0 / 0.5605 GB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3743, allocations: 0 / 0.5605 GB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001847/0.3745, allocations: 210.1 kB / 0.5607 GB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.993e-05/0.3745, allocations: 89.36 kB / 0.5608 GB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.3745, allocations: 4 kB / 0.5608 GB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.937e-05/0.3746, allocations: 4 kB / 0.5608 GB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.842e-05/0.3747, allocations: 11.89 kB / 0.5608 GB, free: 1.004 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.3747, allocations: 11.94 kB / 0.5608 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.87e-05/0.3748, allocations: 114.4 kB / 0.5609 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002479/0.375, allocations: 43.88 kB / 0.5609 GB, free: 0.8398 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.0006375/0.3757, allocations: 390.6 kB / 0.5613 GB, free: 0.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001076/0.3758, allocations: 51.98 kB / 0.5614 GB, free: 460 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3758, allocations: 0 / 0.5614 GB, free: 460 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.272e-05/0.3758, allocations: 35.92 kB / 0.5614 GB, free: 424 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.3761, allocations: 23.84 kB / 0.5614 GB, free: 400 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00027/0.3763, allocations: 128.8 kB / 0.5615 GB, free: 236 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002517/0.3766, allocations: 0.7231 MB / 0.5623 GB, free: 15.48 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3766, allocations: 3.938 kB / 0.5623 GB, free: 15.48 MB / 410.7 MB Notification: Performance of Templates: time 0.003633/0.3803, allocations: 1.831 MB / 0.564 GB, free: 13.66 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches