Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.001459, 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.355/1.355, allocations: 225.7 MB / 243.9 MB, free: 8.465 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.0007973/0.0007975, allocations: 97.16 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.3527/0.3527, allocations: 44.31 MB / 390.5 MB, free: 38.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003355, allocations: 15.94 kB / 463.2 MB, free: 480 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3483, allocations: 61.9 MB / 0.5128 GB, free: 37.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.001684/0.3501, allocations: 1.362 MB / 0.5141 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.3511, allocations: 0.8713 MB / 0.5149 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.417e-05/0.3512, allocations: 4 kB / 0.5149 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002906/0.3515, allocations: 75.7 kB / 0.515 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001674/0.3517, allocations: 73.81 kB / 0.5151 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.3519, allocations: 92.31 kB / 0.5152 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.3521, allocations: 96.62 kB / 0.5153 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.707e-05/0.3521, allocations: 2.688 kB / 0.5153 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.994e-05/0.3522, allocations: 51.89 kB / 0.5153 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.824e-05/0.3523, allocations: 53.2 kB / 0.5154 GB, free: 36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.3523, allocations: 3.062 kB / 0.5154 GB, free: 36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.632e-05/0.3524, allocations: 25.72 kB / 0.5154 GB, free: 36 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.962e-05/0.3524, allocations: 24.08 kB / 0.5154 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.724e-05/0.3525, allocations: 51.27 kB / 0.5155 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.3526, allocations: 103.3 kB / 0.5156 GB, free: 35.9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3527, allocations: 0 / 0.5156 GB, free: 35.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3527, allocations: 0 / 0.5156 GB, free: 35.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.3527, allocations: 0 / 0.5156 GB, free: 35.9 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.0004169/0.3531, allocations: 399.5 kB / 0.5159 GB, free: 35.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.3531, allocations: 11.25 kB / 0.516 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.3532, allocations: 11.66 kB / 0.516 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.3534, allocations: 213.9 kB / 0.5162 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.3534, allocations: 3.25 kB / 0.5162 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.3534, allocations: 4.125 kB / 0.5162 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.3535, allocations: 46.56 kB / 0.5162 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.3535, allocations: 0 / 0.5162 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.3536, allocations: 4 kB / 0.5162 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.3536, allocations: 2.875 kB / 0.5162 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.631e-05/0.3536, allocations: 13.61 kB / 0.5162 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001383/0.3538, allocations: 190.1 kB / 0.5164 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.3539, allocations: 49.77 kB / 0.5165 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.321e-05/0.354, allocations: 21.64 kB / 0.5165 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.354, allocations: 8 kB / 0.5165 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001529/0.3542, allocations: 67.5 kB / 0.5166 GB, free: 34.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.3542, allocations: 0 / 0.5166 GB, free: 34.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002254/0.3544, allocations: 100 kB / 0.5167 GB, free: 34.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.156e-05/0.3544, allocations: 51.41 kB / 0.5167 GB, free: 34.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.3546, allocations: 206.6 kB / 0.5169 GB, free: 34.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.216e-06/0.3546, allocations: 33.7 kB / 0.5169 GB, free: 34.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.329e-05/0.3546, allocations: 101.1 kB / 0.517 GB, free: 34.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.3547, allocations: 13.97 kB / 0.517 GB, free: 34.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.3547, allocations: 0 / 0.517 GB, free: 34.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.159e-05/0.3547, allocations: 324.8 kB / 0.5174 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.126e-05/0.3548, allocations: 15.39 kB / 0.5174 GB, free: 34.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.2e-05/0.3548, allocations: 26.25 kB / 0.5174 GB, free: 34.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.349e-05/0.3549, allocations: 51.25 kB / 0.5174 GB, free: 34.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3549, allocations: 0 / 0.5174 GB, free: 34.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001271/0.355, allocations: 89.8 kB / 0.5175 GB, free: 34.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.3551, allocations: 5.438 kB / 0.5175 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.3551, allocations: 4.062 kB / 0.5175 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.3551, allocations: 1.281 kB / 0.5175 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.758e-05/0.3552, allocations: 15.53 kB / 0.5176 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.3552, allocations: 1.094 kB / 0.5176 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.311e-05/0.3552, allocations: 6.906 kB / 0.5176 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.3552, allocations: 2.156 kB / 0.5176 GB, free: 34.06 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 7.279e-05/0.3553, allocations: 132 kB / 0.5177 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.3553, allocations: 14.06 kB / 0.5177 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.386e-05/0.3554, allocations: 16.45 kB / 0.5177 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.3554, allocations: 1.312 kB / 0.5177 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3554, allocations: 0 / 0.5177 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3554, allocations: 1.438 kB / 0.5177 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.449e-05/0.3555, allocations: 191.4 kB / 0.5179 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3555, allocations: 0 / 0.5179 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.765e-05/0.3555, allocations: 7.844 kB / 0.5179 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3555, allocations: 1.219 kB / 0.5179 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.3555, allocations: 7.266 kB / 0.5179 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3556, allocations: 1.438 kB / 0.5179 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3556, allocations: 0 / 0.5179 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.3557, allocations: 107.6 kB / 0.518 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.085e-05/0.3558, allocations: 92.83 kB / 0.5181 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.3558, allocations: 8.859 kB / 0.5181 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.4e-05/0.3558, allocations: 1.406 kB / 0.5181 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.967e-05/0.3559, allocations: 2.969 kB / 0.5181 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.3559, allocations: 4.906 kB / 0.5181 GB, free: 33.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001003/0.356, allocations: 160.6 kB / 0.5183 GB, free: 33.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.356, allocations: 0 / 0.5183 GB, free: 33.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002106/0.3562, allocations: 20.61 kB / 0.5183 GB, free: 33.41 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.0008495/0.3571, allocations: 473.1 kB / 0.5188 GB, free: 33.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.3572, allocations: 43.86 kB / 0.5188 GB, free: 33.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3572, allocations: 0 / 0.5188 GB, free: 33.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.85e-05/0.3573, allocations: 18.62 kB / 0.5188 GB, free: 33.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.3575, allocations: 29.95 kB / 0.5188 GB, free: 33.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000338/0.3578, allocations: 240.4 kB / 0.5191 GB, free: 32.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.358, allocations: 0.7054 MB / 0.5198 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.51e-05/0.358, allocations: 12.86 kB / 0.5198 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/0.3581, allocations: 14.59 kB / 0.5198 GB, free: 32.21 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3581, allocations: 3.938 kB / 0.5198 GB, free: 32.21 MB / 378.7 MB Notification: Performance of Templates: time 0.003423/0.3615, allocations: 1.406 MB / 0.5212 GB, free: 32.05 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches