Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 175.2 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.434/1.434, 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.0007829/0.0007832, allocations: 94.14 kB / 295 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.3608/0.3608, allocations: 44.32 MB / 390.5 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00049/0.0004901, allocations: 15.98 kB / 463.2 MB, free: 468 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3633, allocations: 61.9 MB / 0.5127 GB, free: 37.87 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.001531/0.3649, allocations: 1.356 MB / 0.5141 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.3659, allocations: 0.8866 MB / 0.5149 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.42e-05/0.366, allocations: 0 / 0.5149 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.3662, allocations: 47.64 kB / 0.515 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001411/0.3664, allocations: 62.62 kB / 0.515 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.3666, allocations: 92.75 kB / 0.5151 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.3667, allocations: 97.98 kB / 0.5152 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.006e-05/0.3668, allocations: 7.016 kB / 0.5152 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.029e-05/0.3668, allocations: 35.67 kB / 0.5153 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.059e-05/0.3669, allocations: 28.66 kB / 0.5153 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.3669, allocations: 10.62 kB / 0.5153 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.553e-05/0.367, allocations: 27.16 kB / 0.5153 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.767e-05/0.3671, allocations: 25.33 kB / 0.5153 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.447e-05/0.3671, allocations: 60.64 kB / 0.5154 GB, free: 36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.3673, allocations: 115.2 kB / 0.5155 GB, free: 35.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3673, allocations: 2.875 kB / 0.5155 GB, free: 35.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3673, allocations: 0 / 0.5155 GB, free: 35.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.3673, allocations: 0 / 0.5155 GB, free: 35.95 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.0003935/0.3677, allocations: 413.5 kB / 0.5159 GB, free: 35.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.846e-05/0.3677, allocations: 12.59 kB / 0.5159 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.3677, allocations: 18.27 kB / 0.5159 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.3679, allocations: 212 kB / 0.5161 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.3679, allocations: 384 / 0.5161 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.368, allocations: 5.219 kB / 0.5162 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.3681, allocations: 48.95 kB / 0.5162 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.3681, allocations: 1.156 kB / 0.5162 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.3681, allocations: 0 / 0.5162 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3681, allocations: 1.156 kB / 0.5162 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.887e-05/0.3682, allocations: 23.22 kB / 0.5162 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001501/0.3683, allocations: 185 kB / 0.5164 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.3685, allocations: 53.86 kB / 0.5164 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.426e-05/0.3685, allocations: 23.45 kB / 0.5165 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.3686, allocations: 0.9062 kB / 0.5165 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000153/0.3687, allocations: 70.09 kB / 0.5165 GB, free: 34.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.3687, allocations: 5.188 kB / 0.5165 GB, free: 34.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002442/0.369, allocations: 94.47 kB / 0.5166 GB, free: 34.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.369, allocations: 56.62 kB / 0.5167 GB, free: 34.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.3692, allocations: 258.6 kB / 0.5169 GB, free: 34.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.916e-06/0.3692, allocations: 25.7 kB / 0.517 GB, free: 34.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.082e-05/0.3693, allocations: 112.5 kB / 0.5171 GB, free: 34.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.3693, allocations: 18.62 kB / 0.5171 GB, free: 34.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.3693, allocations: 4 kB / 0.5171 GB, free: 34.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.292e-05/0.3694, allocations: 323.6 kB / 0.5174 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.243e-05/0.3694, allocations: 19.95 kB / 0.5174 GB, free: 34.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.781e-05/0.3695, allocations: 30.14 kB / 0.5174 GB, free: 34.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.859e-05/0.3695, allocations: 41.45 kB / 0.5175 GB, free: 34.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3696, allocations: 4 kB / 0.5175 GB, free: 34.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001233/0.3697, allocations: 87.62 kB / 0.5176 GB, free: 34.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.3697, allocations: 12.34 kB / 0.5176 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3697, allocations: 0 / 0.5176 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3697, allocations: 2.656 kB / 0.5176 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.55e-05/0.3698, allocations: 8.188 kB / 0.5176 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3698, allocations: 0 / 0.5176 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.426e-05/0.3699, allocations: 9.859 kB / 0.5176 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.3699, allocations: 2.625 kB / 0.5176 GB, free: 34.08 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.7e-05/0.37, allocations: 141.5 kB / 0.5177 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.37, allocations: 9.469 kB / 0.5177 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.36e-05/0.37, allocations: 18.03 kB / 0.5178 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.37, allocations: 2.938 kB / 0.5178 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.37, allocations: 3.984 kB / 0.5178 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.37, allocations: 0 / 0.5178 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.696e-05/0.3701, allocations: 200.4 kB / 0.518 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3701, allocations: 0 / 0.518 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.3702, allocations: 10.23 kB / 0.518 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.3702, allocations: 2.781 kB / 0.518 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.3702, allocations: 8.312 kB / 0.518 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3702, allocations: 4 kB / 0.518 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3702, allocations: 160 / 0.518 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.3704, allocations: 104.9 kB / 0.5181 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-05/0.3704, allocations: 97.67 kB / 0.5182 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.3704, allocations: 0 / 0.5182 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.552e-05/0.3705, allocations: 2.906 kB / 0.5182 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-05/0.3705, allocations: 10 kB / 0.5182 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.3705, allocations: 2.906 kB / 0.5182 GB, free: 33.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001153/0.3706, allocations: 199 kB / 0.5184 GB, free: 33.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3706, allocations: 0 / 0.5184 GB, free: 33.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001869/0.3708, allocations: 14.91 kB / 0.5184 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.0008467/0.3717, allocations: 477 kB / 0.5189 GB, free: 33.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001406/0.3718, allocations: 38.52 kB / 0.5189 GB, free: 33.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.3718, allocations: 4.062 kB / 0.5189 GB, free: 33.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.433e-05/0.3719, allocations: 22.44 kB / 0.5189 GB, free: 33.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.3721, allocations: 41.45 kB / 0.519 GB, free: 33.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004157/0.3726, allocations: 278.5 kB / 0.5192 GB, free: 32.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.3727, allocations: 0.719 MB / 0.5199 GB, free: 32.19 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.56e-05/0.3728, allocations: 11.73 kB / 0.5199 GB, free: 32.19 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.739e-05/0.3728, allocations: 16.2 kB / 0.52 GB, free: 32.18 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3728, allocations: 1.188 kB / 0.52 GB, free: 32.18 MB / 378.7 MB Notification: Performance of Templates: time 0.003717/0.3765, allocations: 1.423 MB / 0.5213 GB, free: 32.01 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches