Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 174.2 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 225.7 MB / 243.9 MB, free: 8.457 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008005/0.0008004, allocations: 92.91 kB / 295 MB, free: 9.484 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3616/0.3616, allocations: 44.31 MB / 390.5 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004264/0.0004265, allocations: 8 kB / 463.1 MB, free: 468 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3571, allocations: 61.9 MB / 0.5127 GB, free: 37.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002282/0.3595, allocations: 1.563 MB / 0.5143 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.361, allocations: 1.004 MB / 0.5152 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.107e-05/0.3611, allocations: 2.969 kB / 0.5153 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004432/0.3615, allocations: 219.9 kB / 0.5155 GB, free: 36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002866/0.3618, allocations: 151 kB / 0.5156 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003825/0.3622, allocations: 166.6 kB / 0.5158 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002629/0.3625, allocations: 222.6 kB / 0.516 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.3627, allocations: 30.33 kB / 0.516 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.3628, allocations: 107 kB / 0.5161 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.363, allocations: 143.5 kB / 0.5162 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.363, allocations: 2.406 kB / 0.5162 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.3631, allocations: 57.41 kB / 0.5163 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.693e-05/0.3632, allocations: 47.56 kB / 0.5163 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.114e-05/0.3633, allocations: 118.3 kB / 0.5165 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.3636, allocations: 219.9 kB / 0.5167 GB, free: 35.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.3636, allocations: 0.6094 kB / 0.5167 GB, free: 35.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.3636, allocations: 0 / 0.5167 GB, free: 35.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.3636, allocations: 0 / 0.5167 GB, free: 35.48 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006826/0.3643, allocations: 0.5122 MB / 0.5172 GB, free: 35.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.3643, allocations: 9.188 kB / 0.5172 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.527e-05/0.3644, allocations: 29.03 kB / 0.5172 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.3647, allocations: 278.8 kB / 0.5175 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.3648, allocations: 13.03 kB / 0.5175 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.3648, allocations: 10.45 kB / 0.5175 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.365, allocations: 106.1 kB / 0.5176 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.365, allocations: 4.641 kB / 0.5176 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.3651, allocations: 1.094 kB / 0.5176 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3651, allocations: 1.625 kB / 0.5176 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.3652, allocations: 46.09 kB / 0.5176 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004956/0.3657, allocations: 478.5 kB / 0.5181 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003497/0.3661, allocations: 115.4 kB / 0.5182 GB, free: 34.17 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.339e-05/0.3662, allocations: 50.33 kB / 0.5183 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.3662, allocations: 6.578 kB / 0.5183 GB, free: 34.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002764/0.3665, allocations: 119.7 kB / 0.5184 GB, free: 34.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.3665, allocations: 0 / 0.5184 GB, free: 34.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.001214/0.3677, allocations: 0.4959 MB / 0.5189 GB, free: 33.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.3678, allocations: 90.95 kB / 0.519 GB, free: 33.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003574/0.3681, allocations: 421.3 kB / 0.5194 GB, free: 33.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.3682, allocations: 35.61 kB / 0.5194 GB, free: 33.49 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.519e-05/0.3682, allocations: 153.4 kB / 0.5195 GB, free: 33.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.3683, allocations: 72.84 kB / 0.5196 GB, free: 33.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-06/0.3683, allocations: 4 kB / 0.5196 GB, free: 33.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.3684, allocations: 352.8 kB / 0.5199 GB, free: 32.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.3685, allocations: 53.11 kB / 0.52 GB, free: 32.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.3686, allocations: 93.58 kB / 0.5201 GB, free: 32.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.3689, allocations: 155.1 kB / 0.5202 GB, free: 32.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3689, allocations: 0 / 0.5202 GB, free: 32.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003224/0.3692, allocations: 236.7 kB / 0.5205 GB, free: 32.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3692, allocations: 9.688 kB / 0.5205 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3692, allocations: 3.094 kB / 0.5205 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.3693, allocations: 0 / 0.5205 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.3694, allocations: 41 kB / 0.5205 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3694, allocations: 2.938 kB / 0.5205 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.655e-05/0.3695, allocations: 13.69 kB / 0.5205 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.3695, allocations: 9.422 kB / 0.5205 GB, free: 32.67 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.3696, allocations: 170 kB / 0.5207 GB, free: 32.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.385e-05/0.3697, allocations: 38.47 kB / 0.5207 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.638e-05/0.3697, allocations: 36.34 kB / 0.5208 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3698, allocations: 6.062 kB / 0.5208 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.3698, allocations: 0 / 0.5208 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.3698, allocations: 3.125 kB / 0.5208 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006869/0.3705, allocations: 0.7223 MB / 0.5215 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3705, allocations: 3.938 kB / 0.5215 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-05/0.3706, allocations: 40.03 kB / 0.5215 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3706, allocations: 3.719 kB / 0.5215 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.3706, allocations: 2.938 kB / 0.5215 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.3706, allocations: 3.094 kB / 0.5215 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3706, allocations: 0 / 0.5215 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003349/0.3709, allocations: 429.1 kB / 0.5219 GB, free: 31.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/0.371, allocations: 107.5 kB / 0.522 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.371, allocations: 7.656 kB / 0.5221 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.3712, allocations: 12.83 kB / 0.5221 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.3712, allocations: 15.98 kB / 0.5221 GB, free: 31.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/0.3713, allocations: 20.22 kB / 0.5221 GB, free: 31.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002575/0.3715, allocations: 314.9 kB / 0.5224 GB, free: 31.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3715, allocations: 0 / 0.5224 GB, free: 31.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003216/0.3719, allocations: 49.47 kB / 0.5224 GB, free: 31.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001282/0.3732, allocations: 0.6109 MB / 0.523 GB, free: 30.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003187/0.3735, allocations: 153.1 kB / 0.5232 GB, free: 30.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3735, allocations: 4.125 kB / 0.5232 GB, free: 30.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.3736, allocations: 77.19 kB / 0.5233 GB, free: 30.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005665/0.3742, allocations: 63.55 kB / 0.5233 GB, free: 30.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007126/0.3749, allocations: 0.6112 MB / 0.5239 GB, free: 30.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.3751, allocations: 0.7691 MB / 0.5247 GB, free: 29.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.3752, allocations: 34.94 kB / 0.5247 GB, free: 29.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.667e-05/0.3753, allocations: 30.7 kB / 0.5247 GB, free: 29.77 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.3753, allocations: 4 kB / 0.5247 GB, free: 29.76 MB / 378.7 MB Notification: Performance of Templates: time 0.005461/0.3808, allocations: 2.93 MB / 0.5276 GB, free: 29.45 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches