Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.00172/0.00172, allocations: 172.7 kB / 15.95 MB, free: 208 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.856/1.856, allocations: 205.4 MB / 222.1 MB, free: 5.531 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.4044/0.4044, allocations: 40 MB / 310.4 MB, free: 9.996 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.0005949/0.0005949, allocations: 20 kB / 378.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1787, allocations: 57.96 MB / 436.8 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.00218/0.181, allocations: 1.35 MB / 438.2 MB, free: 1.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.1823, allocations: 0.7305 MB / 438.9 MB, free: 452 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.504e-05/0.1824, allocations: 0 / 438.9 MB, free: 452 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003398/0.1827, allocations: 55.86 kB / 438.9 MB, free: 396 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.1829, allocations: 59.8 kB / 439 MB, free: 336 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.1832, allocations: 67.86 kB / 439.1 MB, free: 268 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.1834, allocations: 91.67 kB / 439.2 MB, free: 176 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.48e-05/0.1834, allocations: 7.984 kB / 439.2 MB, free: 168 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.034e-05/0.1835, allocations: 43.78 kB / 439.2 MB, free: 124 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.829e-05/0.1836, allocations: 39.83 kB / 439.2 MB, free: 84 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.1836, allocations: 3.938 kB / 439.3 MB, free: 80 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.415e-05/0.1837, allocations: 24 kB / 439.3 MB, free: 56 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.455e-05/0.1838, allocations: 11.92 kB / 439.3 MB, free: 44 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.334e-05/0.1838, allocations: 33.7 kB / 439.3 MB, free: 4 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.184, allocations: 88.03 kB / 439.4 MB, free: 15.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.184, allocations: 4 kB / 439.4 MB, free: 15.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1841, allocations: 0 / 439.4 MB, free: 15.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.1841, allocations: 0 / 439.4 MB, free: 15.91 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005806/0.1846, allocations: 390.8 kB / 439.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.1847, allocations: 8.031 kB / 439.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.505e-05/0.1848, allocations: 7.906 kB / 439.8 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.185, allocations: 202.9 kB / 440 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.185, allocations: 0 / 440 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.1851, allocations: 4 kB / 440 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.1852, allocations: 53.61 kB / 440.1 MB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.1852, allocations: 3.938 kB / 440.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1852, allocations: 0 / 440.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1853, allocations: 3.953 kB / 440.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.782e-05/0.1853, allocations: 12 kB / 440.1 MB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002267/0.1856, allocations: 177.7 kB / 440.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.1857, allocations: 54.61 kB / 440.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.062e-05/0.1858, allocations: 20.84 kB / 440.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.1858, allocations: 7.938 kB / 440.3 MB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002106/0.1861, allocations: 67.33 kB / 440.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.1861, allocations: 0 / 440.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002806/0.1864, allocations: 89.58 kB / 440.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.1864, allocations: 63.36 kB / 440.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.1867, allocations: 182.2 kB / 440.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.1867, allocations: 25.7 kB / 440.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.182e-05/0.1868, allocations: 96.14 kB / 440.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/0.1868, allocations: 23.78 kB / 440.9 MB, free: 14.24 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.1868, allocations: 0 / 440.9 MB, free: 14.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.187, allocations: 322.8 kB / 441.2 MB, free: 13.92 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.906e-05/0.187, allocations: 11.94 kB / 441.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.266e-05/0.1871, allocations: 37.7 kB / 441.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.043e-05/0.1872, allocations: 12 kB / 441.2 MB, free: 13.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1872, allocations: 0 / 441.2 MB, free: 13.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001473/0.1873, allocations: 81.77 kB / 441.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.1874, allocations: 8 kB / 441.3 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1874, allocations: 64 / 441.3 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.1874, allocations: 4 kB / 441.3 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.456e-05/0.1875, allocations: 8 kB / 441.3 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/0.1875, allocations: 11.98 kB / 441.4 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.049e-05/0.1876, allocations: 7.906 kB / 441.4 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.1876, allocations: 4 kB / 441.4 MB, free: 13.72 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 (7): * Single equations (assignments): 7 * 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.000125/0.1877, allocations: 125.5 kB / 441.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/0.1877, allocations: 11.89 kB / 441.5 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.083e-05/0.1878, allocations: 16.3 kB / 441.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.1878, allocations: 0 / 441.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1878, allocations: 4 kB / 441.5 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1878, allocations: 7.891 kB / 441.5 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.188, allocations: 185.6 kB / 441.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.188, allocations: 0 / 441.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.979e-05/0.188, allocations: 4 kB / 441.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.1881, allocations: 0 / 441.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.1881, allocations: 11.92 kB / 441.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1881, allocations: 0 / 441.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1881, allocations: 0 / 441.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.1883, allocations: 105 kB / 441.8 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.685e-05/0.1883, allocations: 96.91 kB / 441.9 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.1884, allocations: 0 / 441.9 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.784e-05/0.1884, allocations: 4 kB / 441.9 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.1884, allocations: 3.984 kB / 441.9 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.1885, allocations: 8 kB / 441.9 MB, free: 13.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.1886, allocations: 148 kB / 442.1 MB, free: 12.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1886, allocations: 0 / 442.1 MB, free: 12.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002162/0.1888, allocations: 12 kB / 442.1 MB, free: 12.9 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009245/0.1898, allocations: 409.9 kB / 442.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001656/0.1899, allocations: 43.86 kB / 442.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1899, allocations: 0 / 442.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.011e-05/0.19, allocations: 19.98 kB / 442.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.1903, allocations: 27.94 kB / 442.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004507/0.1908, allocations: 217 kB / 442.8 MB, free: 12.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.1911, allocations: 0.6965 MB / 443.5 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.213e-05/0.1911, allocations: 16.53 kB / 443.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/0.1912, allocations: 15.44 kB / 443.5 MB, free: 11.43 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1912, allocations: 4 kB / 443.5 MB, free: 11.43 MB / 382.1 MB Notification: Performance of Templates: time 0.004197/0.1954, allocations: 1.381 MB / 444.9 MB, free: 10.05 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) Environment - environmentSimulation: