Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, 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.332/1.332, allocations: 222.9 MB / 241.6 MB, free: 10.99 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.001074/0.001074, allocations: 107 kB / 291.9 MB, free: 10.94 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.4016/0.4016, allocations: 44.13 MB / 386.1 MB, free: 37.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 59.91 kB / 457.8 MB, free: 2.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4327/0.4338, allocations: 60.8 MB / 0.5064 GB, free: 38.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003856/0.4377, allocations: 2.278 MB / 0.5086 GB, free: 36.94 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.4396, allocations: 1.179 MB / 0.5098 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.4397, allocations: 6.875 kB / 0.5098 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004575/0.4402, allocations: 127.1 kB / 0.5099 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000348/0.4406, allocations: 166.2 kB / 0.5101 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007316/0.4413, allocations: 297.1 kB / 0.5103 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003961/0.4417, allocations: 411.3 kB / 0.5107 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.4419, allocations: 54.11 kB / 0.5108 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002723/0.4422, allocations: 283.8 kB / 0.5111 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.4423, allocations: 152 kB / 0.5112 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.084e-05/0.4424, allocations: 8.625 kB / 0.5112 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.4425, allocations: 56.8 kB / 0.5113 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.4427, allocations: 147.7 kB / 0.5114 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.4428, allocations: 188.6 kB / 0.5116 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.4432, allocations: 449.3 kB / 0.512 GB, free: 35.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4433, allocations: 0 / 0.512 GB, free: 35.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4433, allocations: 0 / 0.512 GB, free: 35.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.4433, allocations: 3.938 kB / 0.512 GB, free: 35.11 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001014/0.4443, allocations: 0.8599 MB / 0.5129 GB, free: 34.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.4444, allocations: 11.81 kB / 0.5129 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.545e-05/0.4445, allocations: 67.28 kB / 0.5129 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004492/0.4449, allocations: 443.1 kB / 0.5134 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.4449, allocations: 9.688 kB / 0.5134 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.068e-05/0.445, allocations: 26.22 kB / 0.5134 GB, free: 34.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003506/0.4453, allocations: 193.4 kB / 0.5136 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.4454, allocations: 3 kB / 0.5136 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.4454, allocations: 7.047 kB / 0.5136 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.4454, allocations: 2.781 kB / 0.5136 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.4456, allocations: 94.92 kB / 0.5137 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007798/0.4464, allocations: 0.8192 MB / 0.5145 GB, free: 33.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005681/0.447, allocations: 246.1 kB / 0.5147 GB, free: 33.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.4472, allocations: 90.48 kB / 0.5148 GB, free: 33.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.4472, allocations: 3.688 kB / 0.5148 GB, free: 33.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000437/0.4477, allocations: 210.9 kB / 0.515 GB, free: 32.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.804e-06/0.4477, allocations: 0 / 0.515 GB, free: 32.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.002367/0.4501, allocations: 1.144 MB / 0.5161 GB, free: 32.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.4501, allocations: 140.5 kB / 0.5163 GB, free: 32.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009555/0.4511, allocations: 0.9256 MB / 0.5172 GB, free: 31.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.4511, allocations: 36.67 kB / 0.5172 GB, free: 31.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.4513, allocations: 259.3 kB / 0.5174 GB, free: 31.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.982e-05/0.4514, allocations: 139.2 kB / 0.5176 GB, free: 31.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.4515, allocations: 79.94 kB / 0.5177 GB, free: 31.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.4516, allocations: 383.8 kB / 0.518 GB, free: 31.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.4518, allocations: 113.4 kB / 0.5181 GB, free: 31.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/0.4521, allocations: 179.5 kB / 0.5183 GB, free: 30.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004823/0.4526, allocations: 328.8 kB / 0.5186 GB, free: 30.78 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.4526, allocations: 0 / 0.5186 GB, free: 30.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007549/0.4534, allocations: 435.8 kB / 0.519 GB, free: 30.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.4534, allocations: 5.781 kB / 0.519 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.4534, allocations: 2.938 kB / 0.519 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.4534, allocations: 3.516 kB / 0.519 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/0.4537, allocations: 91.98 kB / 0.5191 GB, free: 30.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.4538, allocations: 3.562 kB / 0.5191 GB, free: 30.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.4539, allocations: 24 kB / 0.5192 GB, free: 30.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.454, allocations: 18.77 kB / 0.5192 GB, free: 30.56 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0003114/0.4543, allocations: 255.4 kB / 0.5194 GB, free: 30.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-05/0.4544, allocations: 73.83 kB / 0.5195 GB, free: 30.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.4546, allocations: 96.8 kB / 0.5196 GB, free: 30.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-06/0.4546, allocations: 9.031 kB / 0.5196 GB, free: 30.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/0.4546, allocations: 3.094 kB / 0.5196 GB, free: 30.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.4546, allocations: 5.953 kB / 0.5196 GB, free: 30.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/0.4562, allocations: 1.326 MB / 0.5209 GB, free: 29.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.4562, allocations: 2.906 kB / 0.5209 GB, free: 29.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.4563, allocations: 61.89 kB / 0.521 GB, free: 29.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.4564, allocations: 2.969 kB / 0.521 GB, free: 29.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/0.4564, allocations: 15.45 kB / 0.521 GB, free: 29.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/0.4564, allocations: 7.203 kB / 0.521 GB, free: 29.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.4564, allocations: 6.906 kB / 0.521 GB, free: 29.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.4577, allocations: 1.571 MB / 0.5225 GB, free: 28.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/0.4579, allocations: 182.8 kB / 0.5227 GB, free: 28.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.648e-05/0.458, allocations: 13.66 kB / 0.5227 GB, free: 28.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.4582, allocations: 19.39 kB / 0.5227 GB, free: 28.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.4583, allocations: 37.64 kB / 0.5228 GB, free: 28.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.208e-05/0.4584, allocations: 24.33 kB / 0.5228 GB, free: 28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006998/0.4591, allocations: 0.6781 MB / 0.5234 GB, free: 27.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4591, allocations: 7.875 kB / 0.5235 GB, free: 27.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006194/0.4597, allocations: 85.62 kB / 0.5235 GB, free: 27.74 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001235/0.461, allocations: 0.5402 MB / 0.5241 GB, free: 27.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006181/0.4616, allocations: 314.3 kB / 0.5244 GB, free: 27.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4616, allocations: 0 / 0.5244 GB, free: 27.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002825/0.4619, allocations: 156 kB / 0.5245 GB, free: 27.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009149/0.4628, allocations: 117.3 kB / 0.5246 GB, free: 27.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.465, allocations: 1.604 MB / 0.5262 GB, free: 26.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00047/0.4655, allocations: 0.9139 MB / 0.5271 GB, free: 25.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002751/0.4658, allocations: 80.75 kB / 0.5272 GB, free: 25.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.4659, allocations: 48.22 kB / 0.5272 GB, free: 25.55 MB / 378.7 MB Notification: Performance of SimCode: time 9.91e-07/0.4659, allocations: 0 / 0.5272 GB, free: 25.55 MB / 378.7 MB Notification: Performance of Templates: time 0.01063/0.4766, allocations: 5.299 MB / 0.5324 GB, free: 25.05 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches