Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 174.7 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.384/1.384, allocations: 225.7 MB / 243.9 MB, free: 8.445 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.0008131/0.0008132, allocations: 90.81 kB / 295.1 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.3833/0.3833, allocations: 44.32 MB / 390.5 MB, free: 38.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003252/0.0003252, allocations: 11.98 kB / 463.2 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.357, allocations: 61.9 MB / 0.5127 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.001694/0.3587, allocations: 1.399 MB / 0.5141 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.3598, allocations: 0.8931 MB / 0.515 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.428e-05/0.3599, allocations: 3.938 kB / 0.515 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002813/0.3602, allocations: 39.53 kB / 0.515 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.3604, allocations: 44.39 kB / 0.5151 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.3606, allocations: 99.41 kB / 0.5152 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.3608, allocations: 94.55 kB / 0.5153 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.613e-05/0.3609, allocations: 13.77 kB / 0.5153 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.252e-05/0.3609, allocations: 39.08 kB / 0.5153 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.825e-05/0.361, allocations: 29.81 kB / 0.5153 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.361, allocations: 0 / 0.5153 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.338e-05/0.3611, allocations: 43.83 kB / 0.5154 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.098e-05/0.3612, allocations: 19.36 kB / 0.5154 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.141e-05/0.3612, allocations: 54.5 kB / 0.5154 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.3614, allocations: 101.5 kB / 0.5155 GB, free: 35.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3614, allocations: 3.938 kB / 0.5155 GB, free: 35.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3614, allocations: 3.234 kB / 0.5155 GB, free: 35.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.3614, allocations: 0 / 0.5155 GB, free: 35.93 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.0004401/0.3619, allocations: 394.5 kB / 0.5159 GB, free: 35.53 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.3619, allocations: 8.312 kB / 0.5159 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.362, allocations: 14.17 kB / 0.5159 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.3622, allocations: 217.1 kB / 0.5162 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.3622, allocations: 384 / 0.5162 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.3622, allocations: 6.688 kB / 0.5162 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.3623, allocations: 51.11 kB / 0.5162 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3624, allocations: 2.688 kB / 0.5162 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.3624, allocations: 3.188 kB / 0.5162 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3624, allocations: 4 kB / 0.5162 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.498e-05/0.3625, allocations: 17.86 kB / 0.5162 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/0.3628, allocations: 290 kB / 0.5165 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.3629, allocations: 57.23 kB / 0.5166 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.504e-05/0.363, allocations: 20.47 kB / 0.5166 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.363, allocations: 4 kB / 0.5166 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.3632, allocations: 67.7 kB / 0.5167 GB, free: 34.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.3632, allocations: 0 / 0.5167 GB, free: 34.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004773/0.3636, allocations: 168.7 kB / 0.5168 GB, free: 34.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.3637, allocations: 66.34 kB / 0.5169 GB, free: 34.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.3638, allocations: 173.9 kB / 0.517 GB, free: 34.58 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.3638, allocations: 39.64 kB / 0.5171 GB, free: 34.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.433e-05/0.3639, allocations: 95.02 kB / 0.5172 GB, free: 34.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.3639, allocations: 32.78 kB / 0.5172 GB, free: 34.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.3639, allocations: 0 / 0.5172 GB, free: 34.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.299e-05/0.364, allocations: 324.8 kB / 0.5175 GB, free: 34.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.156e-05/0.364, allocations: 22.7 kB / 0.5175 GB, free: 34.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.216e-05/0.3641, allocations: 39.67 kB / 0.5176 GB, free: 34.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.571e-05/0.3642, allocations: 64.28 kB / 0.5176 GB, free: 34.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.3642, allocations: 0 / 0.5176 GB, free: 34.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001424/0.3643, allocations: 93.72 kB / 0.5177 GB, free: 33.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.3644, allocations: 5.938 kB / 0.5177 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3644, allocations: 0 / 0.5177 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.3644, allocations: 2.906 kB / 0.5177 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.482e-05/0.3645, allocations: 22.91 kB / 0.5178 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.3645, allocations: 0 / 0.5178 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.402e-05/0.3645, allocations: 15 kB / 0.5178 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.3646, allocations: 2.969 kB / 0.5178 GB, free: 33.95 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.586e-05/0.3646, allocations: 125 kB / 0.5179 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.3647, allocations: 13.84 kB / 0.5179 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.011e-05/0.3647, allocations: 17.95 kB / 0.5179 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.3647, allocations: 0 / 0.5179 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3647, allocations: 0 / 0.5179 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3647, allocations: 3.938 kB / 0.5179 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003231/0.3651, allocations: 391.2 kB / 0.5183 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3651, allocations: 1.594 kB / 0.5183 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.325e-05/0.3651, allocations: 10.39 kB / 0.5183 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3651, allocations: 1.219 kB / 0.5183 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.3651, allocations: 12.98 kB / 0.5183 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.3651, allocations: 1.188 kB / 0.5183 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3651, allocations: 5.094 kB / 0.5183 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.3654, allocations: 200.8 kB / 0.5185 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.3654, allocations: 96.12 kB / 0.5186 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.3655, allocations: 5.938 kB / 0.5186 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.831e-05/0.3655, allocations: 1.781 kB / 0.5186 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.3656, allocations: 10.78 kB / 0.5186 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.3656, allocations: 8 kB / 0.5186 GB, free: 33.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001066/0.3657, allocations: 141 kB / 0.5188 GB, free: 33.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3657, allocations: 4 kB / 0.5188 GB, free: 33.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000232/0.366, allocations: 23.86 kB / 0.5188 GB, free: 33.06 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.001122/0.3671, allocations: 0.5177 MB / 0.5193 GB, free: 32.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.3673, allocations: 64.33 kB / 0.5194 GB, free: 32.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3673, allocations: 0 / 0.5194 GB, free: 32.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.15e-05/0.3674, allocations: 33.05 kB / 0.5194 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.3677, allocations: 31.94 kB / 0.5194 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004652/0.3682, allocations: 244.5 kB / 0.5197 GB, free: 32.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001808/0.3684, allocations: 0.6988 MB / 0.5203 GB, free: 31.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.882e-05/0.3684, allocations: 13.16 kB / 0.5204 GB, free: 31.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.843e-05/0.3685, allocations: 25.19 kB / 0.5204 GB, free: 31.81 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3685, allocations: 0 / 0.5204 GB, free: 31.81 MB / 378.7 MB Notification: Performance of Templates: time 0.00429/0.3728, allocations: 1.629 MB / 0.522 GB, free: 31.62 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches