Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001548, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002314/0.002314, allocations: 197.7 kB / 16.14 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.1 MB / 222 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.316/0.316, allocations: 37.98 MB / 307.3 MB, free: 10 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002819/0.002819, allocations: 67.92 kB / 374.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1505, allocations: 56.47 MB / 431 MB, free: 7.059 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.004026/0.1545, allocations: 1.74 MB / 432.8 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.156, allocations: 0.8 MB / 433.6 MB, free: 4.496 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.1562, allocations: 3.938 kB / 433.6 MB, free: 4.492 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00035/0.1566, allocations: 35.91 kB / 433.6 MB, free: 4.457 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002014/0.1568, allocations: 51.81 kB / 433.6 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000316/0.1571, allocations: 71.86 kB / 433.7 MB, free: 4.336 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.1573, allocations: 91.69 kB / 433.8 MB, free: 4.246 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1574, allocations: 12.22 kB / 433.8 MB, free: 4.234 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.527e-05/0.1575, allocations: 39.78 kB / 433.9 MB, free: 4.195 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.242e-05/0.1576, allocations: 31.8 kB / 433.9 MB, free: 4.164 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.1576, allocations: 7.984 kB / 433.9 MB, free: 4.156 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.439e-05/0.1577, allocations: 35.98 kB / 433.9 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.262e-05/0.1578, allocations: 19.92 kB / 434 MB, free: 4.102 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.716e-05/0.1578, allocations: 23.81 kB / 434 MB, free: 4.078 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.1581, allocations: 119.9 kB / 434.1 MB, free: 3.961 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1581, allocations: 0 / 434.1 MB, free: 3.961 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1581, allocations: 0 / 434.1 MB, free: 3.961 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.1581, allocations: 0 / 434.1 MB, free: 3.961 MB / 366.1 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.0005389/0.1586, allocations: 414.9 kB / 434.5 MB, free: 3.508 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.1587, allocations: 8.031 kB / 434.5 MB, free: 3.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.1587, allocations: 12.75 kB / 434.5 MB, free: 3.488 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.159, allocations: 216 kB / 434.7 MB, free: 3.238 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.159, allocations: 4.375 kB / 434.7 MB, free: 3.234 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.159, allocations: 4.125 kB / 434.7 MB, free: 3.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.1592, allocations: 53.67 kB / 434.8 MB, free: 3.172 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1592, allocations: 0 / 434.8 MB, free: 3.172 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1592, allocations: 0 / 434.8 MB, free: 3.172 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.1592, allocations: 8 kB / 434.8 MB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.275e-05/0.1593, allocations: 19.92 kB / 434.8 MB, free: 3.145 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.1596, allocations: 284.9 kB / 435.1 MB, free: 2.816 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.1598, allocations: 54.67 kB / 435.1 MB, free: 2.754 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.187e-05/0.1599, allocations: 24.86 kB / 435.2 MB, free: 2.727 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.1599, allocations: 7.984 kB / 435.2 MB, free: 2.719 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/0.1601, allocations: 67.33 kB / 435.2 MB, free: 2.641 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.1601, allocations: 0 / 435.2 MB, free: 2.641 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005873/0.1607, allocations: 169.2 kB / 435.4 MB, free: 2.469 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.1608, allocations: 63.39 kB / 435.5 MB, free: 2.395 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.1609, allocations: 174.2 kB / 435.6 MB, free: 2.215 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.161, allocations: 33.7 kB / 435.7 MB, free: 2.176 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.393e-05/0.161, allocations: 112 kB / 435.8 MB, free: 2.062 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.1611, allocations: 23.7 kB / 435.8 MB, free: 2.039 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.1611, allocations: 17.72 kB / 435.8 MB, free: 2.016 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1612, allocations: 326.8 kB / 436.1 MB, free: 1.688 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.265e-05/0.1613, allocations: 23.98 kB / 436.2 MB, free: 1.664 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.541e-05/0.1614, allocations: 33.7 kB / 436.2 MB, free: 1.625 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.1615, allocations: 65.66 kB / 436.3 MB, free: 1.555 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1615, allocations: 0 / 436.3 MB, free: 1.555 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001686/0.1617, allocations: 97.48 kB / 436.4 MB, free: 1.453 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1617, allocations: 7.938 kB / 436.4 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1617, allocations: 4 kB / 436.4 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.1617, allocations: 0 / 436.4 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.779e-05/0.1618, allocations: 12 kB / 436.4 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.1618, allocations: 3.984 kB / 436.4 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.648e-05/0.1619, allocations: 15.97 kB / 436.4 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.1619, allocations: 4 kB / 436.4 MB, free: 1.406 MB / 366.1 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 8.943e-05/0.162, allocations: 121.8 kB / 436.5 MB, free: 1.277 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.162, allocations: 11.89 kB / 436.5 MB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.27e-05/0.1621, allocations: 16.91 kB / 436.6 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.1621, allocations: 4 kB / 436.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1621, allocations: 3.938 kB / 436.6 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1621, allocations: 3.938 kB / 436.6 MB, free: 1.238 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004246/0.1625, allocations: 387.3 kB / 436.9 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.1626, allocations: 4 kB / 436.9 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.277e-05/0.1626, allocations: 15.92 kB / 437 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1626, allocations: 0 / 437 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.1626, allocations: 8.312 kB / 437 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1626, allocations: 0 / 437 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1626, allocations: 4 kB / 437 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.1629, allocations: 208.2 kB / 437.2 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.1629, allocations: 81.02 kB / 437.3 MB, free: 460 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.163, allocations: 15.92 kB / 437.3 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.942e-05/0.163, allocations: 4 kB / 437.3 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.1631, allocations: 4 kB / 437.3 MB, free: 436 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.1631, allocations: 7.984 kB / 437.3 MB, free: 428 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001299/0.1633, allocations: 148 kB / 437.4 MB, free: 280 kB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1633, allocations: 7.938 kB / 437.4 MB, free: 272 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002817/0.1636, allocations: 23.98 kB / 437.5 MB, free: 248 kB / 366.1 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.0009912/0.1646, allocations: 461.4 kB / 437.9 MB, free: 15.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001684/0.1647, allocations: 59.92 kB / 438 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.1648, allocations: 4 kB / 438 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.714e-05/0.1648, allocations: 23.98 kB / 438 MB, free: 15.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.1652, allocations: 31.88 kB / 438 MB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/0.1656, allocations: 245.3 kB / 438.3 MB, free: 15.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.1659, allocations: 0.7043 MB / 439 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.032e-05/0.1659, allocations: 13.19 kB / 439 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/0.166, allocations: 19.44 kB / 439 MB, free: 14.66 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.166, allocations: 0 / 439 MB, free: 14.66 MB / 382.1 MB Notification: Performance of Templates: time 0.004332/0.1703, allocations: 1.644 MB / 440.7 MB, free: 13.02 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1)