Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008919/0.0008921, allocations: 174.2 kB / 17.41 MB, free: 4.41 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.409/1.409, 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.0007805/0.000781, allocations: 93.17 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.4177/0.4177, allocations: 44.32 MB / 390.5 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003397, allocations: 15.94 kB / 463.2 MB, free: 484 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3533, allocations: 61.89 MB / 0.5127 GB, free: 37.92 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.001994/0.3554, allocations: 1.439 MB / 0.5141 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.3565, allocations: 0.8976 MB / 0.515 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.08e-05/0.3566, allocations: 0 / 0.515 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000351/0.357, allocations: 103.1 kB / 0.5151 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001961/0.3572, allocations: 81.33 kB / 0.5152 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.3574, allocations: 100.5 kB / 0.5153 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.3576, allocations: 121.2 kB / 0.5154 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.3577, allocations: 26.12 kB / 0.5154 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.291e-05/0.3578, allocations: 55.3 kB / 0.5155 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.983e-05/0.3579, allocations: 66.36 kB / 0.5155 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.358, allocations: 2.625 kB / 0.5156 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.3581, allocations: 50.41 kB / 0.5156 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.867e-05/0.3581, allocations: 25.72 kB / 0.5156 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.27e-05/0.3582, allocations: 75.91 kB / 0.5157 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.3584, allocations: 148.2 kB / 0.5158 GB, free: 35.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3584, allocations: 0 / 0.5158 GB, free: 35.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.3584, allocations: 0 / 0.5158 GB, free: 35.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.3585, allocations: 0 / 0.5158 GB, free: 35.88 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007046/0.3592, allocations: 437 kB / 0.5163 GB, free: 35.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.3592, allocations: 8.938 kB / 0.5163 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.3593, allocations: 14.69 kB / 0.5163 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.3595, allocations: 228 kB / 0.5165 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.3596, allocations: 3.219 kB / 0.5165 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.238e-05/0.3596, allocations: 9.5 kB / 0.5165 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.3598, allocations: 77.33 kB / 0.5166 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.3598, allocations: 7.906 kB / 0.5166 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.3598, allocations: 7.281 kB / 0.5166 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3599, allocations: 0 / 0.5166 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.997e-05/0.36, allocations: 33.42 kB / 0.5166 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004565/0.3604, allocations: 335 kB / 0.5169 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/0.3607, allocations: 75.16 kB / 0.517 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.361e-05/0.3608, allocations: 30.62 kB / 0.517 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.3608, allocations: 2.844 kB / 0.517 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000195/0.361, allocations: 73.86 kB / 0.5171 GB, free: 34.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.304e-06/0.361, allocations: 0 / 0.5171 GB, free: 34.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007995/0.3618, allocations: 299.2 kB / 0.5174 GB, free: 34.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.3619, allocations: 58.16 kB / 0.5175 GB, free: 34.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.3621, allocations: 243.6 kB / 0.5177 GB, free: 34.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.3621, allocations: 31.45 kB / 0.5177 GB, free: 34.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.563e-05/0.3622, allocations: 110.2 kB / 0.5178 GB, free: 34.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4e-05/0.3622, allocations: 57.38 kB / 0.5179 GB, free: 34.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-06/0.3623, allocations: 5.469 kB / 0.5179 GB, free: 34.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.095e-05/0.3623, allocations: 326.4 kB / 0.5182 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.898e-05/0.3624, allocations: 37.92 kB / 0.5182 GB, free: 33.87 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.939e-05/0.3625, allocations: 56.78 kB / 0.5183 GB, free: 33.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.3627, allocations: 102 kB / 0.5184 GB, free: 33.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3627, allocations: 1.031 kB / 0.5184 GB, free: 33.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002447/0.363, allocations: 158.1 kB / 0.5185 GB, free: 33.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.363, allocations: 4.406 kB / 0.5185 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.363, allocations: 1.031 kB / 0.5185 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.363, allocations: 5.125 kB / 0.5185 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.327e-05/0.3631, allocations: 29.28 kB / 0.5186 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3631, allocations: 4.938 kB / 0.5186 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.008e-05/0.3632, allocations: 7.25 kB / 0.5186 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.3632, allocations: 7.391 kB / 0.5186 GB, free: 33.68 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 (16): * Single equations (assignments): 16 * 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.701e-05/0.3633, allocations: 133.7 kB / 0.5187 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.3633, allocations: 16.44 kB / 0.5187 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.421e-05/0.3634, allocations: 25.42 kB / 0.5188 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3634, allocations: 3.938 kB / 0.5188 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.3634, allocations: 4 kB / 0.5188 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3634, allocations: 3.031 kB / 0.5188 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005087/0.3639, allocations: 0.4927 MB / 0.5193 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.3639, allocations: 1.844 kB / 0.5193 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.041e-05/0.364, allocations: 22.17 kB / 0.5193 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.364, allocations: 2.156 kB / 0.5193 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.364, allocations: 7.797 kB / 0.5193 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.364, allocations: 1.703 kB / 0.5193 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.364, allocations: 1.156 kB / 0.5193 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.3643, allocations: 266.4 kB / 0.5195 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.3643, allocations: 91.23 kB / 0.5196 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.3644, allocations: 15.97 kB / 0.5196 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.589e-05/0.3645, allocations: 3.375 kB / 0.5196 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.3645, allocations: 14.06 kB / 0.5197 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.3645, allocations: 6.344 kB / 0.5197 GB, free: 32.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001463/0.3647, allocations: 183.3 kB / 0.5198 GB, free: 32.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3647, allocations: 0 / 0.5198 GB, free: 32.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002489/0.3649, allocations: 34 kB / 0.5199 GB, free: 32.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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.001073/0.366, allocations: 0.6039 MB / 0.5205 GB, free: 32.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002178/0.3663, allocations: 103 kB / 0.5206 GB, free: 32.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3663, allocations: 0 / 0.5206 GB, free: 32.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.15e-05/0.3664, allocations: 57.94 kB / 0.5206 GB, free: 32.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.3667, allocations: 33.84 kB / 0.5207 GB, free: 32.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004798/0.3672, allocations: 365.8 kB / 0.521 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.3674, allocations: 0.728 MB / 0.5217 GB, free: 31.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.827e-05/0.3675, allocations: 23.36 kB / 0.5217 GB, free: 31.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.121e-05/0.3675, allocations: 22.66 kB / 0.5218 GB, free: 31.31 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3675, allocations: 0 / 0.5218 GB, free: 31.31 MB / 378.7 MB Notification: Performance of Templates: time 0.004297/0.3718, allocations: 2.054 MB / 0.5238 GB, free: 31.08 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches