Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009385/0.0009426, allocations: 173.4 kB / 17.4 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.398/1.398, allocations: 225.7 MB / 243.9 MB, free: 10.19 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.0007485/0.0007486, allocations: 92.58 kB / 295.1 MB, free: 9.734 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.3861/0.3861, allocations: 44.32 MB / 390.5 MB, free: 38.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000426/0.0004261, allocations: 11.98 kB / 463.2 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3971, allocations: 61.9 MB / 0.5128 GB, free: 37.85 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002073/0.3992, allocations: 1.555 MB / 0.5143 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.4007, allocations: 1.005 MB / 0.5153 GB, free: 36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.13e-05/0.4008, allocations: 2.188 kB / 0.5153 GB, free: 36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004438/0.4013, allocations: 254.1 kB / 0.5155 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002878/0.4016, allocations: 163 kB / 0.5157 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003742/0.402, allocations: 157.6 kB / 0.5158 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.4022, allocations: 249.2 kB / 0.516 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.4024, allocations: 28.66 kB / 0.5161 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.4025, allocations: 117.6 kB / 0.5162 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.4027, allocations: 174.9 kB / 0.5163 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.4027, allocations: 5.906 kB / 0.5164 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.4029, allocations: 58.81 kB / 0.5164 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.726e-05/0.403, allocations: 53.53 kB / 0.5165 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.944e-05/0.4031, allocations: 120.7 kB / 0.5166 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003184/0.4034, allocations: 231.4 kB / 0.5168 GB, free: 35.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.4034, allocations: 0 / 0.5168 GB, free: 35.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4034, allocations: 5.344 kB / 0.5168 GB, free: 35.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.4034, allocations: 0 / 0.5168 GB, free: 35.43 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006722/0.4041, allocations: 0.5181 MB / 0.5173 GB, free: 34.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.4042, allocations: 13.19 kB / 0.5173 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.576e-05/0.4042, allocations: 35.19 kB / 0.5174 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.4045, allocations: 291 kB / 0.5176 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.4e-05/0.4046, allocations: 3.406 kB / 0.5176 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.214e-05/0.4046, allocations: 13.41 kB / 0.5176 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.4049, allocations: 110.9 kB / 0.5178 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.4049, allocations: 1.094 kB / 0.5178 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.4049, allocations: 5.391 kB / 0.5178 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.4049, allocations: 5.406 kB / 0.5178 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.4051, allocations: 53.98 kB / 0.5178 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005106/0.4056, allocations: 473.7 kB / 0.5183 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003589/0.4059, allocations: 125.7 kB / 0.5184 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.327e-05/0.4061, allocations: 40.98 kB / 0.5184 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.4061, allocations: 7.75 kB / 0.5184 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000289/0.4064, allocations: 121.6 kB / 0.5185 GB, free: 33.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.4064, allocations: 0 / 0.5185 GB, free: 33.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.001323/0.4077, allocations: 0.4899 MB / 0.519 GB, free: 33.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.4078, allocations: 79.98 kB / 0.5191 GB, free: 33.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004868/0.4083, allocations: 490.8 kB / 0.5196 GB, free: 33.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.4083, allocations: 40.42 kB / 0.5196 GB, free: 33.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.486e-05/0.4084, allocations: 164.9 kB / 0.5198 GB, free: 33.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.674e-05/0.4085, allocations: 66.55 kB / 0.5198 GB, free: 33.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-06/0.4085, allocations: 4 kB / 0.5198 GB, free: 33.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.165e-05/0.4086, allocations: 352.2 kB / 0.5202 GB, free: 32.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.4087, allocations: 55.97 kB / 0.5202 GB, free: 32.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.4088, allocations: 88.19 kB / 0.5203 GB, free: 32.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003052/0.4091, allocations: 158.2 kB / 0.5205 GB, free: 32.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.4091, allocations: 0 / 0.5205 GB, free: 32.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000332/0.4095, allocations: 234.8 kB / 0.5207 GB, free: 32.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.4095, allocations: 9.875 kB / 0.5207 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4095, allocations: 11.33 kB / 0.5207 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.4095, allocations: 3.125 kB / 0.5207 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.4097, allocations: 40.72 kB / 0.5207 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.4097, allocations: 2.656 kB / 0.5207 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.825e-05/0.4098, allocations: 12.98 kB / 0.5208 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.4098, allocations: 5.281 kB / 0.5208 GB, free: 32.57 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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001305/0.4099, allocations: 179.1 kB / 0.5209 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.533e-05/0.41, allocations: 38.5 kB / 0.521 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.143e-05/0.4101, allocations: 43.44 kB / 0.521 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.4101, allocations: 2.688 kB / 0.521 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.4101, allocations: 0 / 0.521 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.4101, allocations: 6.844 kB / 0.521 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007016/0.4108, allocations: 0.7342 MB / 0.5217 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4108, allocations: 0 / 0.5217 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.228e-05/0.4109, allocations: 27.12 kB / 0.5218 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.4109, allocations: 6.938 kB / 0.5218 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.4109, allocations: 9.781 kB / 0.5218 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4109, allocations: 0 / 0.5218 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4109, allocations: 2.969 kB / 0.5218 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003563/0.4113, allocations: 433.1 kB / 0.5222 GB, free: 31.51 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.825e-05/0.4114, allocations: 108.7 kB / 0.5223 GB, free: 31.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.176e-05/0.4114, allocations: 6.75 kB / 0.5223 GB, free: 31.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.4115, allocations: 8.844 kB / 0.5223 GB, free: 31.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.95e-05/0.4116, allocations: 30.19 kB / 0.5223 GB, free: 31.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.4116, allocations: 9.984 kB / 0.5224 GB, free: 31.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002897/0.4119, allocations: 360.8 kB / 0.5227 GB, free: 31.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4119, allocations: 192 / 0.5227 GB, free: 31.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003165/0.4123, allocations: 45.19 kB / 0.5227 GB, free: 31.22 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001157/0.4134, allocations: 0.6063 MB / 0.5233 GB, free: 30.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003061/0.4137, allocations: 158.3 kB / 0.5235 GB, free: 30.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4138, allocations: 0 / 0.5235 GB, free: 30.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.4139, allocations: 81.48 kB / 0.5236 GB, free: 30.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005847/0.4145, allocations: 60.06 kB / 0.5236 GB, free: 30.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009054/0.4154, allocations: 0.656 MB / 0.5243 GB, free: 30.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.4156, allocations: 0.779 MB / 0.525 GB, free: 29.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001138/0.4158, allocations: 44.23 kB / 0.5251 GB, free: 29.63 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.802e-05/0.4158, allocations: 29.22 kB / 0.5251 GB, free: 29.62 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4158, allocations: 0 / 0.5251 GB, free: 29.62 MB / 378.7 MB Notification: Performance of Templates: time 0.005765/0.4216, allocations: 2.947 MB / 0.528 GB, free: 29.31 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches