Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 109.5 kB / 291.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4751/0.4751, allocations: 44.13 MB / 386.1 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 51.92 kB / 457.7 MB, free: 2.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.44/0.4412, allocations: 60.81 MB / 0.5064 GB, free: 38.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.00332/0.4446, allocations: 1.749 MB / 0.5081 GB, free: 37.03 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002386/0.447, allocations: 1.455 MB / 0.5095 GB, free: 36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.507e-05/0.4472, allocations: 4 kB / 0.5095 GB, free: 36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003722/0.4475, allocations: 35.95 kB / 0.5096 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.4478, allocations: 46.2 kB / 0.5096 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.4481, allocations: 103.3 kB / 0.5097 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.4483, allocations: 94.42 kB / 0.5098 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.4484, allocations: 6.328 kB / 0.5098 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.009e-05/0.4485, allocations: 39.19 kB / 0.5098 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.4487, allocations: 44.62 kB / 0.5099 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.4487, allocations: 2.906 kB / 0.5099 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.4488, allocations: 53.56 kB / 0.5099 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.763e-05/0.4489, allocations: 22.3 kB / 0.51 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.022e-05/0.449, allocations: 28.19 kB / 0.51 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.4492, allocations: 110.3 kB / 0.5101 GB, free: 35.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.4492, allocations: 7.938 kB / 0.5101 GB, free: 35.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4492, allocations: 0 / 0.5101 GB, free: 35.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.4492, allocations: 0 / 0.5101 GB, free: 35.72 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.0005749/0.4498, allocations: 405.7 kB / 0.5105 GB, free: 35.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.4498, allocations: 15.75 kB / 0.5105 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.403e-05/0.4499, allocations: 7.781 kB / 0.5105 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.4501, allocations: 206.6 kB / 0.5107 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.4502, allocations: 3.625 kB / 0.5107 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.4502, allocations: 7.094 kB / 0.5107 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.4504, allocations: 71.48 kB / 0.5108 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.4504, allocations: 0 / 0.5108 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.4504, allocations: 4 kB / 0.5108 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.4504, allocations: 4 kB / 0.5108 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.878e-05/0.4505, allocations: 23.59 kB / 0.5108 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003396/0.4509, allocations: 277.2 kB / 0.5111 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.451, allocations: 53.36 kB / 0.5111 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.887e-05/0.4511, allocations: 24.48 kB / 0.5112 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.4511, allocations: 6.688 kB / 0.5112 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001984/0.4513, allocations: 75.69 kB / 0.5112 GB, free: 34.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/0.4513, allocations: 0 / 0.5112 GB, free: 34.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005812/0.4519, allocations: 168.9 kB / 0.5114 GB, free: 34.53 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.452, allocations: 80.05 kB / 0.5115 GB, free: 34.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.4521, allocations: 146.8 kB / 0.5116 GB, free: 34.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.4521, allocations: 32.58 kB / 0.5116 GB, free: 34.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.4522, allocations: 102.4 kB / 0.5117 GB, free: 34.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.4522, allocations: 25.88 kB / 0.5118 GB, free: 34.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.4523, allocations: 22.25 kB / 0.5118 GB, free: 34.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.04e-05/0.4523, allocations: 324.8 kB / 0.5121 GB, free: 33.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.224e-05/0.4524, allocations: 22.69 kB / 0.5121 GB, free: 33.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.847e-05/0.4524, allocations: 44.36 kB / 0.5122 GB, free: 33.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.76e-05/0.4525, allocations: 58.69 kB / 0.5122 GB, free: 33.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4526, allocations: 0 / 0.5122 GB, free: 33.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001566/0.4527, allocations: 104.3 kB / 0.5123 GB, free: 33.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.4527, allocations: 5.719 kB / 0.5123 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.4528, allocations: 0 / 0.5123 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.4528, allocations: 2.969 kB / 0.5123 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.196e-05/0.4529, allocations: 15.02 kB / 0.5123 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.4529, allocations: 6.844 kB / 0.5123 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.446e-05/0.4529, allocations: 7.875 kB / 0.5124 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.4529, allocations: 7.094 kB / 0.5124 GB, free: 33.67 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.37e-05/0.453, allocations: 120.6 kB / 0.5125 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.453, allocations: 9.688 kB / 0.5125 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.246e-05/0.4531, allocations: 11.62 kB / 0.5125 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.4531, allocations: 2.906 kB / 0.5125 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.4531, allocations: 3.938 kB / 0.5125 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.4531, allocations: 7.359 kB / 0.5125 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.4535, allocations: 384.7 kB / 0.5129 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4535, allocations: 3.469 kB / 0.5129 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.837e-05/0.4535, allocations: 13.19 kB / 0.5129 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4535, allocations: 0 / 0.5129 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.4535, allocations: 6.969 kB / 0.5129 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.4535, allocations: 0 / 0.5129 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4535, allocations: 0 / 0.5129 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/0.4539, allocations: 0.7811 MB / 0.5137 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.823e-05/0.454, allocations: 83.64 kB / 0.5137 GB, free: 32.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.454, allocations: 3.406 kB / 0.5137 GB, free: 32.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.795e-05/0.4541, allocations: 9.953 kB / 0.5138 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.4541, allocations: 6.656 kB / 0.5138 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.4541, allocations: 10.56 kB / 0.5138 GB, free: 32.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.163e-05/0.4542, allocations: 121.3 kB / 0.5139 GB, free: 32.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4542, allocations: 0 / 0.5139 GB, free: 32.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003558/0.4546, allocations: 29.56 kB / 0.5139 GB, free: 32.21 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.001062/0.4556, allocations: 0.5078 MB / 0.5144 GB, free: 31.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.4559, allocations: 57.73 kB / 0.5145 GB, free: 31.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4559, allocations: 0 / 0.5145 GB, free: 31.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.856e-05/0.456, allocations: 36.33 kB / 0.5145 GB, free: 31.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.4563, allocations: 30.56 kB / 0.5145 GB, free: 31.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004613/0.4568, allocations: 335.2 kB / 0.5148 GB, free: 31.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.4569, allocations: 0.6968 MB / 0.5155 GB, free: 30.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.471e-05/0.457, allocations: 17.16 kB / 0.5155 GB, free: 30.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.457, allocations: 19.66 kB / 0.5156 GB, free: 30.92 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.457, allocations: 0 / 0.5156 GB, free: 30.92 MB / 378.7 MB Notification: Performance of Templates: time 0.004681/0.4617, allocations: 1.938 MB / 0.5175 GB, free: 30.7 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches