Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 173.2 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.349/1.349, allocations: 225.7 MB / 243.9 MB, free: 8.441 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.0009911/0.0009913, allocations: 89.86 kB / 295.1 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.3629/0.3629, allocations: 44.32 MB / 390.5 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.0003683, allocations: 12 kB / 463.2 MB, free: 500 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4195/0.4199, allocations: 61.9 MB / 0.5127 GB, free: 37.92 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.001686/0.4216, allocations: 1.399 MB / 0.5141 GB, free: 36.92 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.4227, allocations: 0.8994 MB / 0.515 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.913e-05/0.4228, allocations: 0 / 0.515 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.423, allocations: 52.42 kB / 0.515 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.4232, allocations: 55.28 kB / 0.5151 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.4235, allocations: 93.33 kB / 0.5152 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.4236, allocations: 95.34 kB / 0.5153 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.542e-05/0.4237, allocations: 13.53 kB / 0.5153 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.56e-05/0.4238, allocations: 47.59 kB / 0.5153 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.512e-05/0.4239, allocations: 27.98 kB / 0.5154 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.4239, allocations: 0 / 0.5154 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.808e-05/0.424, allocations: 44.09 kB / 0.5154 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.503e-05/0.4241, allocations: 19.72 kB / 0.5154 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.728e-05/0.4241, allocations: 71.33 kB / 0.5155 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.4243, allocations: 119.3 kB / 0.5156 GB, free: 35.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4243, allocations: 0.6562 kB / 0.5156 GB, free: 35.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4243, allocations: 6.75 kB / 0.5156 GB, free: 35.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.4243, allocations: 0 / 0.5156 GB, free: 35.96 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.00044/0.4248, allocations: 413.9 kB / 0.516 GB, free: 35.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.4248, allocations: 12.06 kB / 0.516 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.4249, allocations: 14.78 kB / 0.516 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.4251, allocations: 216.1 kB / 0.5162 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.4251, allocations: 7.438 kB / 0.5162 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.4251, allocations: 4.828 kB / 0.5162 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.4253, allocations: 61.39 kB / 0.5163 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.4253, allocations: 3.031 kB / 0.5163 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.4253, allocations: 0.75 kB / 0.5163 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.4253, allocations: 0 / 0.5163 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.923e-05/0.4254, allocations: 18.95 kB / 0.5163 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003112/0.4257, allocations: 297.6 kB / 0.5166 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.4259, allocations: 57.75 kB / 0.5167 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.518e-05/0.426, allocations: 23.91 kB / 0.5167 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.426, allocations: 1.156 kB / 0.5167 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000198/0.4262, allocations: 66.39 kB / 0.5168 GB, free: 34.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.427e-06/0.4262, allocations: 3.984 kB / 0.5168 GB, free: 34.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005997/0.4268, allocations: 183.1 kB / 0.5169 GB, free: 34.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.4269, allocations: 56.72 kB / 0.517 GB, free: 34.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.4271, allocations: 257.9 kB / 0.5172 GB, free: 34.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.4272, allocations: 28.48 kB / 0.5173 GB, free: 34.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.17e-05/0.4272, allocations: 113.3 kB / 0.5174 GB, free: 34.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.4273, allocations: 24.84 kB / 0.5174 GB, free: 34.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.4273, allocations: 4 kB / 0.5174 GB, free: 34.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.465e-05/0.4274, allocations: 324.9 kB / 0.5177 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.305e-05/0.4274, allocations: 23.28 kB / 0.5177 GB, free: 34.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.211e-05/0.4275, allocations: 40.97 kB / 0.5178 GB, free: 34.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.4276, allocations: 59.64 kB / 0.5178 GB, free: 34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4276, allocations: 3.938 kB / 0.5178 GB, free: 34 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001697/0.4278, allocations: 107.7 kB / 0.5179 GB, free: 33.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.4278, allocations: 2.812 kB / 0.5179 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4278, allocations: 3.125 kB / 0.5179 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.4279, allocations: 4.031 kB / 0.5179 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.187e-05/0.428, allocations: 18.06 kB / 0.518 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.428, allocations: 0 / 0.518 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.09e-05/0.428, allocations: 10.84 kB / 0.518 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.428, allocations: 6.938 kB / 0.518 GB, free: 33.92 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 (10): * Single equations (assignments): 10 * 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 9.742e-05/0.4281, allocations: 139.5 kB / 0.5181 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.4282, allocations: 13.28 kB / 0.5181 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.076e-05/0.4282, allocations: 21.23 kB / 0.5181 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4282, allocations: 4 kB / 0.5181 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4283, allocations: 3.031 kB / 0.5181 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.4283, allocations: 3.938 kB / 0.5181 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003733/0.4286, allocations: 404 kB / 0.5185 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4287, allocations: 0 / 0.5185 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.087e-05/0.4287, allocations: 8.188 kB / 0.5185 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4287, allocations: 0 / 0.5185 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.4287, allocations: 10.09 kB / 0.5186 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.4287, allocations: 4.031 kB / 0.5186 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4287, allocations: 2.75 kB / 0.5186 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.4289, allocations: 202.3 kB / 0.5188 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-05/0.429, allocations: 93.23 kB / 0.5188 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.429, allocations: 3.938 kB / 0.5188 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.181e-05/0.4291, allocations: 10.02 kB / 0.5189 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.4291, allocations: 9.594 kB / 0.5189 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.4292, allocations: 10.17 kB / 0.5189 GB, free: 33.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001801/0.4294, allocations: 197.6 kB / 0.5191 GB, free: 33.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4294, allocations: 1.219 kB / 0.5191 GB, free: 33.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002669/0.4296, allocations: 25.03 kB / 0.5191 GB, free: 33 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.00112/0.4308, allocations: 0.5249 MB / 0.5196 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001906/0.431, allocations: 58.72 kB / 0.5197 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.431, allocations: 1.094 kB / 0.5197 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.274e-05/0.4311, allocations: 27.86 kB / 0.5197 GB, free: 32.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.4314, allocations: 31.64 kB / 0.5197 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005942/0.432, allocations: 308.8 kB / 0.52 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.4323, allocations: 0.721 MB / 0.5207 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.125e-05/0.4324, allocations: 12.44 kB / 0.5207 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.4324, allocations: 16 kB / 0.5207 GB, free: 31.73 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.4324, allocations: 5 kB / 0.5207 GB, free: 31.73 MB / 378.7 MB Notification: Performance of Templates: time 0.004205/0.4366, allocations: 1.66 MB / 0.5224 GB, free: 31.52 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches