Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 174.1 kB / 17.4 MB, free: 4.297 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.345/1.345, allocations: 225.7 MB / 243.9 MB, free: 8.438 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.0008253/0.0008253, allocations: 98.09 kB / 295.1 MB, free: 9.484 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.3845/0.3845, allocations: 44.32 MB / 390.5 MB, free: 38.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002936/0.0002936, allocations: 16 kB / 463.1 MB, free: 468 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3918, allocations: 61.91 MB / 0.5127 GB, free: 37.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002371/0.3942, allocations: 1.48 MB / 0.5142 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.396, allocations: 0.9734 MB / 0.5151 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.3962, allocations: 3.406 kB / 0.5151 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000762/0.397, allocations: 298.1 kB / 0.5154 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005665/0.3976, allocations: 208.4 kB / 0.5156 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005903/0.3982, allocations: 148.2 kB / 0.5158 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003715/0.3986, allocations: 235.4 kB / 0.516 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.965e-05/0.3987, allocations: 14.05 kB / 0.516 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.3989, allocations: 115 kB / 0.5161 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.3991, allocations: 197.5 kB / 0.5163 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.107e-05/0.3992, allocations: 6.797 kB / 0.5163 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.3993, allocations: 34.5 kB / 0.5163 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000189/0.3995, allocations: 130.2 kB / 0.5165 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.3997, allocations: 170.5 kB / 0.5166 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000598/0.4003, allocations: 350.1 kB / 0.517 GB, free: 35.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.4004, allocations: 4.641 kB / 0.517 GB, free: 35.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.4004, allocations: 1.062 kB / 0.517 GB, free: 35.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.4004, allocations: 0 / 0.517 GB, free: 35.54 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001216/0.4016, allocations: 0.6664 MB / 0.5176 GB, free: 34.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/0.4017, allocations: 8.75 kB / 0.5176 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.4018, allocations: 45.75 kB / 0.5177 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007818/0.4026, allocations: 446.8 kB / 0.5181 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.4026, allocations: 7.312 kB / 0.5181 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.4027, allocations: 7.094 kB / 0.5181 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.403, allocations: 81.5 kB / 0.5182 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.403, allocations: 6.906 kB / 0.5182 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.403, allocations: 0 / 0.5182 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.403, allocations: 0 / 0.5182 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.4032, allocations: 36.3 kB / 0.5182 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005304/0.4037, allocations: 382.3 kB / 0.5186 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003679/0.4041, allocations: 104.7 kB / 0.5187 GB, free: 34.22 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.4043, allocations: 44.09 kB / 0.5187 GB, free: 34.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.4043, allocations: 1.031 kB / 0.5187 GB, free: 34.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003382/0.4046, allocations: 107.8 kB / 0.5188 GB, free: 34.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.815e-06/0.4047, allocations: 3.984 kB / 0.5188 GB, free: 34.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.000656/0.4053, allocations: 197.5 kB / 0.519 GB, free: 34.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.4054, allocations: 82.27 kB / 0.5191 GB, free: 33.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/0.407, allocations: 1.029 MB / 0.5201 GB, free: 33.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.407, allocations: 28.67 kB / 0.5201 GB, free: 33.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000216/0.4072, allocations: 232.4 kB / 0.5204 GB, free: 33.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.193e-05/0.4073, allocations: 30.12 kB / 0.5204 GB, free: 33.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/0.4073, allocations: 4 kB / 0.5204 GB, free: 33.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.4075, allocations: 368.1 kB / 0.5208 GB, free: 32.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.4076, allocations: 28.41 kB / 0.5208 GB, free: 32.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.4078, allocations: 62.83 kB / 0.5208 GB, free: 32.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002443/0.4081, allocations: 92.27 kB / 0.5209 GB, free: 32.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4081, allocations: 0 / 0.5209 GB, free: 32.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004358/0.4085, allocations: 170.9 kB / 0.5211 GB, free: 32.78 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.4086, allocations: 5.875 kB / 0.5211 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.4086, allocations: 0 / 0.5211 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.4086, allocations: 2.844 kB / 0.5211 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.4088, allocations: 20.88 kB / 0.5211 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.4088, allocations: 14.39 kB / 0.5211 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.409, allocations: 17.31 kB / 0.5211 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.409, allocations: 3.031 kB / 0.5211 GB, free: 32.76 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0002739/0.4093, allocations: 218.2 kB / 0.5214 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.777e-05/0.4094, allocations: 51.31 kB / 0.5214 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.4095, allocations: 62.7 kB / 0.5215 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.4095, allocations: 3 kB / 0.5215 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.4096, allocations: 0 / 0.5215 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.4096, allocations: 4 kB / 0.5215 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003931/0.41, allocations: 343.5 kB / 0.5218 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.41, allocations: 2.875 kB / 0.5218 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.658e-05/0.4101, allocations: 5.844 kB / 0.5218 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.4101, allocations: 7.875 kB / 0.5218 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.4101, allocations: 9.984 kB / 0.5218 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4101, allocations: 0 / 0.5218 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4101, allocations: 0 / 0.5218 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004302/0.4106, allocations: 203.2 kB / 0.522 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/0.4107, allocations: 146.3 kB / 0.5222 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.195e-05/0.4108, allocations: 6.141 kB / 0.5222 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.411, allocations: 7 kB / 0.5222 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.231e-05/0.4111, allocations: 9.281 kB / 0.5222 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/0.4111, allocations: 6.5 kB / 0.5222 GB, free: 32.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00107/0.4122, allocations: 0.7652 MB / 0.5229 GB, free: 31.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.4122, allocations: 4 kB / 0.5229 GB, free: 31.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004534/0.4127, allocations: 39.62 kB / 0.523 GB, free: 31.76 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001404/0.4141, allocations: 478.8 kB / 0.5234 GB, free: 31.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003213/0.4144, allocations: 80.69 kB / 0.5235 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.4144, allocations: 2.812 kB / 0.5235 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.4146, allocations: 38.92 kB / 0.5235 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006624/0.4153, allocations: 76.3 kB / 0.5236 GB, free: 31.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.4169, allocations: 0.9538 MB / 0.5246 GB, free: 30.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.4174, allocations: 0.8409 MB / 0.5254 GB, free: 30.22 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002104/0.4176, allocations: 60.69 kB / 0.5254 GB, free: 30.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.4177, allocations: 28.59 kB / 0.5255 GB, free: 30.21 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4177, allocations: 0 / 0.5255 GB, free: 30.21 MB / 378.7 MB Notification: Performance of Templates: time 0.00998/0.4277, allocations: 3.468 MB / 0.5288 GB, free: 29.88 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches