Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,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.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,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.Test46") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008914/0.0008954, allocations: 178.3 kB / 17.41 MB, free: 4.293 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.415/1.415, allocations: 225.7 MB / 243.9 MB, free: 8.473 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.0009187/0.0009189, allocations: 93.16 kB / 295.1 MB, free: 9.516 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.3634/0.3634, allocations: 44.32 MB / 390.5 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003445, allocations: 15.94 kB / 463.2 MB, free: 480 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3636, allocations: 61.9 MB / 0.5127 GB, free: 37.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.001622/0.3653, allocations: 1.401 MB / 0.5141 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.3664, allocations: 0.8976 MB / 0.515 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.212e-05/0.3665, allocations: 0 / 0.515 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000278/0.3667, allocations: 55.41 kB / 0.515 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.3669, allocations: 52.25 kB / 0.5151 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.3672, allocations: 95.62 kB / 0.5152 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.3673, allocations: 100.2 kB / 0.5153 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.228e-05/0.3674, allocations: 10.27 kB / 0.5153 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.981e-05/0.3675, allocations: 40.03 kB / 0.5153 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.944e-05/0.3676, allocations: 36.8 kB / 0.5154 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.3676, allocations: 3.984 kB / 0.5154 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.037e-05/0.3677, allocations: 35.97 kB / 0.5154 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.957e-05/0.3677, allocations: 21.83 kB / 0.5154 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.598e-05/0.3678, allocations: 67.89 kB / 0.5155 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.368, allocations: 119.2 kB / 0.5156 GB, free: 35.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.368, allocations: 7.938 kB / 0.5156 GB, free: 35.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.368, allocations: 0 / 0.5156 GB, free: 35.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.368, allocations: 0 / 0.5156 GB, free: 35.94 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.0004177/0.3684, allocations: 424.2 kB / 0.516 GB, free: 35.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.3684, allocations: 8.844 kB / 0.516 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.3685, allocations: 14.44 kB / 0.516 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.3687, allocations: 216.9 kB / 0.5162 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.3687, allocations: 384 / 0.5162 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.3687, allocations: 10.78 kB / 0.5162 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.3689, allocations: 56.45 kB / 0.5163 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3689, allocations: 3.938 kB / 0.5163 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.3689, allocations: 0 / 0.5163 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.3689, allocations: 3.938 kB / 0.5163 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.461e-05/0.369, allocations: 18.44 kB / 0.5163 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002812/0.3693, allocations: 302.9 kB / 0.5166 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.3694, allocations: 59.25 kB / 0.5167 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.581e-05/0.3695, allocations: 26.69 kB / 0.5167 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.3695, allocations: 0.7031 kB / 0.5167 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.3697, allocations: 65.09 kB / 0.5168 GB, free: 34.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3697, allocations: 0 / 0.5168 GB, free: 34.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004671/0.3701, allocations: 182.4 kB / 0.5169 GB, free: 34.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.3702, allocations: 54.8 kB / 0.517 GB, free: 34.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.3704, allocations: 262.2 kB / 0.5172 GB, free: 34.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.3704, allocations: 25.7 kB / 0.5173 GB, free: 34.49 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.413e-05/0.3704, allocations: 110 kB / 0.5174 GB, free: 34.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.3705, allocations: 28.12 kB / 0.5174 GB, free: 34.37 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.3705, allocations: 0 / 0.5174 GB, free: 34.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.36e-05/0.3705, allocations: 333.1 kB / 0.5177 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.058e-05/0.3706, allocations: 23.8 kB / 0.5177 GB, free: 34.03 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.959e-05/0.3706, allocations: 36.92 kB / 0.5178 GB, free: 34.01 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.873e-05/0.3707, allocations: 59.56 kB / 0.5178 GB, free: 33.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3708, allocations: 3.938 kB / 0.5178 GB, free: 33.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001728/0.3709, allocations: 109.8 kB / 0.5179 GB, free: 33.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.371, allocations: 5.812 kB / 0.5179 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.371, allocations: 4.031 kB / 0.5179 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.371, allocations: 2.031 kB / 0.5179 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.371e-05/0.3711, allocations: 14.84 kB / 0.518 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3711, allocations: 1.062 kB / 0.518 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.61e-05/0.3711, allocations: 7.109 kB / 0.518 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.3711, allocations: 3.938 kB / 0.518 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 7.818e-05/0.3712, allocations: 134.2 kB / 0.5181 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.3713, allocations: 14.97 kB / 0.5181 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.518e-05/0.3713, allocations: 22.27 kB / 0.5181 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3713, allocations: 6.234 kB / 0.5181 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3713, allocations: 0 / 0.5181 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3713, allocations: 5.734 kB / 0.5181 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/0.3717, allocations: 396.7 kB / 0.5185 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.3717, allocations: 5.312 kB / 0.5185 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.183e-05/0.3717, allocations: 9.391 kB / 0.5185 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.3718, allocations: 0 / 0.5185 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.3718, allocations: 14.75 kB / 0.5186 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.3718, allocations: 2.031 kB / 0.5186 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.3718, allocations: 0 / 0.5186 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.372, allocations: 202.5 kB / 0.5187 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.561e-05/0.372, allocations: 90.95 kB / 0.5188 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.3721, allocations: 10.28 kB / 0.5188 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.149e-05/0.3721, allocations: 7.703 kB / 0.5189 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.3722, allocations: 11.66 kB / 0.5189 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.3722, allocations: 3.344 kB / 0.5189 GB, free: 33.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001465/0.3724, allocations: 201.2 kB / 0.5191 GB, free: 32.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3724, allocations: 0 / 0.5191 GB, free: 32.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002376/0.3726, allocations: 27.75 kB / 0.5191 GB, free: 32.98 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.0009532/0.3736, allocations: 0.5216 MB / 0.5196 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001475/0.3737, allocations: 59.67 kB / 0.5197 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3737, allocations: 0 / 0.5197 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.947e-05/0.3738, allocations: 28.38 kB / 0.5197 GB, free: 32.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.3741, allocations: 26.44 kB / 0.5197 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000471/0.3746, allocations: 323.5 kB / 0.52 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/0.3748, allocations: 0.7136 MB / 0.5207 GB, free: 31.71 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.469e-05/0.3748, allocations: 16.78 kB / 0.5207 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.3749, allocations: 20.62 kB / 0.5207 GB, free: 31.7 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.3749, allocations: 3.938 kB / 0.5207 GB, free: 31.69 MB / 378.7 MB Notification: Performance of Templates: time 0.003923/0.3788, allocations: 1.659 MB / 0.5224 GB, free: 31.5 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches