Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001675/0.001675, 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.319/1.319, 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.0009286/0.0009287, allocations: 94.59 kB / 295.1 MB, free: 9.504 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.3052/0.3052, allocations: 44.33 MB / 390.5 MB, free: 38.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003998/0.0004001, allocations: 12 kB / 463.2 MB, free: 468 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.355, allocations: 61.9 MB / 0.5127 GB, free: 37.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.001813/0.3569, allocations: 1.401 MB / 0.5141 GB, free: 36.92 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.358, allocations: 0.8933 MB / 0.515 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.69e-05/0.358, allocations: 0 / 0.515 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.3583, allocations: 40.31 kB / 0.515 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.3585, allocations: 50.08 kB / 0.5151 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.3587, allocations: 89.95 kB / 0.5152 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.3589, allocations: 91.22 kB / 0.5152 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.359, allocations: 8.703 kB / 0.5153 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.772e-05/0.3591, allocations: 40.84 kB / 0.5153 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.395e-05/0.3592, allocations: 31.3 kB / 0.5153 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.3592, allocations: 4 kB / 0.5153 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.36e-05/0.3593, allocations: 36.41 kB / 0.5154 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.643e-05/0.3594, allocations: 20.66 kB / 0.5154 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.524e-05/0.3594, allocations: 52.94 kB / 0.5154 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.3596, allocations: 106.8 kB / 0.5155 GB, free: 35.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3596, allocations: 0 / 0.5155 GB, free: 35.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3596, allocations: 0 / 0.5155 GB, free: 35.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.3596, allocations: 0 / 0.5155 GB, free: 35.98 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004146/0.36, allocations: 395.4 kB / 0.5159 GB, free: 35.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.3601, allocations: 12.69 kB / 0.5159 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.3601, allocations: 16.16 kB / 0.5159 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.3603, allocations: 201.5 kB / 0.5161 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.3603, allocations: 3.094 kB / 0.5161 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.3604, allocations: 4.125 kB / 0.5161 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.3605, allocations: 53.7 kB / 0.5162 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3605, allocations: 0 / 0.5162 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.3605, allocations: 3.234 kB / 0.5162 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3605, allocations: 3.094 kB / 0.5162 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.352e-05/0.3606, allocations: 23.81 kB / 0.5162 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002764/0.3609, allocations: 285.7 kB / 0.5165 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.3611, allocations: 54.78 kB / 0.5165 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.613e-05/0.3611, allocations: 20.31 kB / 0.5166 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.3611, allocations: 3.984 kB / 0.5166 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.3613, allocations: 78.92 kB / 0.5166 GB, free: 34.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.3613, allocations: 0 / 0.5166 GB, free: 34.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004701/0.3618, allocations: 169.8 kB / 0.5168 GB, free: 34.81 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.3618, allocations: 54.73 kB / 0.5169 GB, free: 34.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.362, allocations: 172 kB / 0.517 GB, free: 34.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.362, allocations: 32.98 kB / 0.517 GB, free: 34.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.6e-05/0.362, allocations: 99.61 kB / 0.5171 GB, free: 34.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.362, allocations: 23.86 kB / 0.5172 GB, free: 34.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.362, allocations: 4 kB / 0.5172 GB, free: 34.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.067e-05/0.3621, allocations: 324.6 kB / 0.5175 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.955e-05/0.3622, allocations: 22.23 kB / 0.5175 GB, free: 34.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.777e-05/0.3622, allocations: 34.27 kB / 0.5175 GB, free: 34.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.588e-05/0.3623, allocations: 61.59 kB / 0.5176 GB, free: 34.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3623, allocations: 0 / 0.5176 GB, free: 34.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00015/0.3625, allocations: 103.4 kB / 0.5177 GB, free: 34.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.3625, allocations: 3.062 kB / 0.5177 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3625, allocations: 3.469 kB / 0.5177 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.3625, allocations: 0 / 0.5177 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-05/0.3626, allocations: 19.12 kB / 0.5177 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3626, allocations: 7 kB / 0.5177 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.395e-05/0.3627, allocations: 10.75 kB / 0.5177 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.3627, allocations: 10.89 kB / 0.5177 GB, free: 34 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 (10): * Single equations (assignments): 10 * 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 7.2e-05/0.3628, allocations: 127.5 kB / 0.5179 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/0.3628, allocations: 9.906 kB / 0.5179 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.125e-05/0.3628, allocations: 11.69 kB / 0.5179 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3629, allocations: 2.906 kB / 0.5179 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.3629, allocations: 0 / 0.5179 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3629, allocations: 7.172 kB / 0.5179 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003324/0.3632, allocations: 388.3 kB / 0.5183 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3632, allocations: 1 kB / 0.5183 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.359e-05/0.3633, allocations: 11.02 kB / 0.5183 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.3633, allocations: 4.875 kB / 0.5183 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.3633, allocations: 5.094 kB / 0.5183 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3633, allocations: 1.188 kB / 0.5183 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3633, allocations: 1.25 kB / 0.5183 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.3635, allocations: 200.9 kB / 0.5185 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.771e-05/0.3635, allocations: 88.98 kB / 0.5186 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.3635, allocations: 8.5 kB / 0.5186 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.775e-05/0.3636, allocations: 7.344 kB / 0.5186 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.3637, allocations: 7.031 kB / 0.5186 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.3637, allocations: 3.688 kB / 0.5186 GB, free: 33.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.526e-05/0.3638, allocations: 132.7 kB / 0.5187 GB, free: 33.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3638, allocations: 0 / 0.5187 GB, free: 33.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002266/0.364, allocations: 19.83 kB / 0.5187 GB, free: 33.13 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 (8): * Single equations (assignments): 6 * 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.0009868/0.365, allocations: 0.5381 MB / 0.5193 GB, free: 32.81 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001655/0.3652, allocations: 55.89 kB / 0.5193 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3652, allocations: 0 / 0.5193 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.835e-05/0.3653, allocations: 33.27 kB / 0.5193 GB, free: 32.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.3656, allocations: 27.2 kB / 0.5194 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003717/0.366, allocations: 230.5 kB / 0.5196 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.3661, allocations: 0.6974 MB / 0.5203 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.356e-05/0.3662, allocations: 17.53 kB / 0.5203 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.3662, allocations: 15.44 kB / 0.5203 GB, free: 31.88 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.3662, allocations: 3.938 kB / 0.5203 GB, free: 31.88 MB / 378.7 MB Notification: Performance of Templates: time 0.003953/0.3702, allocations: 1.617 MB / 0.5219 GB, free: 31.7 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches