Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001278, allocations: 108 kB / 15.61 MB, free: 152 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.001295/0.001295, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.731/1.731, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.3738/0.3738, 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.00305/0.00305, allocations: 75.08 kB / 377.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1627, allocations: 56.88 MB / 434.5 MB, free: 3.66 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.0042/0.167, allocations: 1.834 MB / 436.3 MB, free: 1.812 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.1687, allocations: 0.8974 MB / 437.2 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.1689, allocations: 7.938 kB / 437.2 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004957/0.1694, allocations: 159.5 kB / 437.4 MB, free: 0.7422 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.0003508/0.1697, allocations: 123.5 kB / 437.5 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003675/0.1701, allocations: 147.6 kB / 437.7 MB, free: 488 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002585/0.1704, allocations: 215.4 kB / 437.9 MB, free: 272 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.1705, allocations: 21.55 kB / 437.9 MB, free: 244 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.1707, allocations: 103.6 kB / 438 MB, free: 140 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.1709, allocations: 123.5 kB / 438.1 MB, free: 16 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.1709, allocations: 12 kB / 438.1 MB, free: 4 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.1711, allocations: 47.97 kB / 438.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.731e-05/0.1712, allocations: 43.84 kB / 438.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.1713, allocations: 71.42 kB / 438.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.1716, allocations: 191.6 kB / 438.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.1716, allocations: 4 kB / 438.5 MB, free: 15.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1716, allocations: 3.938 kB / 438.5 MB, free: 15.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1716, allocations: 0 / 438.5 MB, free: 15.65 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.0007577/0.1724, allocations: 0.5137 MB / 439 MB, free: 15.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.1724, allocations: 19.89 kB / 439 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.942e-05/0.1725, allocations: 28.64 kB / 439 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.1728, allocations: 263.6 kB / 439.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.1729, allocations: 4.375 kB / 439.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.1729, allocations: 12.12 kB / 439.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002336/0.1731, allocations: 95.36 kB / 439.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.1732, allocations: 0 / 439.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.1732, allocations: 3.984 kB / 439.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1732, allocations: 4 kB / 439.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001935/0.1734, allocations: 39.92 kB / 439.5 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005932/0.174, allocations: 444.8 kB / 439.9 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.1743, allocations: 117.3 kB / 440 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.115e-05/0.1744, allocations: 37.7 kB / 440 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.446e-05/0.1744, allocations: 7.984 kB / 440 MB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003186/0.1748, allocations: 124.9 kB / 440.2 MB, free: 13.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.163e-06/0.1748, allocations: 0 / 440.2 MB, free: 13.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.000939/0.1757, allocations: 348.1 kB / 440.5 MB, free: 13.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.1758, allocations: 85.05 kB / 440.6 MB, free: 13.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003407/0.1761, allocations: 358.9 kB / 440.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.1762, allocations: 29.7 kB / 441 MB, free: 12.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.994e-05/0.1763, allocations: 140.4 kB / 441.1 MB, free: 12.78 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.1764, allocations: 55.33 kB / 441.2 MB, free: 12.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-05/0.1764, allocations: 29.72 kB / 441.2 MB, free: 12.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1766, allocations: 338.8 kB / 441.5 MB, free: 12.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.1767, allocations: 43.97 kB / 441.6 MB, free: 12.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.1768, allocations: 70.84 kB / 441.6 MB, free: 12.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.177, allocations: 123.5 kB / 441.8 MB, free: 12.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.177, allocations: 0 / 441.8 MB, free: 12.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003146/0.1773, allocations: 177.3 kB / 441.9 MB, free: 11.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1774, allocations: 7.938 kB / 441.9 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.1774, allocations: 4.75 kB / 441.9 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.1774, allocations: 4.062 kB / 441.9 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.1776, allocations: 35.98 kB / 442 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.1776, allocations: 3.938 kB / 442 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.233e-05/0.1777, allocations: 4 kB / 442 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.1777, allocations: 11.98 kB / 442 MB, free: 11.84 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.0001496/0.1778, allocations: 153.8 kB / 442.2 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/0.1779, allocations: 23.72 kB / 442.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.361e-05/0.1779, allocations: 29.73 kB / 442.2 MB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.178, allocations: 7.938 kB / 442.2 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.178, allocations: 7.938 kB / 442.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.178, allocations: 0 / 442.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007073/0.1787, allocations: 0.6162 MB / 442.8 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.1787, allocations: 4 kB / 442.8 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.18e-05/0.1788, allocations: 19.94 kB / 442.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1788, allocations: 8.062 kB / 442.9 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.1788, allocations: 7.984 kB / 442.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.1788, allocations: 0 / 442.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.1788, allocations: 3.938 kB / 442.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003852/0.1792, allocations: 364 kB / 443.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.46e-05/0.1793, allocations: 96.83 kB / 443.3 MB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.1793, allocations: 8 kB / 443.3 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.1795, allocations: 3.984 kB / 443.3 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.1795, allocations: 15.98 kB / 443.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.1796, allocations: 8 kB / 443.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002346/0.1798, allocations: 269.9 kB / 443.6 MB, free: 10.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1798, allocations: 0 / 443.6 MB, free: 10.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003196/0.1801, allocations: 32 kB / 443.7 MB, free: 10.07 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.00115/0.1813, allocations: 481.4 kB / 444.1 MB, free: 9.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003246/0.1816, allocations: 127.8 kB / 444.3 MB, free: 9.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.1816, allocations: 4 kB / 444.3 MB, free: 9.496 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.1818, allocations: 55.92 kB / 444.3 MB, free: 9.441 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005507/0.1823, allocations: 60.58 kB / 444.4 MB, free: 9.383 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007825/0.1831, allocations: 454.3 kB / 444.8 MB, free: 8.906 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.1835, allocations: 0.7476 MB / 445.6 MB, free: 8.133 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.961e-05/0.1836, allocations: 34.55 kB / 445.6 MB, free: 8.098 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.008e-05/0.1837, allocations: 27.44 kB / 445.6 MB, free: 8.07 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1837, allocations: 0 / 445.6 MB, free: 8.07 MB / 382.1 MB Notification: Performance of Templates: time 0.006688/0.1904, allocations: 2.675 MB / 448.3 MB, free: 5.398 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1)