Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, 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.001237/0.001237, allocations: 198.2 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.693/1.693, allocations: 205.1 MB / 222.4 MB, free: 4.633 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.3625/0.3625, allocations: 39.94 MB / 309.7 MB, free: 9.336 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.002413/0.002413, allocations: 82.39 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1674, allocations: 56.87 MB / 434.5 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003771/0.1712, allocations: 1.834 MB / 436.3 MB, free: 1.836 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.173, allocations: 0.9012 MB / 437.2 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.1731, allocations: 3.938 kB / 437.2 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005112/0.1737, allocations: 163.5 kB / 437.4 MB, free: 0.7617 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.0004065/0.1741, allocations: 127.5 kB / 437.5 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/0.1745, allocations: 147.6 kB / 437.7 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003634/0.1749, allocations: 215.4 kB / 437.9 MB, free: 288 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001758/0.1751, allocations: 25.55 kB / 437.9 MB, free: 256 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.1753, allocations: 95.66 kB / 438 MB, free: 160 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001984/0.1755, allocations: 127.5 kB / 438.1 MB, free: 32 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.212e-05/0.1755, allocations: 8 kB / 438.1 MB, free: 24 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.1757, allocations: 47.98 kB / 438.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.1758, allocations: 43.83 kB / 438.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.88e-05/0.1759, allocations: 75.42 kB / 438.3 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003244/0.1762, allocations: 187.6 kB / 438.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1762, allocations: 0 / 438.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.1763, allocations: 8 kB / 438.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.1763, allocations: 0 / 438.5 MB, free: 15.67 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.0008785/0.1772, allocations: 0.5172 MB / 439 MB, free: 15.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.1772, allocations: 11.89 kB / 439 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.95e-05/0.1773, allocations: 24.66 kB / 439 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.1777, allocations: 271.5 kB / 439.3 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.1777, allocations: 4.375 kB / 439.3 MB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.1777, allocations: 12.06 kB / 439.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.178, allocations: 99.36 kB / 439.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.178, allocations: 0 / 439.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.178, allocations: 0 / 439.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.178, allocations: 4 kB / 439.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.1782, allocations: 47.89 kB / 439.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007787/0.179, allocations: 444.8 kB / 439.9 MB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002832/0.1793, allocations: 109.3 kB / 440 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.522e-05/0.1794, allocations: 49.7 kB / 440.1 MB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.1794, allocations: 4 kB / 440.1 MB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003599/0.1798, allocations: 116.9 kB / 440.2 MB, free: 13.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.1798, allocations: 0 / 440.2 MB, free: 13.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.000909/0.1807, allocations: 356.1 kB / 440.5 MB, free: 13.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/0.1808, allocations: 85.05 kB / 440.6 MB, free: 13.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000362/0.1811, allocations: 358.9 kB / 441 MB, free: 12.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.1812, allocations: 33.7 kB / 441 MB, free: 12.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.461e-05/0.1813, allocations: 136.4 kB / 441.1 MB, free: 12.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.316e-05/0.1813, allocations: 51.34 kB / 441.2 MB, free: 12.74 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.1815, allocations: 29.72 kB / 441.2 MB, free: 12.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002218/0.1817, allocations: 338.8 kB / 441.5 MB, free: 12.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.1818, allocations: 43.97 kB / 441.6 MB, free: 12.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.1819, allocations: 75.39 kB / 441.6 MB, free: 12.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.1821, allocations: 115.4 kB / 441.8 MB, free: 12.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1821, allocations: 0 / 441.8 MB, free: 12.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003122/0.1825, allocations: 181.3 kB / 441.9 MB, free: 11.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.1825, allocations: 8 kB / 441.9 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.1825, allocations: 0 / 441.9 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.1825, allocations: 0 / 441.9 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.1827, allocations: 35.92 kB / 442 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.1827, allocations: 3.938 kB / 442 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.578e-05/0.1828, allocations: 8 kB / 442 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.1828, allocations: 11.98 kB / 442 MB, free: 11.86 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.0001672/0.183, allocations: 153.8 kB / 442.2 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.1831, allocations: 23.72 kB / 442.2 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.233e-05/0.1831, allocations: 29.73 kB / 442.2 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.1831, allocations: 4 kB / 442.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.1832, allocations: 3.938 kB / 442.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.1832, allocations: 0 / 442.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008188/0.184, allocations: 0.6252 MB / 442.8 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.184, allocations: 0 / 442.8 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.497e-05/0.1841, allocations: 16 kB / 442.9 MB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.1841, allocations: 0 / 442.9 MB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.1841, allocations: 15.86 kB / 442.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.1841, allocations: 4 kB / 442.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.1841, allocations: 7.938 kB / 442.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004679/0.1846, allocations: 360.2 kB / 443.2 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.334e-05/0.1847, allocations: 96.83 kB / 443.3 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.1847, allocations: 4 kB / 443.3 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.1849, allocations: 11.98 kB / 443.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.329e-05/0.185, allocations: 11.97 kB / 443.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.185, allocations: 12 kB / 443.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002805/0.1853, allocations: 265.9 kB / 443.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1853, allocations: 0 / 443.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003245/0.1856, allocations: 32 kB / 443.7 MB, free: 10.09 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.00123/0.1869, allocations: 477.2 kB / 444.1 MB, free: 9.648 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003017/0.1872, allocations: 127.8 kB / 444.2 MB, free: 9.523 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.1872, allocations: 0 / 444.2 MB, free: 9.523 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.1873, allocations: 55.86 kB / 444.3 MB, free: 9.469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005394/0.1879, allocations: 64.58 kB / 444.4 MB, free: 9.406 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007613/0.1886, allocations: 438.4 kB / 444.8 MB, free: 8.945 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.1891, allocations: 0.7554 MB / 445.6 MB, free: 8.164 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.683e-05/0.1892, allocations: 34.55 kB / 445.6 MB, free: 8.129 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.668e-05/0.1892, allocations: 23.44 kB / 445.6 MB, free: 8.105 MB / 382.1 MB Notification: Performance of SimCode: time 8.71e-07/0.1892, allocations: 3.938 kB / 445.6 MB, free: 8.102 MB / 382.1 MB Notification: Performance of Templates: time 0.006554/0.1958, allocations: 2.683 MB / 448.3 MB, free: 5.422 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1)