Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 175 kB / 17.41 MB, free: 4.391 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.532/1.532, 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.0007833/0.0007836, allocations: 89.14 kB / 295 MB, free: 9.496 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.4577/0.4577, allocations: 44.32 MB / 390.5 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005976/0.0005974, allocations: 12 kB / 463.2 MB, free: 464 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.433/0.4336, allocations: 61.9 MB / 0.5127 GB, free: 37.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.001926/0.4356, allocations: 1.367 MB / 0.5141 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.4368, allocations: 0.8712 MB / 0.5149 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.487e-05/0.4369, allocations: 3.938 kB / 0.5149 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.4372, allocations: 58.64 kB / 0.515 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.4374, allocations: 56.36 kB / 0.515 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.4377, allocations: 90.84 kB / 0.5151 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.4379, allocations: 95.44 kB / 0.5152 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.929e-05/0.438, allocations: 3.031 kB / 0.5152 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.559e-05/0.4381, allocations: 39.67 kB / 0.5153 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.213e-05/0.4381, allocations: 31.14 kB / 0.5153 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.4382, allocations: 2.906 kB / 0.5153 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.026e-05/0.4383, allocations: 32.88 kB / 0.5153 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.489e-05/0.4383, allocations: 23.12 kB / 0.5154 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.678e-05/0.4384, allocations: 58.3 kB / 0.5154 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.4386, allocations: 117.6 kB / 0.5155 GB, free: 35.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.4386, allocations: 0 / 0.5155 GB, free: 35.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4386, allocations: 0 / 0.5155 GB, free: 35.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.4386, allocations: 0 / 0.5155 GB, free: 35.97 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.0004907/0.4391, allocations: 413.5 kB / 0.5159 GB, free: 35.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.4392, allocations: 9.031 kB / 0.5159 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.532e-05/0.4392, allocations: 21.67 kB / 0.5159 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.4394, allocations: 212.2 kB / 0.5161 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.4394, allocations: 3.25 kB / 0.5161 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.4394, allocations: 4.125 kB / 0.5162 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.4396, allocations: 49.16 kB / 0.5162 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.4396, allocations: 0 / 0.5162 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.4396, allocations: 7 kB / 0.5162 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.4396, allocations: 0 / 0.5162 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.934e-05/0.4397, allocations: 11.97 kB / 0.5162 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000167/0.4399, allocations: 195.6 kB / 0.5164 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.44, allocations: 47 kB / 0.5164 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.679e-05/0.4401, allocations: 20.89 kB / 0.5165 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.4401, allocations: 2.75 kB / 0.5165 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.4403, allocations: 72.62 kB / 0.5165 GB, free: 34.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/0.4403, allocations: 0 / 0.5165 GB, free: 34.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002396/0.4405, allocations: 95.52 kB / 0.5166 GB, free: 34.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.4406, allocations: 57.2 kB / 0.5167 GB, free: 34.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.4408, allocations: 254.1 kB / 0.5169 GB, free: 34.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.4408, allocations: 29.7 kB / 0.517 GB, free: 34.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.429e-05/0.4408, allocations: 113.6 kB / 0.5171 GB, free: 34.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.4409, allocations: 12.78 kB / 0.5171 GB, free: 34.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.4409, allocations: 0 / 0.5171 GB, free: 34.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.334e-05/0.441, allocations: 338.1 kB / 0.5174 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.29e-05/0.441, allocations: 12.16 kB / 0.5174 GB, free: 34.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.684e-05/0.4411, allocations: 29.91 kB / 0.5174 GB, free: 34.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.856e-05/0.4412, allocations: 42.97 kB / 0.5175 GB, free: 34.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.4412, allocations: 3.938 kB / 0.5175 GB, free: 34.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001332/0.4413, allocations: 88.8 kB / 0.5176 GB, free: 34.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.4413, allocations: 6.703 kB / 0.5176 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.4413, allocations: 0 / 0.5176 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.4414, allocations: 1.375 kB / 0.5176 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.115e-05/0.4414, allocations: 9.547 kB / 0.5176 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.4414, allocations: 2.078 kB / 0.5176 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.4415, allocations: 11.36 kB / 0.5176 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.4415, allocations: 2.062 kB / 0.5176 GB, free: 34.11 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 8.528e-05/0.4416, allocations: 142.7 kB / 0.5177 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/0.4416, allocations: 17.53 kB / 0.5178 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.948e-05/0.4417, allocations: 17.88 kB / 0.5178 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.4417, allocations: 1.891 kB / 0.5178 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.4417, allocations: 0 / 0.5178 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4417, allocations: 1.578 kB / 0.5178 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.4418, allocations: 204.7 kB / 0.518 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4418, allocations: 1.25 kB / 0.518 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.006e-05/0.4419, allocations: 3.797 kB / 0.518 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.4419, allocations: 0 / 0.518 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.4419, allocations: 2.125 kB / 0.518 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.4419, allocations: 5.984 kB / 0.518 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4419, allocations: 0 / 0.518 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.4421, allocations: 109.1 kB / 0.5181 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.886e-05/0.4421, allocations: 90.78 kB / 0.5182 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.4421, allocations: 1.656 kB / 0.5182 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.884e-05/0.4422, allocations: 7.422 kB / 0.5182 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.4422, allocations: 8.125 kB / 0.5182 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.4422, allocations: 6.703 kB / 0.5182 GB, free: 33.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001497/0.4424, allocations: 199.3 kB / 0.5184 GB, free: 33.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4424, allocations: 2.594 kB / 0.5184 GB, free: 33.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001883/0.4426, allocations: 17.03 kB / 0.5184 GB, free: 33.43 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.0008898/0.4435, allocations: 477.9 kB / 0.5189 GB, free: 33.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001385/0.4436, allocations: 41.83 kB / 0.5189 GB, free: 33.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.4436, allocations: 0 / 0.5189 GB, free: 33.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.141e-05/0.4437, allocations: 23.88 kB / 0.5189 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.0002352/0.444, allocations: 36.41 kB / 0.519 GB, free: 33.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004203/0.4444, allocations: 283.6 kB / 0.5192 GB, free: 32.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.4446, allocations: 0.7145 MB / 0.5199 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.778e-05/0.4446, allocations: 12.09 kB / 0.5199 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.4447, allocations: 12.78 kB / 0.5199 GB, free: 32.2 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.4447, allocations: 1.031 kB / 0.5199 GB, free: 32.2 MB / 378.7 MB Notification: Performance of Templates: time 0.003461/0.4481, allocations: 1.422 MB / 0.5213 GB, free: 32.04 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches