Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Test68,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, 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.001669/0.001669, allocations: 192 kB / 16.53 MB, free: 6.391 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.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4011/0.4011, allocations: 38 MB / 307.8 MB, free: 10.06 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.1. 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.002465/0.002465, allocations: 80.53 kB / 375.3 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1697, allocations: 56.46 MB / 431.7 MB, free: 6.648 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003869/0.1736, allocations: 1.774 MB / 433.5 MB, free: 4.855 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.1752, allocations: 0.8794 MB / 434.4 MB, free: 3.969 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.116e-05/0.1753, allocations: 3.938 kB / 434.4 MB, free: 3.965 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005789/0.1759, allocations: 295.4 kB / 434.7 MB, free: 3.676 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.0003931/0.1763, allocations: 203.3 kB / 434.9 MB, free: 3.477 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003649/0.1767, allocations: 143.6 kB / 435 MB, free: 3.336 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003366/0.177, allocations: 243.3 kB / 435.2 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.538e-05/0.1771, allocations: 17.53 kB / 435.3 MB, free: 3.078 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.1773, allocations: 127.5 kB / 435.4 MB, free: 2.953 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.1776, allocations: 184 kB / 435.6 MB, free: 2.773 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.1776, allocations: 4 kB / 435.6 MB, free: 2.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.1777, allocations: 55.91 kB / 435.6 MB, free: 2.715 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.1779, allocations: 132.5 kB / 435.7 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.1781, allocations: 142.8 kB / 435.9 MB, free: 2.445 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004292/0.1785, allocations: 347 kB / 436.2 MB, free: 2.105 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.956e-06/0.1785, allocations: 0 / 436.2 MB, free: 2.105 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1785, allocations: 7.938 kB / 436.2 MB, free: 2.098 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.1786, allocations: 0 / 436.2 MB, free: 2.098 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001203/0.1798, allocations: 0.7113 MB / 436.9 MB, free: 1.336 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.405e-05/0.1798, allocations: 15.89 kB / 437 MB, free: 1.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.18, allocations: 52.27 kB / 437 MB, free: 1.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006601/0.1806, allocations: 436 kB / 437.4 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.1807, allocations: 4.375 kB / 437.4 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.1807, allocations: 8.125 kB / 437.4 MB, free: 0.793 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.1809, allocations: 83.36 kB / 437.5 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.181, allocations: 3.938 kB / 437.5 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.181, allocations: 4 kB / 437.5 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.181, allocations: 0 / 437.5 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.1811, allocations: 27.97 kB / 437.6 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005016/0.1817, allocations: 382.2 kB / 437.9 MB, free: 244 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.182, allocations: 109.2 kB / 438 MB, free: 116 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.57e-05/0.1821, allocations: 41.64 kB / 438.1 MB, free: 68 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.1821, allocations: 4 kB / 438.1 MB, free: 64 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003024/0.1824, allocations: 109 kB / 438.2 MB, free: 15.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.133e-06/0.1824, allocations: 0 / 438.2 MB, free: 15.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005018/0.1829, allocations: 197.3 kB / 438.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.183, allocations: 81.11 kB / 438.5 MB, free: 15.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009808/0.184, allocations: 1.007 MB / 439.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.184, allocations: 25.7 kB / 439.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.1842, allocations: 228 kB / 439.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.832e-05/0.1842, allocations: 31.64 kB / 439.7 MB, free: 14.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/0.1843, allocations: 33.7 kB / 439.8 MB, free: 14.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1844, allocations: 366.8 kB / 440.1 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.63e-05/0.1845, allocations: 27.98 kB / 440.2 MB, free: 13.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.442e-05/0.1846, allocations: 51.48 kB / 440.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.1848, allocations: 99.34 kB / 440.3 MB, free: 13.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1848, allocations: 0 / 440.3 MB, free: 13.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003344/0.1852, allocations: 176.8 kB / 440.5 MB, free: 13.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.1852, allocations: 4 kB / 440.5 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.1852, allocations: 4 kB / 440.5 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.1852, allocations: 0 / 440.5 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.1854, allocations: 19.98 kB / 440.5 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.1854, allocations: 8.062 kB / 440.5 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.83e-05/0.1855, allocations: 11.89 kB / 440.5 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.1855, allocations: 4 kB / 440.5 MB, free: 13.5 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002149/0.1857, allocations: 221.7 kB / 440.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.046e-05/0.1858, allocations: 51.42 kB / 440.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.195e-05/0.1859, allocations: 55.84 kB / 440.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1859, allocations: 0 / 440.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.1859, allocations: 4 kB / 440.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1859, allocations: 0 / 440.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003231/0.1862, allocations: 345.3 kB / 441.2 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1862, allocations: 128 / 441.2 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.849e-05/0.1863, allocations: 12 kB / 441.2 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.1863, allocations: 3.984 kB / 441.2 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.1863, allocations: 7.938 kB / 441.2 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1863, allocations: 0 / 441.2 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1863, allocations: 0 / 441.2 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/0.1867, allocations: 209.2 kB / 441.4 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.1868, allocations: 132.5 kB / 441.6 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.31e-05/0.1869, allocations: 0 / 441.6 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.492e-05/0.1869, allocations: 7.984 kB / 441.6 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.187, allocations: 11.98 kB / 441.6 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.187, allocations: 4 kB / 441.6 MB, free: 12.35 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007755/0.1878, allocations: 0.7526 MB / 442.3 MB, free: 11.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1878, allocations: 96 / 442.3 MB, free: 11.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.1881, allocations: 47.94 kB / 442.4 MB, free: 11.55 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.0009756/0.1891, allocations: 412.5 kB / 442.8 MB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000261/0.1894, allocations: 83.89 kB / 442.9 MB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1894, allocations: 0 / 442.9 MB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.1895, allocations: 43.92 kB / 442.9 MB, free: 11.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.1899, allocations: 77.94 kB / 443 MB, free: 10.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.191, allocations: 0.851 MB / 443.8 MB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.1915, allocations: 0.8504 MB / 444.7 MB, free: 9.211 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.1916, allocations: 50.95 kB / 444.7 MB, free: 9.164 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.694e-05/0.1917, allocations: 31.42 kB / 444.8 MB, free: 9.133 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1917, allocations: 0 / 444.8 MB, free: 9.133 MB / 382.1 MB Notification: Performance of Templates: time 0.00814/0.1998, allocations: 3.668 MB / 448.4 MB, free: 5.469 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1)