Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001282, allocations: 110 kB / 18.45 MB, free: 4.621 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.001287/0.001287, allocations: 186.4 kB / 19.37 MB, free: 3.703 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.332/1.332, allocations: 222.9 MB / 243.1 MB, free: 15.18 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.2055/0.2055, allocations: 44.19 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 75.88 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3607, allocations: 60.81 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.00323/0.364, allocations: 1.829 MB / 0.5214 GB, free: 2.332 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.3653, allocations: 0.8556 MB / 0.5222 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.93e-05/0.3654, allocations: 0 / 0.5222 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002496/0.3657, allocations: 57.73 kB / 0.5223 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002691/0.366, allocations: 77.62 kB / 0.5223 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004642/0.3665, allocations: 163.8 kB / 0.5225 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.3667, allocations: 194.3 kB / 0.5227 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.3669, allocations: 24.97 kB / 0.5227 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.367, allocations: 82.89 kB / 0.5228 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.3672, allocations: 101.2 kB / 0.5229 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.68e-05/0.3672, allocations: 13 kB / 0.5229 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.3673, allocations: 41.22 kB / 0.5229 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.085e-05/0.3674, allocations: 47.8 kB / 0.523 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.016e-05/0.3675, allocations: 69.81 kB / 0.523 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002658/0.3678, allocations: 178.1 kB / 0.5232 GB, free: 1.277 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3678, allocations: 0 / 0.5232 GB, free: 1.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3678, allocations: 0 / 0.5232 GB, free: 1.277 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.3678, allocations: 0 / 0.5232 GB, free: 1.277 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.001051/0.3689, allocations: 0.5619 MB / 0.5238 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3689, allocations: 10.3 kB / 0.5238 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.981e-05/0.369, allocations: 16.62 kB / 0.5238 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.3692, allocations: 229.1 kB / 0.524 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.3692, allocations: 3.031 kB / 0.524 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.644e-05/0.3693, allocations: 10.5 kB / 0.524 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005216/0.3698, allocations: 146.5 kB / 0.5242 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3698, allocations: 4.562 kB / 0.5242 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.3698, allocations: 0.9688 kB / 0.5242 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.3698, allocations: 2.016 kB / 0.5242 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000754/0.3706, allocations: 172.2 kB / 0.5243 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004623/0.3711, allocations: 358.9 kB / 0.5247 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007943/0.3719, allocations: 191.3 kB / 0.5249 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003786/0.3723, allocations: 94.14 kB / 0.5249 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.3723, allocations: 160 / 0.5249 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006347/0.3729, allocations: 168.9 kB / 0.5251 GB, free: 15.97 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.373, allocations: 0 / 0.5251 GB, free: 15.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.003921/0.3769, allocations: 0.8215 MB / 0.5259 GB, free: 15.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.3769, allocations: 56.94 kB / 0.526 GB, free: 15.64 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/0.3772, allocations: 238.2 kB / 0.5262 GB, free: 15.47 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.039e-05/0.3773, allocations: 35.02 kB / 0.5262 GB, free: 15.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.642e-05/0.3773, allocations: 120.4 kB / 0.5263 GB, free: 15.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.696e-05/0.3774, allocations: 32.97 kB / 0.5264 GB, free: 15.29 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.943e-05/0.3775, allocations: 36.7 kB / 0.5264 GB, free: 15.26 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3776, allocations: 336.3 kB / 0.5267 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00072/0.3783, allocations: 159.8 kB / 0.5269 GB, free: 14.86 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007181/0.3791, allocations: 174.5 kB / 0.527 GB, free: 14.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001367/0.3805, allocations: 370 kB / 0.5274 GB, free: 14.56 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3805, allocations: 0 / 0.5274 GB, free: 14.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001577/0.382, allocations: 453.4 kB / 0.5278 GB, free: 14.3 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.952e-05/0.3821, allocations: 62.89 kB / 0.5279 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3821, allocations: 0 / 0.5279 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.3822, allocations: 9.562 kB / 0.5279 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000424/0.3826, allocations: 72.22 kB / 0.528 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.3826, allocations: 3.938 kB / 0.528 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004249/0.383, allocations: 67.41 kB / 0.528 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.3831, allocations: 3.25 kB / 0.528 GB, free: 14.16 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.0001734/0.3832, allocations: 135.2 kB / 0.5282 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-05/0.3833, allocations: 20.28 kB / 0.5282 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/0.3849, allocations: 401.6 kB / 0.5286 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.3849, allocations: 5.469 kB / 0.5286 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.3849, allocations: 3.938 kB / 0.5286 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3849, allocations: 0 / 0.5286 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/0.3868, allocations: 0.705 MB / 0.5293 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3868, allocations: 0 / 0.5293 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003964/0.3872, allocations: 71.88 kB / 0.5293 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.3872, allocations: 4.938 kB / 0.5293 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.3872, allocations: 5 kB / 0.5293 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3872, allocations: 1.031 kB / 0.5293 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3872, allocations: 0 / 0.5293 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.3888, allocations: 475.6 kB / 0.5298 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.69e-05/0.3889, allocations: 101 kB / 0.5299 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.274e-05/0.3889, allocations: 2.344 kB / 0.5299 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004436/0.3894, allocations: 64.47 kB / 0.53 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.3896, allocations: 46.53 kB / 0.53 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.3896, allocations: 7.609 kB / 0.53 GB, free: 12.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001876/0.3898, allocations: 176.2 kB / 0.5302 GB, free: 12.63 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3898, allocations: 0 / 0.5302 GB, free: 12.63 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003351/0.3901, allocations: 44.64 kB / 0.5302 GB, free: 12.62 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.0009605/0.3911, allocations: 402.2 kB / 0.5306 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.3927, allocations: 470.3 kB / 0.531 GB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3927, allocations: 1.312 kB / 0.5311 GB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007471/0.3935, allocations: 182.4 kB / 0.5312 GB, free: 12.06 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/0.3939, allocations: 33.2 kB / 0.5313 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009888/0.3949, allocations: 370.8 kB / 0.5316 GB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.3952, allocations: 0.7227 MB / 0.5323 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.3953, allocations: 21.38 kB / 0.5323 GB, free: 11.04 MB / 398.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3953, allocations: 0 / 0.5323 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Templates: time 0.005585/0.4009, allocations: 3.15 MB / 0.5354 GB, free: 9.387 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1)