Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.689/1.689, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.3854/0.3854, allocations: 39.94 MB / 309.7 MB, free: 9.289 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.001525/0.001525, allocations: 78.38 kB / 377.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1428, allocations: 56.87 MB / 434.5 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.004364/0.1472, allocations: 1.831 MB / 436.3 MB, free: 1.828 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.1494, allocations: 0.8973 MB / 437.2 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.1497, allocations: 7.938 kB / 437.2 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005579/0.1502, allocations: 255.4 kB / 437.5 MB, free: 0.6641 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004759/0.1508, allocations: 179.4 kB / 437.7 MB, free: 500 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004602/0.1512, allocations: 143.6 kB / 437.8 MB, free: 356 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003828/0.1516, allocations: 243.3 kB / 438 MB, free: 112 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.1518, allocations: 25.53 kB / 438.1 MB, free: 80 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002347/0.152, allocations: 119.6 kB / 438.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002702/0.1523, allocations: 183.4 kB / 438.4 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.1523, allocations: 8 kB / 438.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.1525, allocations: 47.98 kB / 438.4 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.1526, allocations: 59.77 kB / 438.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.1527, allocations: 87.3 kB / 438.6 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003468/0.1531, allocations: 219.4 kB / 438.8 MB, free: 15.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1531, allocations: 0 / 438.8 MB, free: 15.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1531, allocations: 0 / 438.8 MB, free: 15.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.1531, allocations: 0 / 438.8 MB, free: 15.37 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008636/0.154, allocations: 0.5598 MB / 439.3 MB, free: 14.76 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.154, allocations: 15.89 kB / 439.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.79e-05/0.1541, allocations: 32.55 kB / 439.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003762/0.1545, allocations: 291.9 kB / 439.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.1545, allocations: 384 / 439.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.1546, allocations: 16.06 kB / 439.7 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.1548, allocations: 95.34 kB / 439.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.1549, allocations: 3.984 kB / 439.8 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.1549, allocations: 4 kB / 439.8 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1549, allocations: 8 kB / 439.8 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.155, allocations: 39.91 kB / 439.8 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006458/0.1557, allocations: 456.9 kB / 440.3 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.156, allocations: 117.3 kB / 440.4 MB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.878e-05/0.1561, allocations: 41.7 kB / 440.4 MB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.409e-05/0.1562, allocations: 4 kB / 440.4 MB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004007/0.1566, allocations: 113 kB / 440.5 MB, free: 13.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.793e-06/0.1566, allocations: 4 kB / 440.5 MB, free: 13.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001076/0.1577, allocations: 371.7 kB / 440.9 MB, free: 13.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.1578, allocations: 85.05 kB / 441 MB, free: 12.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005435/0.1584, allocations: 481.6 kB / 441.5 MB, free: 12.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.1584, allocations: 33.7 kB / 441.5 MB, free: 12.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.1585, allocations: 160.4 kB / 441.7 MB, free: 12.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.253e-05/0.1586, allocations: 51.34 kB / 441.7 MB, free: 12.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.673e-05/0.1587, allocations: 41.64 kB / 441.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1589, allocations: 338.8 kB / 442.1 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.159, allocations: 47.97 kB / 442.1 MB, free: 11.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.1591, allocations: 63.42 kB / 442.2 MB, free: 11.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.1594, allocations: 123.3 kB / 442.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1594, allocations: 0 / 442.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003845/0.1598, allocations: 185.2 kB / 442.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.1598, allocations: 7.938 kB / 442.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.1598, allocations: 0 / 442.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.1598, allocations: 8.062 kB / 442.5 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.16, allocations: 27.98 kB / 442.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.081e-05/0.16, allocations: 7.938 kB / 442.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.022e-05/0.1601, allocations: 11.91 kB / 442.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.1601, allocations: 4 kB / 442.6 MB, free: 11.3 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.000174/0.1603, allocations: 177.7 kB / 442.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.255e-05/0.1604, allocations: 27.62 kB / 442.8 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.607e-05/0.1605, allocations: 38.81 kB / 442.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1605, allocations: 4 kB / 442.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.1605, allocations: 7.938 kB / 442.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.1605, allocations: 0 / 442.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008534/0.1614, allocations: 0.6292 MB / 443.4 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1614, allocations: 0 / 443.4 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.989e-05/0.1614, allocations: 19.98 kB / 443.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1615, allocations: 4.062 kB / 443.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.1615, allocations: 15.94 kB / 443.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1615, allocations: 4 kB / 443.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1615, allocations: 3.938 kB / 443.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004666/0.162, allocations: 367.3 kB / 443.8 MB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.732e-05/0.1621, allocations: 104.7 kB / 443.9 MB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/0.1621, allocations: 4 kB / 443.9 MB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.1622, allocations: 8 kB / 444 MB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.564e-05/0.1623, allocations: 15.97 kB / 444 MB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.1623, allocations: 11.98 kB / 444 MB, free: 9.762 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003412/0.1627, allocations: 359.1 kB / 444.3 MB, free: 9.414 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1627, allocations: 0 / 444.3 MB, free: 9.414 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000339/0.163, allocations: 47.98 kB / 444.4 MB, free: 9.367 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.001057/0.1641, allocations: 469.4 kB / 444.8 MB, free: 8.934 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003047/0.1644, allocations: 123.9 kB / 445 MB, free: 8.812 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1644, allocations: 0 / 445 MB, free: 8.812 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.1646, allocations: 59.91 kB / 445 MB, free: 8.754 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000525/0.1651, allocations: 65.12 kB / 445.1 MB, free: 8.691 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009355/0.166, allocations: 0.538 MB / 445.6 MB, free: 8.117 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.1665, allocations: 0.771 MB / 446.4 MB, free: 7.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.1666, allocations: 26.56 kB / 446.4 MB, free: 7.293 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.796e-05/0.1667, allocations: 31.42 kB / 446.4 MB, free: 7.262 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1667, allocations: 7.938 kB / 446.5 MB, free: 7.254 MB / 382.1 MB Notification: Performance of Templates: time 0.006707/0.1734, allocations: 2.734 MB / 449.2 MB, free: 4.523 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1)