Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 178.6 kB / 17.41 MB, free: 4.293 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.402/1.402, allocations: 225.7 MB / 243.9 MB, free: 8.469 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.0008028/0.0008027, allocations: 94.5 kB / 295 MB, free: 9.512 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.3765/0.3765, allocations: 44.32 MB / 390.5 MB, free: 38.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004361/0.0004359, allocations: 12 kB / 463.1 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4529/0.4533, allocations: 61.91 MB / 0.5127 GB, free: 37.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002537/0.4559, allocations: 1.368 MB / 0.5141 GB, free: 36.94 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001643/0.4576, allocations: 0.877 MB / 0.5149 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.4577, allocations: 0 / 0.5149 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003756/0.4581, allocations: 58.88 kB / 0.515 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.4584, allocations: 54.06 kB / 0.515 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004155/0.4588, allocations: 94.08 kB / 0.5151 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.4591, allocations: 87.05 kB / 0.5152 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.109e-05/0.4592, allocations: 3.062 kB / 0.5152 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.4593, allocations: 40.09 kB / 0.5153 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.4594, allocations: 38.06 kB / 0.5153 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.4594, allocations: 6.875 kB / 0.5153 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.4596, allocations: 21.59 kB / 0.5153 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.72e-05/0.4597, allocations: 26.38 kB / 0.5154 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.666e-05/0.4598, allocations: 58.16 kB / 0.5154 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.46, allocations: 113 kB / 0.5155 GB, free: 36.03 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.4601, allocations: 0 / 0.5155 GB, free: 36.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4601, allocations: 0 / 0.5155 GB, free: 36.03 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.4601, allocations: 0 / 0.5155 GB, free: 36.03 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.0006254/0.4607, allocations: 422.4 kB / 0.5159 GB, free: 35.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.4608, allocations: 11.81 kB / 0.5159 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.794e-05/0.4608, allocations: 14.72 kB / 0.5159 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.4611, allocations: 208.7 kB / 0.5161 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.4611, allocations: 3.406 kB / 0.5161 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.4612, allocations: 4.125 kB / 0.5161 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.4613, allocations: 55.48 kB / 0.5162 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.4614, allocations: 0 / 0.5162 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.4614, allocations: 4 kB / 0.5162 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.4614, allocations: 0 / 0.5162 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.812e-05/0.4615, allocations: 20.45 kB / 0.5162 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001944/0.4617, allocations: 186.6 kB / 0.5164 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.4619, allocations: 53.08 kB / 0.5165 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.613e-05/0.462, allocations: 24.84 kB / 0.5165 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.462, allocations: 4 kB / 0.5165 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002061/0.4622, allocations: 68.41 kB / 0.5165 GB, free: 35.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.684e-06/0.4622, allocations: 0 / 0.5165 GB, free: 35.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003276/0.4626, allocations: 97.67 kB / 0.5166 GB, free: 34.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.4626, allocations: 54.34 kB / 0.5167 GB, free: 34.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.4629, allocations: 253.7 kB / 0.5169 GB, free: 34.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.4629, allocations: 31.14 kB / 0.517 GB, free: 34.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/0.463, allocations: 114.7 kB / 0.5171 GB, free: 34.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.463, allocations: 18.95 kB / 0.5171 GB, free: 34.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-06/0.4631, allocations: 1.406 kB / 0.5171 GB, free: 34.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.406e-05/0.4631, allocations: 327.2 kB / 0.5174 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.397e-05/0.4632, allocations: 13.77 kB / 0.5174 GB, free: 34.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.158e-05/0.4633, allocations: 30.44 kB / 0.5174 GB, free: 34.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.4634, allocations: 46.02 kB / 0.5175 GB, free: 34.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4634, allocations: 0 / 0.5175 GB, free: 34.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002261/0.4637, allocations: 89.55 kB / 0.5176 GB, free: 34.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.4637, allocations: 9.062 kB / 0.5176 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.4637, allocations: 1.344 kB / 0.5176 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.4638, allocations: 0.7031 kB / 0.5176 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.824e-05/0.4639, allocations: 10.38 kB / 0.5176 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.4639, allocations: 0.9688 kB / 0.5176 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.555e-05/0.464, allocations: 17.23 kB / 0.5176 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.464, allocations: 1.219 kB / 0.5176 GB, free: 34.14 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 0.0001303/0.4641, allocations: 134.1 kB / 0.5177 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.4642, allocations: 10.44 kB / 0.5178 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.647e-05/0.4642, allocations: 17.62 kB / 0.5178 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.4642, allocations: 1.312 kB / 0.5178 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.4643, allocations: 0 / 0.5178 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.4643, allocations: 2.016 kB / 0.5178 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.4645, allocations: 205.2 kB / 0.518 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4645, allocations: 4 kB / 0.518 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.996e-05/0.4645, allocations: 3.828 kB / 0.518 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.4645, allocations: 1.75 kB / 0.518 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.4645, allocations: 1.547 kB / 0.518 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4645, allocations: 0 / 0.518 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.4646, allocations: 0.875 kB / 0.518 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.4648, allocations: 110 kB / 0.5181 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.537e-05/0.4648, allocations: 90.94 kB / 0.5182 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.4649, allocations: 6.188 kB / 0.5182 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.49e-05/0.465, allocations: 2.641 kB / 0.5182 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.465, allocations: 11.97 kB / 0.5182 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.465, allocations: 2.734 kB / 0.5182 GB, free: 33.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002117/0.4652, allocations: 197 kB / 0.5184 GB, free: 33.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4653, allocations: 0 / 0.5184 GB, free: 33.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003153/0.4656, allocations: 20.36 kB / 0.5184 GB, free: 33.48 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.001213/0.4668, allocations: 480.5 kB / 0.5189 GB, free: 33.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.467, allocations: 44.09 kB / 0.5189 GB, free: 33.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.467, allocations: 0 / 0.5189 GB, free: 33.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.411e-05/0.4671, allocations: 21.92 kB / 0.5189 GB, free: 33.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.4675, allocations: 35.91 kB / 0.519 GB, free: 33.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006596/0.4681, allocations: 283.3 kB / 0.5192 GB, free: 32.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.4684, allocations: 0.7137 MB / 0.5199 GB, free: 32.26 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.873e-05/0.4685, allocations: 12.12 kB / 0.5199 GB, free: 32.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/0.4685, allocations: 20.69 kB / 0.52 GB, free: 32.24 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4685, allocations: 0 / 0.52 GB, free: 32.24 MB / 378.7 MB Notification: Performance of Templates: time 0.005599/0.4742, allocations: 1.426 MB / 0.5213 GB, free: 32.08 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches