Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001005/0.001004, allocations: 175 kB / 17.41 MB, free: 4.387 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.388/1.388, allocations: 225.7 MB / 243.9 MB, free: 10.18 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.001/0.001, allocations: 98.36 kB / 295 MB, free: 9.707 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.38/0.38, allocations: 44.33 MB / 390.5 MB, free: 38.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.0003864, allocations: 19.92 kB / 463.2 MB, free: 444 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3551, allocations: 61.89 MB / 0.5127 GB, free: 38.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002289/0.3574, allocations: 1.365 MB / 0.5141 GB, free: 37.17 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.3588, allocations: 0.872 MB / 0.5149 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.03e-05/0.3589, allocations: 0 / 0.5149 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003477/0.3592, allocations: 60.05 kB / 0.515 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001872/0.3594, allocations: 51.83 kB / 0.515 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.3597, allocations: 96.39 kB / 0.5151 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.3598, allocations: 94.06 kB / 0.5152 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.991e-05/0.3599, allocations: 14.36 kB / 0.5152 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.717e-05/0.36, allocations: 39.97 kB / 0.5153 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.726e-05/0.3601, allocations: 30.94 kB / 0.5153 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.3601, allocations: 2.906 kB / 0.5153 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.063e-05/0.3602, allocations: 28.47 kB / 0.5153 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.83e-05/0.3603, allocations: 21.19 kB / 0.5153 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.054e-05/0.3603, allocations: 58.3 kB / 0.5154 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.3605, allocations: 116.2 kB / 0.5155 GB, free: 36.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3605, allocations: 0 / 0.5155 GB, free: 36.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3605, allocations: 4 kB / 0.5155 GB, free: 36.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.3605, allocations: 0 / 0.5155 GB, free: 36.24 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.0004438/0.361, allocations: 418 kB / 0.5159 GB, free: 35.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.361, allocations: 5.938 kB / 0.5159 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.3611, allocations: 14.78 kB / 0.5159 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.3613, allocations: 215.5 kB / 0.5161 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.3613, allocations: 3.375 kB / 0.5161 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.3613, allocations: 4.125 kB / 0.5161 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.3615, allocations: 52.28 kB / 0.5162 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3615, allocations: 0 / 0.5162 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.3615, allocations: 7.266 kB / 0.5162 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.3615, allocations: 0 / 0.5162 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.368e-05/0.3616, allocations: 12.72 kB / 0.5162 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000168/0.3618, allocations: 190.7 kB / 0.5164 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.3619, allocations: 56.03 kB / 0.5165 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.209e-05/0.362, allocations: 23.42 kB / 0.5165 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.362, allocations: 0 / 0.5165 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.3622, allocations: 72.56 kB / 0.5165 GB, free: 35.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.3622, allocations: 0 / 0.5165 GB, free: 35.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002804/0.3625, allocations: 97.5 kB / 0.5166 GB, free: 35.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.3625, allocations: 52.06 kB / 0.5167 GB, free: 35.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.3628, allocations: 263.4 kB / 0.5169 GB, free: 34.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/0.3628, allocations: 25.7 kB / 0.517 GB, free: 34.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.495e-05/0.3628, allocations: 109.5 kB / 0.5171 GB, free: 34.83 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.3629, allocations: 20.36 kB / 0.5171 GB, free: 34.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-06/0.3629, allocations: 0 / 0.5171 GB, free: 34.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.992e-05/0.363, allocations: 327.9 kB / 0.5174 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.974e-05/0.363, allocations: 14.3 kB / 0.5174 GB, free: 34.49 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.114e-05/0.3631, allocations: 34.06 kB / 0.5174 GB, free: 34.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.272e-05/0.3632, allocations: 42.08 kB / 0.5175 GB, free: 34.44 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3632, allocations: 5.094 kB / 0.5175 GB, free: 34.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001335/0.3633, allocations: 85.2 kB / 0.5176 GB, free: 34.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.3633, allocations: 4.812 kB / 0.5176 GB, free: 34.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.3633, allocations: 5.031 kB / 0.5176 GB, free: 34.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3634, allocations: 0.875 kB / 0.5176 GB, free: 34.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.487e-05/0.3634, allocations: 15.42 kB / 0.5176 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.3635, allocations: 1.062 kB / 0.5176 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.624e-05/0.3635, allocations: 6.688 kB / 0.5176 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.3635, allocations: 2.062 kB / 0.5176 GB, free: 34.37 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.758e-05/0.3636, allocations: 139.5 kB / 0.5177 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.3636, allocations: 10.47 kB / 0.5177 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.535e-05/0.3637, allocations: 23.55 kB / 0.5178 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3637, allocations: 0 / 0.5178 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3637, allocations: 1.281 kB / 0.5178 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3637, allocations: 4 kB / 0.5178 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.3639, allocations: 206.3 kB / 0.518 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3639, allocations: 0 / 0.518 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.091e-05/0.3639, allocations: 3.062 kB / 0.518 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.3639, allocations: 0.9062 kB / 0.518 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.364, allocations: 1.438 kB / 0.518 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.364, allocations: 5.156 kB / 0.518 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.364, allocations: 0 / 0.518 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.3641, allocations: 113 kB / 0.5181 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.3642, allocations: 93.86 kB / 0.5182 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.3642, allocations: 0 / 0.5182 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.727e-05/0.3642, allocations: 5.969 kB / 0.5182 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.3643, allocations: 2.719 kB / 0.5182 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.3643, allocations: 6.625 kB / 0.5182 GB, free: 33.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001226/0.3644, allocations: 198.6 kB / 0.5184 GB, free: 33.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3645, allocations: 0 / 0.5184 GB, free: 33.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001894/0.3646, allocations: 21.47 kB / 0.5184 GB, free: 33.69 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.0008686/0.3655, allocations: 473.6 kB / 0.5189 GB, free: 33.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001484/0.3657, allocations: 41.42 kB / 0.5189 GB, free: 33.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3657, allocations: 0 / 0.5189 GB, free: 33.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.66e-05/0.3658, allocations: 24.73 kB / 0.5189 GB, free: 33.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.366, allocations: 36.53 kB / 0.519 GB, free: 33.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004203/0.3664, allocations: 285 kB / 0.5192 GB, free: 33.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.3666, allocations: 0.7124 MB / 0.5199 GB, free: 32.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.85e-05/0.3666, allocations: 16.11 kB / 0.5199 GB, free: 32.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/0.3667, allocations: 16.14 kB / 0.52 GB, free: 32.47 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3667, allocations: 1.156 kB / 0.52 GB, free: 32.47 MB / 378.7 MB Notification: Performance of Templates: time 0.003838/0.3705, allocations: 1.42 MB / 0.5213 GB, free: 32.3 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches