Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009875/0.0009874, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006695/0.006694, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.846/1.846, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4522/0.4522, allocations: 40.01 MB / 310.7 MB, free: 9.547 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.2. 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.0008521/0.0008523, allocations: 24.47 kB / 379.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1506, allocations: 57.96 MB / 437.4 MB, free: 1.898 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003302/0.154, allocations: 1.412 MB / 438.8 MB, free: 488 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002204/0.1562, allocations: 0.7729 MB / 439.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001912/0.1565, allocations: 0 / 439.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005619/0.1571, allocations: 35.89 kB / 439.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004592/0.1576, allocations: 51.77 kB / 439.7 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004968/0.1581, allocations: 71.84 kB / 439.8 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003337/0.1584, allocations: 91.7 kB / 439.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.1587, allocations: 24.19 kB / 439.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.1588, allocations: 31.8 kB / 439.9 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.159, allocations: 27.86 kB / 439.9 MB, free: 15.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.95e-05/0.1591, allocations: 0 / 439.9 MB, free: 15.37 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000223/0.1593, allocations: 39.97 kB / 440 MB, free: 15.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.1594, allocations: 19.92 kB / 440 MB, free: 15.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.1595, allocations: 61.38 kB / 440.1 MB, free: 15.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003426/0.1599, allocations: 111.9 kB / 440.2 MB, free: 15.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.1599, allocations: 4 kB / 440.2 MB, free: 15.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1599, allocations: 0 / 440.2 MB, free: 15.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1599, allocations: 4 kB / 440.2 MB, free: 15.12 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008978/0.1608, allocations: 391.1 kB / 440.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/0.1609, allocations: 12.02 kB / 440.6 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.413e-05/0.161, allocations: 12.84 kB / 440.6 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.1613, allocations: 208 kB / 440.8 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.099e-05/0.1614, allocations: 4.375 kB / 440.8 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.1614, allocations: 8.109 kB / 440.8 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.1616, allocations: 61.61 kB / 440.9 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1616, allocations: 0 / 440.9 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.1617, allocations: 4 kB / 440.9 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.1617, allocations: 0 / 440.9 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.1618, allocations: 15.98 kB / 440.9 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005365/0.1623, allocations: 284.9 kB / 441.1 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.1625, allocations: 62.56 kB / 441.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.698e-05/0.1626, allocations: 24.84 kB / 441.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.1626, allocations: 0 / 441.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002217/0.1629, allocations: 67.3 kB / 441.3 MB, free: 13.83 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.1629, allocations: 0 / 441.3 MB, free: 13.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005785/0.1635, allocations: 169.3 kB / 441.5 MB, free: 13.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.1635, allocations: 59.41 kB / 441.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.1637, allocations: 182.1 kB / 441.7 MB, free: 13.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.1638, allocations: 33.7 kB / 441.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.417e-05/0.1638, allocations: 100.1 kB / 441.8 MB, free: 13.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/0.1639, allocations: 27.69 kB / 441.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.1639, allocations: 13.72 kB / 441.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1641, allocations: 326.8 kB / 442.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.631e-05/0.1641, allocations: 19.98 kB / 442.2 MB, free: 12.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.614e-05/0.1642, allocations: 41.64 kB / 442.3 MB, free: 12.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.1643, allocations: 57.72 kB / 442.3 MB, free: 12.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.1643, allocations: 0 / 442.3 MB, free: 12.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002003/0.1645, allocations: 101.5 kB / 442.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.1646, allocations: 4 kB / 442.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1646, allocations: 4 kB / 442.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.1646, allocations: 0 / 442.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.1647, allocations: 20.02 kB / 442.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1647, allocations: 160 / 442.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.766e-05/0.1648, allocations: 7.938 kB / 442.4 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.1648, allocations: 4.375 kB / 442.4 MB, free: 12.61 MB / 382.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 0.0001281/0.165, allocations: 133.6 kB / 442.6 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.165, allocations: 7.906 kB / 442.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.775e-05/0.1651, allocations: 20.89 kB / 442.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.97e-05/0.1651, allocations: 3.984 kB / 442.6 MB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.1651, allocations: 11.94 kB / 442.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.1651, allocations: 7.922 kB / 442.6 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005437/0.1657, allocations: 395.2 kB / 443 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1657, allocations: 0 / 443 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.26e-05/0.1657, allocations: 8 kB / 443 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1657, allocations: 0 / 443 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.1658, allocations: 3.938 kB / 443 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.1658, allocations: 7.938 kB / 443 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1658, allocations: 32 / 443 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/0.1661, allocations: 208.2 kB / 443.2 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.132e-05/0.1661, allocations: 92.91 kB / 443.3 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.1662, allocations: 3.938 kB / 443.3 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.122e-05/0.1663, allocations: 8 kB / 443.3 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.1663, allocations: 7.984 kB / 443.3 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.1663, allocations: 4 kB / 443.4 MB, free: 11.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001673/0.1665, allocations: 148 kB / 443.5 MB, free: 11.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.21e-07/0.1665, allocations: 0 / 443.5 MB, free: 11.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003123/0.1668, allocations: 20 kB / 443.5 MB, free: 11.44 MB / 382.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.001384/0.1682, allocations: 460.5 kB / 444 MB, free: 11.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.1685, allocations: 59.89 kB / 444 MB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.1685, allocations: 0 / 444 MB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.385e-05/0.1686, allocations: 35.92 kB / 444.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.169, allocations: 23.92 kB / 444.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005218/0.1695, allocations: 246.7 kB / 444.3 MB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.1698, allocations: 0.7004 MB / 445 MB, free: 9.895 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.959e-05/0.1699, allocations: 25.17 kB / 445 MB, free: 9.867 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.17, allocations: 15.44 kB / 445.1 MB, free: 9.852 MB / 382.1 MB Notification: Performance of SimCode: time 4.2e-07/0.17, allocations: 0 / 445.1 MB, free: 9.852 MB / 382.1 MB Notification: Performance of Templates: time 0.004973/0.1749, allocations: 1.619 MB / 446.7 MB, free: 8.234 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) Environment - environmentSimulation: