Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009658/0.000966, allocations: 177.2 kB / 17.41 MB, free: 4.285 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.365/1.365, 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.0007627/0.0007628, allocations: 94.55 kB / 295.1 MB, free: 9.473 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.3639/0.3639, allocations: 44.32 MB / 390.5 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003162, allocations: 8 kB / 463.2 MB, free: 444 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3514, allocations: 61.9 MB / 0.5128 GB, free: 38.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.001451/0.3529, allocations: 1.36 MB / 0.5141 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009738/0.3539, allocations: 0.8758 MB / 0.5149 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.392e-05/0.354, allocations: 0 / 0.5149 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002549/0.3542, allocations: 62.16 kB / 0.515 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.3544, allocations: 53 kB / 0.515 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.3546, allocations: 100.9 kB / 0.5151 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000124/0.3547, allocations: 92.95 kB / 0.5152 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.306e-05/0.3548, allocations: 6.938 kB / 0.5152 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.592e-05/0.3549, allocations: 41.06 kB / 0.5153 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.987e-05/0.3549, allocations: 51.47 kB / 0.5153 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.355, allocations: 0 / 0.5153 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.858e-05/0.355, allocations: 24.72 kB / 0.5153 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.664e-05/0.3551, allocations: 19.14 kB / 0.5154 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.566e-05/0.3552, allocations: 57.17 kB / 0.5154 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.3553, allocations: 93.03 kB / 0.5155 GB, free: 36.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.3553, allocations: 0 / 0.5155 GB, free: 36.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.3553, allocations: 0 / 0.5155 GB, free: 36.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.3553, allocations: 4 kB / 0.5155 GB, free: 36.18 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003721/0.3557, allocations: 391.9 kB / 0.5159 GB, free: 35.78 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.3557, allocations: 8.875 kB / 0.5159 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.3558, allocations: 10.78 kB / 0.5159 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.3559, allocations: 209.4 kB / 0.5161 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.356, allocations: 384 / 0.5161 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.356, allocations: 4.125 kB / 0.5161 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.3561, allocations: 51.77 kB / 0.5162 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.3561, allocations: 4 kB / 0.5162 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.3561, allocations: 3.234 kB / 0.5162 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.3561, allocations: 0 / 0.5162 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.585e-05/0.3562, allocations: 13.03 kB / 0.5162 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001201/0.3563, allocations: 177.9 kB / 0.5163 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.3564, allocations: 54.56 kB / 0.5164 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.444e-05/0.3565, allocations: 28.92 kB / 0.5164 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.3565, allocations: 0 / 0.5164 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.3567, allocations: 61.75 kB / 0.5165 GB, free: 35.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3567, allocations: 3.938 kB / 0.5165 GB, free: 35.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002292/0.3569, allocations: 101.1 kB / 0.5166 GB, free: 35.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.357, allocations: 54.94 kB / 0.5166 GB, free: 35.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.3571, allocations: 176.6 kB / 0.5168 GB, free: 34.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/0.3571, allocations: 33.7 kB / 0.5168 GB, free: 34.92 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.949e-05/0.3571, allocations: 100.7 kB / 0.5169 GB, free: 34.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.3572, allocations: 13.73 kB / 0.5169 GB, free: 34.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.3572, allocations: 4 kB / 0.517 GB, free: 34.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.704e-05/0.3572, allocations: 320.8 kB / 0.5173 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.037e-05/0.3573, allocations: 12.66 kB / 0.5173 GB, free: 34.49 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.278e-05/0.3573, allocations: 32.33 kB / 0.5173 GB, free: 34.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.962e-05/0.3574, allocations: 47.02 kB / 0.5173 GB, free: 34.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3574, allocations: 2.781 kB / 0.5173 GB, free: 34.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001247/0.3575, allocations: 83.91 kB / 0.5174 GB, free: 34.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.3576, allocations: 5.5 kB / 0.5174 GB, free: 34.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3576, allocations: 0 / 0.5174 GB, free: 34.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.3576, allocations: 3.938 kB / 0.5174 GB, free: 34.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.606e-05/0.3577, allocations: 14.88 kB / 0.5175 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.3577, allocations: 320 / 0.5175 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.25e-05/0.3577, allocations: 11.55 kB / 0.5175 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.3577, allocations: 7.547 kB / 0.5175 GB, free: 34.36 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 (7): * Single equations (assignments): 7 * 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 6.871e-05/0.3578, allocations: 124.5 kB / 0.5176 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.3578, allocations: 10.17 kB / 0.5176 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.3579, allocations: 15.58 kB / 0.5176 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3579, allocations: 0.7969 kB / 0.5176 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.3579, allocations: 0 / 0.5176 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3579, allocations: 0 / 0.5176 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.571e-05/0.358, allocations: 185.7 kB / 0.5178 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.358, allocations: 4 kB / 0.5178 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.949e-05/0.358, allocations: 5.641 kB / 0.5178 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.358, allocations: 0 / 0.5178 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.358, allocations: 1.094 kB / 0.5178 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3581, allocations: 1.5 kB / 0.5178 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3581, allocations: 0 / 0.5178 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.3582, allocations: 112.5 kB / 0.5179 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.963e-05/0.3582, allocations: 93.62 kB / 0.518 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.3583, allocations: 9.188 kB / 0.518 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.681e-05/0.3583, allocations: 3.703 kB / 0.518 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.3584, allocations: 3.781 kB / 0.518 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.3584, allocations: 2.766 kB / 0.518 GB, free: 33.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.142e-05/0.3585, allocations: 148 kB / 0.5182 GB, free: 33.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3585, allocations: 0 / 0.5182 GB, free: 33.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001982/0.3587, allocations: 14.36 kB / 0.5182 GB, free: 33.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008558/0.3595, allocations: 467.4 kB / 0.5186 GB, free: 33.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001405/0.3597, allocations: 43.39 kB / 0.5187 GB, free: 33.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3597, allocations: 1 kB / 0.5187 GB, free: 33.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.553e-05/0.3598, allocations: 17.72 kB / 0.5187 GB, free: 33.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.36, allocations: 34.28 kB / 0.5187 GB, free: 33.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003397/0.3604, allocations: 218.2 kB / 0.5189 GB, free: 33.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.3605, allocations: 0.6979 MB / 0.5196 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.507e-05/0.3606, allocations: 14.61 kB / 0.5196 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.3606, allocations: 17.06 kB / 0.5196 GB, free: 32.53 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3606, allocations: 0 / 0.5196 GB, free: 32.53 MB / 378.7 MB Notification: Performance of Templates: time 0.003428/0.364, allocations: 1.4 MB / 0.521 GB, free: 32.36 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches