Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,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.Test3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009112/0.0009112, allocations: 174.2 kB / 17.41 MB, free: 4.414 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.35/1.35, allocations: 225.7 MB / 243.9 MB, free: 8.43 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.0008142/0.0008142, allocations: 92.39 kB / 295.1 MB, free: 9.457 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.3607/0.3607, allocations: 44.31 MB / 390.5 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.0003542, allocations: 12 kB / 463.2 MB, free: 444 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3902, allocations: 61.9 MB / 0.5127 GB, free: 37.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.00181/0.392, allocations: 1.401 MB / 0.5141 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.3932, allocations: 0.891 MB / 0.515 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.096e-05/0.3932, allocations: 2.469 kB / 0.515 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.3935, allocations: 36.42 kB / 0.515 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.3937, allocations: 46.61 kB / 0.5151 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.3939, allocations: 98.06 kB / 0.5152 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.3941, allocations: 91.52 kB / 0.5152 GB, free: 36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.362e-05/0.3942, allocations: 9.547 kB / 0.5153 GB, free: 36 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.095e-05/0.3943, allocations: 41.5 kB / 0.5153 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.84e-05/0.3943, allocations: 29.17 kB / 0.5153 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.3944, allocations: 2.688 kB / 0.5153 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.151e-05/0.3945, allocations: 34.06 kB / 0.5154 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.735e-05/0.3945, allocations: 16.47 kB / 0.5154 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.109e-05/0.3946, allocations: 56.53 kB / 0.5154 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.3947, allocations: 97.91 kB / 0.5155 GB, free: 35.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3948, allocations: 0 / 0.5155 GB, free: 35.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3948, allocations: 8.688 kB / 0.5155 GB, free: 35.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.3948, allocations: 0.9375 kB / 0.5155 GB, free: 35.85 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.0004449/0.3952, allocations: 386.7 kB / 0.5159 GB, free: 35.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.3953, allocations: 9.625 kB / 0.5159 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.3953, allocations: 12.44 kB / 0.5159 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.3955, allocations: 204.8 kB / 0.5161 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.3955, allocations: 5.906 kB / 0.5161 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.3956, allocations: 1.781 kB / 0.5161 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.3957, allocations: 56.61 kB / 0.5162 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3957, allocations: 0 / 0.5162 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-06/0.3957, allocations: 5.156 kB / 0.5162 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3957, allocations: 1.219 kB / 0.5162 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.545e-05/0.3958, allocations: 16.72 kB / 0.5162 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002739/0.3961, allocations: 285 kB / 0.5165 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.3962, allocations: 62.27 kB / 0.5165 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.418e-05/0.3963, allocations: 23.95 kB / 0.5165 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.3963, allocations: 3.938 kB / 0.5166 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001587/0.3965, allocations: 68.39 kB / 0.5166 GB, free: 34.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.3965, allocations: 0 / 0.5166 GB, free: 34.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004593/0.397, allocations: 167.4 kB / 0.5168 GB, free: 34.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.397, allocations: 58.16 kB / 0.5168 GB, free: 34.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.3971, allocations: 164.3 kB / 0.517 GB, free: 34.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.3971, allocations: 25.7 kB / 0.517 GB, free: 34.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.549e-05/0.3972, allocations: 99.05 kB / 0.5171 GB, free: 34.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.3972, allocations: 24.83 kB / 0.5171 GB, free: 34.37 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.3972, allocations: 0 / 0.5171 GB, free: 34.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.967e-05/0.3973, allocations: 324.8 kB / 0.5174 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.101e-05/0.3973, allocations: 22.59 kB / 0.5175 GB, free: 34.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.194e-05/0.3974, allocations: 38.98 kB / 0.5175 GB, free: 34.01 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.337e-05/0.3975, allocations: 55.5 kB / 0.5176 GB, free: 33.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3975, allocations: 2.656 kB / 0.5176 GB, free: 33.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001464/0.3977, allocations: 106.2 kB / 0.5177 GB, free: 33.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.3977, allocations: 5.938 kB / 0.5177 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.3977, allocations: 0 / 0.5177 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3977, allocations: 10.78 kB / 0.5177 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.188e-05/0.3978, allocations: 19.22 kB / 0.5177 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.3978, allocations: 3 kB / 0.5177 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.276e-05/0.3979, allocations: 2.875 kB / 0.5177 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.3979, allocations: 6.844 kB / 0.5177 GB, free: 33.89 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 6.844e-05/0.3979, allocations: 122.1 kB / 0.5178 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.398, allocations: 13.17 kB / 0.5178 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.125e-05/0.398, allocations: 15.41 kB / 0.5178 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.398, allocations: 7.156 kB / 0.5179 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.398, allocations: 3.938 kB / 0.5179 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.398, allocations: 0 / 0.5179 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003385/0.3984, allocations: 389.5 kB / 0.5182 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3984, allocations: 0 / 0.5182 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.126e-05/0.3984, allocations: 12.31 kB / 0.5182 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3984, allocations: 0 / 0.5182 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.3984, allocations: 2.625 kB / 0.5182 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3985, allocations: 7.406 kB / 0.5183 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3985, allocations: 0 / 0.5183 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.3986, allocations: 205.3 kB / 0.5184 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.913e-05/0.3987, allocations: 90.81 kB / 0.5185 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.3987, allocations: 2.375 kB / 0.5185 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.627e-05/0.3988, allocations: 7.406 kB / 0.5185 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.3988, allocations: 13.55 kB / 0.5186 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.3988, allocations: 2.812 kB / 0.5186 GB, free: 33.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.197e-05/0.3989, allocations: 125.8 kB / 0.5187 GB, free: 33.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3989, allocations: 0 / 0.5187 GB, free: 33.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002302/0.3991, allocations: 24.69 kB / 0.5187 GB, free: 33.01 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.0009774/0.4001, allocations: 0.5219 MB / 0.5192 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001702/0.4003, allocations: 63.81 kB / 0.5193 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4003, allocations: 1.031 kB / 0.5193 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.711e-05/0.4004, allocations: 25.66 kB / 0.5193 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.4007, allocations: 23.53 kB / 0.5193 GB, free: 32.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003701/0.4011, allocations: 228.8 kB / 0.5195 GB, free: 32.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.4012, allocations: 0.6966 MB / 0.5202 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.451e-05/0.4013, allocations: 21.33 kB / 0.5202 GB, free: 31.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.4013, allocations: 15.97 kB / 0.5203 GB, free: 31.77 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4013, allocations: 0 / 0.5203 GB, free: 31.77 MB / 378.7 MB Notification: Performance of Templates: time 0.003837/0.4052, allocations: 1.617 MB / 0.5218 GB, free: 31.58 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches