Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 113.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002018/0.002018, allocations: 179.9 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2195/0.2195, allocations: 44.2 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 67.88 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4135, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003743/0.4172, allocations: 1.817 MB / 0.5207 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.4187, allocations: 0.8868 MB / 0.5216 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.126e-05/0.4188, allocations: 1.5 kB / 0.5216 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002917/0.4191, allocations: 59.3 kB / 0.5216 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002817/0.4194, allocations: 81.45 kB / 0.5217 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005375/0.4199, allocations: 211 kB / 0.5219 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002655/0.4202, allocations: 197 kB / 0.5221 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.4203, allocations: 15.81 kB / 0.5221 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.4205, allocations: 79.83 kB / 0.5222 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.4206, allocations: 105.7 kB / 0.5223 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.722e-05/0.4206, allocations: 16.62 kB / 0.5223 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.4208, allocations: 41.23 kB / 0.5223 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.4209, allocations: 40.2 kB / 0.5224 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.629e-05/0.421, allocations: 67.22 kB / 0.5224 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003699/0.4213, allocations: 184.2 kB / 0.5226 GB, free: 1.262 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.4213, allocations: 0 / 0.5226 GB, free: 1.262 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.188e-06/0.4213, allocations: 0.8438 kB / 0.5226 GB, free: 1.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.4214, allocations: 1.188 kB / 0.5226 GB, free: 1.262 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001106/0.4225, allocations: 0.5724 MB / 0.5232 GB, free: 0.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.4225, allocations: 8.719 kB / 0.5232 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.227e-05/0.4226, allocations: 18.34 kB / 0.5232 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.4228, allocations: 237.5 kB / 0.5234 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.4228, allocations: 4.75 kB / 0.5234 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/0.4229, allocations: 16.77 kB / 0.5235 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005141/0.4234, allocations: 154.2 kB / 0.5236 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.4234, allocations: 0 / 0.5236 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.4234, allocations: 1.531 kB / 0.5236 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.4234, allocations: 1.062 kB / 0.5236 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007492/0.4242, allocations: 167.1 kB / 0.5238 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008085/0.425, allocations: 423.3 kB / 0.5242 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008428/0.4258, allocations: 201.4 kB / 0.5244 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/0.4262, allocations: 96.81 kB / 0.5245 GB, free: 0 / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.181e-05/0.4263, allocations: 0.7656 kB / 0.5245 GB, free: 16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005857/0.4268, allocations: 181.3 kB / 0.5246 GB, free: 15.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/0.4268, allocations: 0 / 0.5246 GB, free: 15.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.003895/0.4307, allocations: 0.8307 MB / 0.5254 GB, free: 15.61 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.4308, allocations: 62.16 kB / 0.5255 GB, free: 15.54 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.4311, allocations: 237.5 kB / 0.5257 GB, free: 15.38 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.4311, allocations: 27.86 kB / 0.5257 GB, free: 15.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.656e-05/0.4312, allocations: 120.6 kB / 0.5259 GB, free: 15.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.074e-05/0.4312, allocations: 37.09 kB / 0.5259 GB, free: 15.2 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.4313, allocations: 38.3 kB / 0.5259 GB, free: 15.17 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.4315, allocations: 327.1 kB / 0.5262 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007219/0.4322, allocations: 171.8 kB / 0.5264 GB, free: 14.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007188/0.4329, allocations: 176.5 kB / 0.5266 GB, free: 14.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.4343, allocations: 380.7 kB / 0.5269 GB, free: 14.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.4343, allocations: 0 / 0.5269 GB, free: 14.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001596/0.4359, allocations: 476.1 kB / 0.5274 GB, free: 14.19 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.274e-05/0.4359, allocations: 62.12 kB / 0.5275 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.4359, allocations: 3.984 kB / 0.5275 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.4359, allocations: 1.594 kB / 0.5275 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004193/0.4364, allocations: 68.25 kB / 0.5275 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.4364, allocations: 3.938 kB / 0.5275 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004211/0.4368, allocations: 62.38 kB / 0.5276 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/0.4368, allocations: 12.34 kB / 0.5276 GB, free: 14.05 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001641/0.437, allocations: 137.1 kB / 0.5277 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.242e-05/0.437, allocations: 19.97 kB / 0.5277 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/0.4386, allocations: 416.1 kB / 0.5281 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4386, allocations: 2.312 kB / 0.5281 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.4386, allocations: 3.938 kB / 0.5282 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4387, allocations: 0 / 0.5282 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00181/0.4405, allocations: 0.7229 MB / 0.5289 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.4405, allocations: 7.875 kB / 0.5289 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003639/0.4408, allocations: 63.56 kB / 0.5289 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.4408, allocations: 4.969 kB / 0.5289 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.4409, allocations: 10.06 kB / 0.5289 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4409, allocations: 0 / 0.5289 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4409, allocations: 1.031 kB / 0.5289 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.4424, allocations: 493.2 kB / 0.5294 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.233e-05/0.4424, allocations: 97.36 kB / 0.5295 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/0.4425, allocations: 5.062 kB / 0.5295 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004146/0.4429, allocations: 61.59 kB / 0.5296 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/0.443, allocations: 46.09 kB / 0.5296 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.4431, allocations: 3.312 kB / 0.5296 GB, free: 12.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001654/0.4432, allocations: 185 kB / 0.5298 GB, free: 12.49 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4432, allocations: 4 kB / 0.5298 GB, free: 12.49 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003261/0.4435, allocations: 46.2 kB / 0.5298 GB, free: 12.48 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.0009017/0.4444, allocations: 410.6 kB / 0.5302 GB, free: 12.28 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001574/0.446, allocations: 472.7 kB / 0.5307 GB, free: 11.99 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.446, allocations: 4 kB / 0.5307 GB, free: 11.99 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007392/0.4468, allocations: 188.4 kB / 0.5309 GB, free: 11.9 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.4471, allocations: 39.2 kB / 0.5309 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009237/0.4481, allocations: 365.8 kB / 0.5313 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.4483, allocations: 0.7349 MB / 0.532 GB, free: 10.9 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001363/0.4484, allocations: 32.47 kB / 0.532 GB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.419e-05/0.4485, allocations: 21.73 kB / 0.532 GB, free: 10.87 MB / 398.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4485, allocations: 0 / 0.532 GB, free: 10.87 MB / 398.1 MB Notification: Performance of Templates: time 0.007716/0.4563, allocations: 3.561 MB / 0.5355 GB, free: 9.055 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)