Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,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.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009983/0.0009985, 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.378/1.378, 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.0007894/0.0007895, 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.3667/0.3667, allocations: 44.33 MB / 390.5 MB, free: 38.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003217/0.000322, allocations: 19.92 kB / 463.2 MB, free: 444 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3888, allocations: 61.89 MB / 0.5127 GB, free: 38.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.001987/0.3909, allocations: 1.403 MB / 0.5141 GB, free: 37.15 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.393, allocations: 1.549 MB / 0.5156 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.712e-05/0.3932, allocations: 0 / 0.5156 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000357/0.3935, allocations: 29.94 kB / 0.5157 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002792/0.3938, allocations: 60.75 kB / 0.5157 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003158/0.3941, allocations: 98.72 kB / 0.5158 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.3943, allocations: 93.75 kB / 0.5159 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.3945, allocations: 6.297 kB / 0.5159 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.366e-05/0.3946, allocations: 43.22 kB / 0.5159 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.3947, allocations: 35.41 kB / 0.516 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.3948, allocations: 2.938 kB / 0.516 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.3949, allocations: 51.59 kB / 0.516 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.682e-05/0.395, allocations: 17 kB / 0.516 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.131e-05/0.3951, allocations: 52.14 kB / 0.5161 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.3953, allocations: 118.9 kB / 0.5162 GB, free: 35.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3953, allocations: 4 kB / 0.5162 GB, free: 35.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.3953, allocations: 0 / 0.5162 GB, free: 35.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3953, allocations: 3.938 kB / 0.5162 GB, free: 35.67 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.0005144/0.3958, allocations: 383.4 kB / 0.5166 GB, free: 35.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.3959, allocations: 10.81 kB / 0.5166 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/0.396, allocations: 11.72 kB / 0.5166 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.3962, allocations: 208.7 kB / 0.5168 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.3962, allocations: 384 / 0.5168 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.3962, allocations: 7.609 kB / 0.5168 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.3964, allocations: 74.16 kB / 0.5169 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.3964, allocations: 0 / 0.5169 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.3965, allocations: 3.25 kB / 0.5169 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3965, allocations: 4.609 kB / 0.5169 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.398e-05/0.3966, allocations: 20.88 kB / 0.5169 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003394/0.3969, allocations: 278.6 kB / 0.5172 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.3971, allocations: 63.67 kB / 0.5172 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.128e-05/0.3971, allocations: 23.75 kB / 0.5173 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.3972, allocations: 4.562 kB / 0.5173 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001908/0.3974, allocations: 59.81 kB / 0.5173 GB, free: 34.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.3974, allocations: 3.938 kB / 0.5173 GB, free: 34.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005891/0.398, allocations: 170.7 kB / 0.5175 GB, free: 34.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.398, allocations: 78.23 kB / 0.5176 GB, free: 34.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.3982, allocations: 158 kB / 0.5177 GB, free: 34.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.3982, allocations: 30.67 kB / 0.5177 GB, free: 34.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.778e-05/0.3982, allocations: 99.28 kB / 0.5178 GB, free: 34.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.3982, allocations: 26.58 kB / 0.5179 GB, free: 34.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-06/0.3983, allocations: 0.6875 kB / 0.5179 GB, free: 34.13 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.906e-05/0.3983, allocations: 325.1 kB / 0.5182 GB, free: 33.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.284e-05/0.3984, allocations: 22.34 kB / 0.5182 GB, free: 33.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.466e-05/0.3985, allocations: 50.89 kB / 0.5182 GB, free: 33.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.3986, allocations: 62.05 kB / 0.5183 GB, free: 33.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3986, allocations: 1.031 kB / 0.5183 GB, free: 33.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001596/0.3988, allocations: 101.7 kB / 0.5184 GB, free: 33.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.3988, allocations: 5.781 kB / 0.5184 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3988, allocations: 0 / 0.5184 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3988, allocations: 0 / 0.5184 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.625e-05/0.3989, allocations: 14.66 kB / 0.5184 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.3989, allocations: 3.234 kB / 0.5184 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.992e-05/0.399, allocations: 11.03 kB / 0.5184 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.399, allocations: 7.031 kB / 0.5184 GB, free: 33.65 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 7.169e-05/0.3991, allocations: 120.3 kB / 0.5186 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.3991, allocations: 13.34 kB / 0.5186 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.357e-05/0.3991, allocations: 11.66 kB / 0.5186 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3991, allocations: 0 / 0.5186 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3991, allocations: 0 / 0.5186 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3992, allocations: 3.938 kB / 0.5186 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003393/0.3995, allocations: 394.4 kB / 0.519 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3995, allocations: 0 / 0.519 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.962e-05/0.3995, allocations: 9.906 kB / 0.519 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.3996, allocations: 2.875 kB / 0.519 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.3996, allocations: 4.312 kB / 0.519 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3996, allocations: 2.875 kB / 0.519 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3996, allocations: 0 / 0.519 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.3998, allocations: 212.9 kB / 0.5192 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.537e-05/0.3998, allocations: 88.61 kB / 0.5193 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.3998, allocations: 13.97 kB / 0.5193 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.249e-05/0.3999, allocations: 5.531 kB / 0.5193 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.4, allocations: 2.219 kB / 0.5193 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.4, allocations: 8.453 kB / 0.5193 GB, free: 32.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.105e-05/0.4001, allocations: 113.4 kB / 0.5194 GB, free: 32.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4001, allocations: 0 / 0.5194 GB, free: 32.78 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002441/0.4003, allocations: 34.53 kB / 0.5194 GB, free: 32.77 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.001204/0.4015, allocations: 0.5772 MB / 0.52 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.4017, allocations: 59.61 kB / 0.5201 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.4017, allocations: 1.125 kB / 0.5201 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.991e-05/0.4018, allocations: 28.09 kB / 0.5201 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.4022, allocations: 40.59 kB / 0.5201 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004031/0.4026, allocations: 203.6 kB / 0.5203 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.4027, allocations: 0.7007 MB / 0.521 GB, free: 31.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.719e-05/0.4028, allocations: 22.58 kB / 0.521 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.841e-05/0.4028, allocations: 15.41 kB / 0.521 GB, free: 31.5 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4028, allocations: 0 / 0.521 GB, free: 31.5 MB / 378.7 MB Notification: Performance of Templates: time 0.004508/0.4074, allocations: 1.877 MB / 0.5229 GB, free: 31.28 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches