Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001262/0.001262, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.781/1.781, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.3856/0.3856, allocations: 40 MB / 310.4 MB, free: 9.957 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.001084/0.001084, allocations: 15.98 kB / 378.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1748, allocations: 57.96 MB / 436.8 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.00261/0.1775, allocations: 1.386 MB / 438.2 MB, free: 1.176 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.1788, allocations: 0.7422 MB / 438.9 MB, free: 436 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.941e-05/0.1789, allocations: 3.938 kB / 438.9 MB, free: 432 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004032/0.1794, allocations: 59.8 kB / 439 MB, free: 372 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.1796, allocations: 47.83 kB / 439 MB, free: 324 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.1799, allocations: 71.83 kB / 439.1 MB, free: 252 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.18, allocations: 87.7 kB / 439.2 MB, free: 164 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.1802, allocations: 12.2 kB / 439.2 MB, free: 152 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.413e-05/0.1803, allocations: 39.84 kB / 439.2 MB, free: 112 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.131e-05/0.1804, allocations: 39.78 kB / 439.3 MB, free: 72 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.1804, allocations: 0 / 439.3 MB, free: 72 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.767e-05/0.1805, allocations: 32 kB / 439.3 MB, free: 40 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.478e-05/0.1805, allocations: 31.89 kB / 439.3 MB, free: 8 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.068e-05/0.1806, allocations: 41.64 kB / 439.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.1808, allocations: 100.1 kB / 439.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1808, allocations: 0 / 439.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1808, allocations: 3.938 kB / 439.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1808, allocations: 0 / 439.5 MB, free: 15.86 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.0006158/0.1815, allocations: 434.6 kB / 439.9 MB, free: 15.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.1815, allocations: 8.031 kB / 439.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.24e-05/0.1816, allocations: 15.81 kB / 439.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.1818, allocations: 215.7 kB / 440.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.1819, allocations: 0 / 440.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.1819, allocations: 4 kB / 440.2 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.1821, allocations: 53.67 kB / 440.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1821, allocations: 0 / 440.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.1821, allocations: 3.984 kB / 440.2 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.1821, allocations: 7.953 kB / 440.2 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.304e-05/0.1822, allocations: 23.94 kB / 440.2 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004257/0.1827, allocations: 296.9 kB / 440.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.1828, allocations: 54.67 kB / 440.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.003e-05/0.1829, allocations: 16.86 kB / 440.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.1829, allocations: 4 kB / 440.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.1831, allocations: 79.27 kB / 440.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.1831, allocations: 0 / 440.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005309/0.1837, allocations: 181 kB / 440.9 MB, free: 14.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002112/0.1839, allocations: 51.41 kB / 440.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003524/0.1842, allocations: 276.8 kB / 441.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.1843, allocations: 29.7 kB / 441.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.1844, allocations: 116.1 kB / 441.3 MB, free: 13.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.1844, allocations: 23.64 kB / 441.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/0.1844, allocations: 4 kB / 441.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1846, allocations: 322.8 kB / 441.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.567e-05/0.1846, allocations: 23.98 kB / 441.7 MB, free: 13.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.393e-05/0.1847, allocations: 37.64 kB / 441.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.965e-05/0.1848, allocations: 24 kB / 441.7 MB, free: 13.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1848, allocations: 0 / 441.7 MB, free: 13.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001922/0.185, allocations: 113.4 kB / 441.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.185, allocations: 4 kB / 441.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.185, allocations: 0 / 441.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.1851, allocations: 7.984 kB / 441.9 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.574e-05/0.1852, allocations: 12 kB / 441.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.1852, allocations: 3.938 kB / 441.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.736e-05/0.1852, allocations: 4 kB / 441.9 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.1853, allocations: 16.02 kB / 441.9 MB, free: 13.21 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000145/0.1854, allocations: 141.5 kB / 442 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.1854, allocations: 15.77 kB / 442.1 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.557e-05/0.1855, allocations: 17.41 kB / 442.1 MB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.1855, allocations: 4 kB / 442.1 MB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1855, allocations: 0 / 442.1 MB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.1855, allocations: 3.984 kB / 442.1 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005425/0.1861, allocations: 411.8 kB / 442.5 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1861, allocations: 0 / 442.5 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.509e-05/0.1862, allocations: 15.98 kB / 442.5 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1862, allocations: 0 / 442.5 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.1862, allocations: 4 kB / 442.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1862, allocations: 0 / 442.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1862, allocations: 0 / 442.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.1864, allocations: 212.2 kB / 442.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.011e-05/0.1865, allocations: 96.86 kB / 442.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.1866, allocations: 0 / 442.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.47e-05/0.1866, allocations: 8 kB / 442.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/0.1867, allocations: 7.984 kB / 442.8 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.1867, allocations: 3.938 kB / 442.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002125/0.1869, allocations: 208.5 kB / 443 MB, free: 11.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.187, allocations: 0 / 443 MB, free: 11.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.1872, allocations: 28 kB / 443.1 MB, free: 11.95 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001097/0.1883, allocations: 461.3 kB / 443.5 MB, free: 11.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001976/0.1885, allocations: 63.91 kB / 443.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1885, allocations: 0 / 443.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.589e-05/0.1886, allocations: 31.92 kB / 443.6 MB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.189, allocations: 23.84 kB / 443.6 MB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007006/0.1897, allocations: 331.1 kB / 443.9 MB, free: 11.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004383/0.1902, allocations: 0.7121 MB / 444.7 MB, free: 10.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.935e-05/0.1903, allocations: 21.17 kB / 444.7 MB, free: 10.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.046e-05/0.1903, allocations: 19.44 kB / 444.7 MB, free: 10.28 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1903, allocations: 0 / 444.7 MB, free: 10.28 MB / 382.1 MB Notification: Performance of Templates: time 0.006035/0.1964, allocations: 1.623 MB / 446.3 MB, free: 8.656 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) Environment - environmentSimulation: