Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 175 kB / 17.41 MB, free: 4.395 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.428/1.428, 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.0009462/0.0009465, allocations: 92.19 kB / 295 MB, free: 9.477 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.4153/0.4153, allocations: 44.31 MB / 390.5 MB, free: 38.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004189/0.0004191, allocations: 8 kB / 463.2 MB, free: 456 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4055, allocations: 61.89 MB / 0.5127 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002007/0.4076, allocations: 1.592 MB / 0.5143 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.4089, allocations: 1.005 MB / 0.5153 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.848e-05/0.409, allocations: 10.72 kB / 0.5153 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.4092, allocations: 33.84 kB / 0.5153 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.4094, allocations: 49.69 kB / 0.5154 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.4097, allocations: 108.1 kB / 0.5155 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.4098, allocations: 135.4 kB / 0.5156 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.969e-05/0.4099, allocations: 25.89 kB / 0.5156 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.525e-05/0.41, allocations: 49.73 kB / 0.5157 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.369e-05/0.4101, allocations: 43.47 kB / 0.5157 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.4101, allocations: 2.688 kB / 0.5157 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.76e-05/0.4102, allocations: 43.81 kB / 0.5158 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.831e-05/0.4103, allocations: 20.05 kB / 0.5158 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.532e-05/0.4103, allocations: 72.91 kB / 0.5158 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.4105, allocations: 135.1 kB / 0.516 GB, free: 35.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4105, allocations: 0 / 0.516 GB, free: 35.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4105, allocations: 0 / 0.516 GB, free: 35.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.4105, allocations: 0 / 0.516 GB, free: 35.59 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004745/0.411, allocations: 465.4 kB / 0.5164 GB, free: 35.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.411, allocations: 15.42 kB / 0.5164 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.4111, allocations: 14.81 kB / 0.5164 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.4113, allocations: 227.1 kB / 0.5167 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.4114, allocations: 2.969 kB / 0.5167 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.4114, allocations: 13.78 kB / 0.5167 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.4116, allocations: 104.8 kB / 0.5168 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.4116, allocations: 4 kB / 0.5168 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.4116, allocations: 0 / 0.5168 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.4117, allocations: 2.781 kB / 0.5168 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.4118, allocations: 56.47 kB / 0.5168 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004622/0.4123, allocations: 0.5084 MB / 0.5173 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.4126, allocations: 88.75 kB / 0.5174 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.955e-05/0.4127, allocations: 41.38 kB / 0.5175 GB, free: 34.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.4127, allocations: 2.625 kB / 0.5175 GB, free: 34.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002072/0.4129, allocations: 87.44 kB / 0.5175 GB, free: 34.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.472e-06/0.413, allocations: 0 / 0.5175 GB, free: 34.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003437/0.4133, allocations: 149 kB / 0.5177 GB, free: 34.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.4133, allocations: 61.56 kB / 0.5177 GB, free: 34.06 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.4135, allocations: 191.9 kB / 0.5179 GB, free: 33.92 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.4135, allocations: 26.95 kB / 0.518 GB, free: 33.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/0.4136, allocations: 112.9 kB / 0.5181 GB, free: 33.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.4136, allocations: 38.91 kB / 0.5181 GB, free: 33.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.4136, allocations: 0.9062 kB / 0.5181 GB, free: 33.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.267e-05/0.4137, allocations: 329 kB / 0.5184 GB, free: 33.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.85e-05/0.4138, allocations: 28.25 kB / 0.5184 GB, free: 33.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.522e-05/0.4139, allocations: 68.52 kB / 0.5185 GB, free: 33.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.4141, allocations: 99.81 kB / 0.5186 GB, free: 33.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4141, allocations: 0 / 0.5186 GB, free: 33.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000238/0.4143, allocations: 142 kB / 0.5187 GB, free: 33.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.4143, allocations: 6.406 kB / 0.5187 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4144, allocations: 1.344 kB / 0.5187 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.4144, allocations: 1.188 kB / 0.5187 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.84e-05/0.4145, allocations: 26.09 kB / 0.5188 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.4145, allocations: 9.234 kB / 0.5188 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.741e-05/0.4146, allocations: 14.94 kB / 0.5188 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.4146, allocations: 4.25 kB / 0.5188 GB, free: 33.21 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.337e-05/0.4147, allocations: 141.9 kB / 0.5189 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.4147, allocations: 10.69 kB / 0.5189 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.359e-05/0.4147, allocations: 14.53 kB / 0.519 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4148, allocations: 5.562 kB / 0.519 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4148, allocations: 0 / 0.519 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.4148, allocations: 1.766 kB / 0.519 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.4149, allocations: 213.2 kB / 0.5192 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4149, allocations: 0 / 0.5192 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.894e-05/0.415, allocations: 17.59 kB / 0.5192 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.415, allocations: 4 kB / 0.5192 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.4151, allocations: 2.312 kB / 0.5192 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.4151, allocations: 5.281 kB / 0.5192 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4151, allocations: 0 / 0.5192 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.4154, allocations: 187.3 kB / 0.5194 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.804e-05/0.4155, allocations: 91.45 kB / 0.5195 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.4155, allocations: 2.281 kB / 0.5195 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.405e-05/0.4156, allocations: 15.22 kB / 0.5195 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.4156, allocations: 5.953 kB / 0.5195 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.4156, allocations: 4.234 kB / 0.5195 GB, free: 32.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.961e-05/0.4158, allocations: 136.7 kB / 0.5196 GB, free: 32.53 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.4158, allocations: 0 / 0.5196 GB, free: 32.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002125/0.416, allocations: 33.27 kB / 0.5197 GB, free: 32.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.0008555/0.4168, allocations: 491.8 kB / 0.5201 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002304/0.4171, allocations: 85.44 kB / 0.5202 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4171, allocations: 0 / 0.5202 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.4172, allocations: 37.38 kB / 0.5202 GB, free: 32.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.4175, allocations: 36.36 kB / 0.5203 GB, free: 32.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000475/0.418, allocations: 303.1 kB / 0.5206 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.4181, allocations: 0.7157 MB / 0.5213 GB, free: 31.26 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.875e-05/0.4182, allocations: 15.34 kB / 0.5213 GB, free: 31.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.354e-05/0.4183, allocations: 20.34 kB / 0.5213 GB, free: 31.25 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4183, allocations: 0 / 0.5213 GB, free: 31.25 MB / 378.7 MB Notification: Performance of Templates: time 0.003918/0.4222, allocations: 1.766 MB / 0.523 GB, free: 31.07 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches