Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 176.6 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.442/1.442, 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.0008557/0.000856, allocations: 98.69 kB / 295.1 MB, free: 9.746 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.3672/0.3672, allocations: 44.32 MB / 390.5 MB, free: 38.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003348/0.0003348, allocations: 12 kB / 463.2 MB, free: 484 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3442, allocations: 61.9 MB / 0.5127 GB, free: 38.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.001572/0.3458, allocations: 1.482 MB / 0.5142 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.3473, allocations: 1.633 MB / 0.5158 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.129e-05/0.3474, allocations: 0 / 0.5158 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.3477, allocations: 49.88 kB / 0.5158 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001875/0.3479, allocations: 70.25 kB / 0.5159 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.3482, allocations: 160.6 kB / 0.5161 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.3484, allocations: 172.3 kB / 0.5162 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.06e-05/0.3484, allocations: 18.45 kB / 0.5162 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.852e-05/0.3485, allocations: 73.61 kB / 0.5163 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.3487, allocations: 68.86 kB / 0.5164 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.3487, allocations: 2.969 kB / 0.5164 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.3488, allocations: 55.28 kB / 0.5164 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.615e-05/0.3489, allocations: 20.91 kB / 0.5164 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.81e-05/0.3489, allocations: 87.89 kB / 0.5165 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.3492, allocations: 168.6 kB / 0.5167 GB, free: 35.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.3492, allocations: 4 kB / 0.5167 GB, free: 35.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3492, allocations: 0 / 0.5167 GB, free: 35.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.3492, allocations: 0 / 0.5167 GB, free: 35.36 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.0004616/0.3497, allocations: 440.2 kB / 0.5171 GB, free: 34.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.3497, allocations: 9.5 kB / 0.5171 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.722e-05/0.3497, allocations: 15.78 kB / 0.5171 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.35, allocations: 241.2 kB / 0.5174 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.35, allocations: 5.719 kB / 0.5174 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.35, allocations: 11.19 kB / 0.5174 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.3502, allocations: 91.41 kB / 0.5175 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.3503, allocations: 0 / 0.5175 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.3503, allocations: 6.5 kB / 0.5175 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3503, allocations: 1.031 kB / 0.5175 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.3504, allocations: 29.53 kB / 0.5175 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001795/0.3506, allocations: 213.2 kB / 0.5177 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.3508, allocations: 104.8 kB / 0.5178 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.551e-05/0.3509, allocations: 46.16 kB / 0.5179 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.3509, allocations: 2.688 kB / 0.5179 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002512/0.3512, allocations: 105 kB / 0.518 GB, free: 34.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.3512, allocations: 3.938 kB / 0.518 GB, free: 34.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003717/0.3516, allocations: 165.1 kB / 0.5181 GB, free: 34.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.3516, allocations: 139.5 kB / 0.5183 GB, free: 33.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.3518, allocations: 207.4 kB / 0.5185 GB, free: 33.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.3518, allocations: 29.03 kB / 0.5185 GB, free: 33.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/0.3519, allocations: 116.2 kB / 0.5186 GB, free: 33.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.3519, allocations: 30.52 kB / 0.5186 GB, free: 33.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.3519, allocations: 2.656 kB / 0.5186 GB, free: 33.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.533e-05/0.352, allocations: 328.2 kB / 0.5189 GB, free: 33.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.991e-05/0.3521, allocations: 33.5 kB / 0.519 GB, free: 33.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.069e-05/0.3522, allocations: 68.62 kB / 0.519 GB, free: 33.26 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.3523, allocations: 89.95 kB / 0.5191 GB, free: 33.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3523, allocations: 4.031 kB / 0.5191 GB, free: 33.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000204/0.3525, allocations: 140.5 kB / 0.5193 GB, free: 33.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.3525, allocations: 5.156 kB / 0.5193 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.3525, allocations: 2.75 kB / 0.5193 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.3526, allocations: 0 / 0.5193 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.843e-05/0.3527, allocations: 21.39 kB / 0.5193 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.3527, allocations: 1.156 kB / 0.5193 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.436e-05/0.3528, allocations: 17.03 kB / 0.5193 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.3528, allocations: 9.031 kB / 0.5193 GB, free: 33.11 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_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (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 8.775e-05/0.3529, allocations: 133.5 kB / 0.5194 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.3529, allocations: 19.81 kB / 0.5195 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.218e-05/0.3529, allocations: 22.64 kB / 0.5195 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.353, allocations: 5.359 kB / 0.5195 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.353, allocations: 0 / 0.5195 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.353, allocations: 1.188 kB / 0.5195 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.3531, allocations: 217.5 kB / 0.5197 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3531, allocations: 0 / 0.5197 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.196e-05/0.3532, allocations: 9.906 kB / 0.5197 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3532, allocations: 4.969 kB / 0.5197 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.3532, allocations: 2.375 kB / 0.5197 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3532, allocations: 1 kB / 0.5197 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3532, allocations: 0.9688 kB / 0.5197 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.3535, allocations: 167.1 kB / 0.5199 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.028e-05/0.3535, allocations: 97.12 kB / 0.52 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.3535, allocations: 13.27 kB / 0.52 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.145e-05/0.3536, allocations: 9.125 kB / 0.52 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.3537, allocations: 7.141 kB / 0.52 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.3537, allocations: 11.34 kB / 0.52 GB, free: 32.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001163/0.3538, allocations: 156.2 kB / 0.5201 GB, free: 32.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3538, allocations: 0 / 0.5201 GB, free: 32.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002272/0.354, allocations: 38.78 kB / 0.5202 GB, free: 32.4 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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.0009299/0.355, allocations: 0.5272 MB / 0.5207 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002239/0.3552, allocations: 74.5 kB / 0.5208 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3552, allocations: 0 / 0.5208 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.642e-05/0.3553, allocations: 44.17 kB / 0.5208 GB, free: 32.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.3557, allocations: 62.86 kB / 0.5209 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004503/0.3561, allocations: 296.3 kB / 0.5212 GB, free: 31.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.3563, allocations: 0.7123 MB / 0.5219 GB, free: 31.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.329e-05/0.3564, allocations: 37.72 kB / 0.5219 GB, free: 31.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.723e-05/0.3564, allocations: 22.83 kB / 0.5219 GB, free: 31.1 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3564, allocations: 0 / 0.5219 GB, free: 31.1 MB / 378.7 MB Notification: Performance of Templates: time 0.004696/0.3611, allocations: 2.51 MB / 0.5244 GB, free: 30.83 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches