Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, 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.35/1.35, allocations: 225.7 MB / 243.9 MB, free: 8.461 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.0008547/0.0008547, allocations: 88.91 kB / 295 MB, free: 9.52 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.3719/0.3719, allocations: 44.33 MB / 390.5 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003086/0.0003088, allocations: 8 kB / 463.1 MB, free: 484 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3573, allocations: 61.9 MB / 0.5127 GB, free: 38.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002148/0.3595, allocations: 1.401 MB / 0.5141 GB, free: 37.03 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00215/0.3617, allocations: 1.555 MB / 0.5156 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.958e-05/0.3618, allocations: 1 kB / 0.5156 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000347/0.3622, allocations: 29.34 kB / 0.5157 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.3624, allocations: 56.53 kB / 0.5157 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.3628, allocations: 97.75 kB / 0.5158 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.363, allocations: 97.72 kB / 0.5159 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.3631, allocations: 17.3 kB / 0.5159 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.547e-05/0.3632, allocations: 43.14 kB / 0.516 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.3634, allocations: 38.03 kB / 0.516 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.3634, allocations: 2.906 kB / 0.516 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.3636, allocations: 54.61 kB / 0.516 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.223e-05/0.3636, allocations: 12.86 kB / 0.5161 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.358e-05/0.3637, allocations: 61.77 kB / 0.5161 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.364, allocations: 124.6 kB / 0.5162 GB, free: 35.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.364, allocations: 0 / 0.5162 GB, free: 35.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.364, allocations: 0 / 0.5162 GB, free: 35.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.364, allocations: 4 kB / 0.5162 GB, free: 35.54 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005373/0.3645, allocations: 404.6 kB / 0.5166 GB, free: 35.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.3646, allocations: 11.12 kB / 0.5166 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.83e-05/0.3647, allocations: 11.53 kB / 0.5166 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.3649, allocations: 206.2 kB / 0.5168 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.3649, allocations: 3.938 kB / 0.5169 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.365, allocations: 6.625 kB / 0.5169 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.3652, allocations: 85.12 kB / 0.5169 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.3652, allocations: 0 / 0.5169 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.3652, allocations: 0 / 0.5169 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3652, allocations: 0 / 0.5169 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.3653, allocations: 30.69 kB / 0.517 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.3657, allocations: 296.2 kB / 0.5172 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.3659, allocations: 70.23 kB / 0.5173 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.491e-05/0.366, allocations: 27.8 kB / 0.5173 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.3661, allocations: 0 / 0.5173 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002104/0.3663, allocations: 69.69 kB / 0.5174 GB, free: 34.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.3663, allocations: 0 / 0.5174 GB, free: 34.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006843/0.367, allocations: 202.8 kB / 0.5176 GB, free: 34.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.367, allocations: 83.39 kB / 0.5177 GB, free: 34.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.3672, allocations: 162.3 kB / 0.5178 GB, free: 34.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.3672, allocations: 28.52 kB / 0.5179 GB, free: 34.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.235e-05/0.3673, allocations: 98.3 kB / 0.518 GB, free: 33.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.3673, allocations: 28.12 kB / 0.518 GB, free: 33.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-06/0.3673, allocations: 0 / 0.518 GB, free: 33.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.638e-05/0.3674, allocations: 324.5 kB / 0.5183 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.891e-05/0.3675, allocations: 32.11 kB / 0.5183 GB, free: 33.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.682e-05/0.3676, allocations: 47.78 kB / 0.5184 GB, free: 33.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.3678, allocations: 66.56 kB / 0.5184 GB, free: 33.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.3678, allocations: 0 / 0.5184 GB, free: 33.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002522/0.368, allocations: 112.1 kB / 0.5185 GB, free: 33.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.3681, allocations: 5.594 kB / 0.5185 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3681, allocations: 4 kB / 0.5185 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3681, allocations: 9.969 kB / 0.5186 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.3682, allocations: 18 kB / 0.5186 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3682, allocations: 0.9062 kB / 0.5186 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.311e-05/0.3683, allocations: 2.062 kB / 0.5186 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.3683, allocations: 8.375 kB / 0.5186 GB, free: 33.47 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.156e-05/0.3684, allocations: 123.2 kB / 0.5187 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.3685, allocations: 13.81 kB / 0.5187 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.576e-05/0.3685, allocations: 19.88 kB / 0.5187 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3686, allocations: 5.156 kB / 0.5187 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.3686, allocations: 0 / 0.5187 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3686, allocations: 1.125 kB / 0.5187 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004998/0.3691, allocations: 409.7 kB / 0.5191 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.3691, allocations: 0 / 0.5191 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.474e-05/0.3692, allocations: 20.88 kB / 0.5192 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3692, allocations: 5.188 kB / 0.5192 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.3692, allocations: 1.562 kB / 0.5192 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3692, allocations: 5.562 kB / 0.5192 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3692, allocations: 3.938 kB / 0.5192 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.3695, allocations: 213 kB / 0.5194 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.938e-05/0.3695, allocations: 93.09 kB / 0.5195 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.3696, allocations: 2.781 kB / 0.5195 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.3697, allocations: 8.266 kB / 0.5195 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.3698, allocations: 13.33 kB / 0.5195 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.3698, allocations: 5.062 kB / 0.5195 GB, free: 32.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001066/0.3699, allocations: 121 kB / 0.5196 GB, free: 32.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3699, allocations: 0 / 0.5196 GB, free: 32.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003828/0.3703, allocations: 31.78 kB / 0.5196 GB, free: 32.57 MB / 378.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) * Number of clocked states: 0 () * 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 (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.001524/0.3718, allocations: 0.5637 MB / 0.5202 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002575/0.3721, allocations: 74.55 kB / 0.5203 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3721, allocations: 4.062 kB / 0.5203 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.3722, allocations: 35.7 kB / 0.5203 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/0.3727, allocations: 31.56 kB / 0.5203 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004886/0.3732, allocations: 235.7 kB / 0.5205 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.3734, allocations: 0.7012 MB / 0.5212 GB, free: 31.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.371e-05/0.3735, allocations: 19.47 kB / 0.5213 GB, free: 31.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.549e-05/0.3735, allocations: 26.42 kB / 0.5213 GB, free: 31.29 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.3735, allocations: 7.938 kB / 0.5213 GB, free: 31.28 MB / 378.7 MB Notification: Performance of Templates: time 0.006649/0.3802, allocations: 1.952 MB / 0.5232 GB, free: 31.07 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches