Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001067, allocations: 91.84 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.00111/0.001111, 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.897/1.897, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.3808/0.3808, allocations: 40 MB / 310.4 MB, free: 9.984 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.0008038/0.0008042, allocations: 16 kB / 378.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1767, allocations: 57.96 MB / 436.8 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.00357/0.1803, allocations: 1.386 MB / 438.2 MB, free: 1.145 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.1822, allocations: 0.7461 MB / 438.9 MB, free: 400 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.1824, allocations: 0 / 438.9 MB, free: 400 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004624/0.1829, allocations: 55.86 kB / 439 MB, free: 344 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003149/0.1832, allocations: 51.77 kB / 439 MB, free: 292 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.1837, allocations: 75.83 kB / 439.1 MB, free: 216 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002665/0.1839, allocations: 79.7 kB / 439.2 MB, free: 136 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.1841, allocations: 20.19 kB / 439.2 MB, free: 116 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.1842, allocations: 39.8 kB / 439.2 MB, free: 76 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.1844, allocations: 39.83 kB / 439.3 MB, free: 36 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.1844, allocations: 0 / 439.3 MB, free: 36 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.1846, allocations: 36 kB / 439.3 MB, free: 0 / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.515e-05/0.1847, allocations: 23.91 kB / 439.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.494e-05/0.1848, allocations: 45.58 kB / 439.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.185, allocations: 104 kB / 439.5 MB, free: 15.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.185, allocations: 0 / 439.5 MB, free: 15.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.185, allocations: 0 / 439.5 MB, free: 15.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1851, allocations: 0 / 439.5 MB, free: 15.82 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.0007635/0.1858, allocations: 430.6 kB / 439.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.1859, allocations: 8.031 kB / 439.9 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.694e-05/0.186, allocations: 15.81 kB / 439.9 MB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.1863, allocations: 202.9 kB / 440.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.1864, allocations: 8 kB / 440.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.1864, allocations: 0 / 440.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.1866, allocations: 57.61 kB / 440.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.1866, allocations: 3.906 kB / 440.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.1867, allocations: 8 kB / 440.2 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.1867, allocations: 7.953 kB / 440.2 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.1868, allocations: 15.98 kB / 440.2 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005077/0.1873, allocations: 292.9 kB / 440.5 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.1875, allocations: 54.62 kB / 440.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.194e-05/0.1876, allocations: 24.84 kB / 440.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.1877, allocations: 0 / 440.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002468/0.1879, allocations: 67.34 kB / 440.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.893e-06/0.1879, allocations: 0 / 440.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007236/0.1887, allocations: 189 kB / 440.8 MB, free: 14.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.1887, allocations: 51.41 kB / 440.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003552/0.1891, allocations: 258.5 kB / 441.1 MB, free: 13.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.1891, allocations: 29.7 kB / 441.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.1892, allocations: 116 kB / 441.3 MB, free: 13.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.512e-05/0.1893, allocations: 23.73 kB / 441.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/0.1893, allocations: 4 kB / 441.3 MB, free: 13.78 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1895, allocations: 322.8 kB / 441.6 MB, free: 13.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.747e-05/0.1896, allocations: 23.98 kB / 441.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.359e-05/0.1896, allocations: 37.64 kB / 441.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.36e-05/0.1897, allocations: 24 kB / 441.7 MB, free: 13.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1897, allocations: 4 kB / 441.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002571/0.19, allocations: 101.5 kB / 441.8 MB, free: 13.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.19, allocations: 11.59 kB / 441.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1901, allocations: 3.984 kB / 441.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1901, allocations: 192 / 441.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.1902, allocations: 15.94 kB / 441.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.1902, allocations: 11.88 kB / 441.9 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.025e-05/0.1903, allocations: 4.031 kB / 441.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.1903, allocations: 4 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.0001477/0.1905, allocations: 137.8 kB / 442 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.1905, allocations: 15.77 kB / 442 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.43e-05/0.1906, allocations: 21.41 kB / 442 MB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.1906, allocations: 4 kB / 442 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.1907, allocations: 0 / 442 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1907, allocations: 0 / 442 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005698/0.1912, allocations: 411.2 kB / 442.4 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.1913, allocations: 3.984 kB / 442.5 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.547e-05/0.1913, allocations: 8 kB / 442.5 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.1913, allocations: 7.922 kB / 442.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.1914, allocations: 4.375 kB / 442.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.1914, allocations: 4 kB / 442.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.1914, allocations: 4 kB / 442.5 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.1917, allocations: 200.3 kB / 442.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.886e-05/0.1918, allocations: 96.88 kB / 442.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.1918, allocations: 7.984 kB / 442.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.1919, allocations: 0 / 442.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.192, allocations: 4 kB / 442.8 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.192, allocations: 11.98 kB / 442.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002072/0.1922, allocations: 196 kB / 443 MB, free: 11.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1922, allocations: 4 kB / 443 MB, free: 11.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003922/0.1926, allocations: 27.98 kB / 443 MB, free: 11.96 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.001365/0.194, allocations: 463.4 kB / 443.5 MB, free: 11.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002271/0.1942, allocations: 59.92 kB / 443.5 MB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1943, allocations: 0 / 443.5 MB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.535e-05/0.1944, allocations: 31.92 kB / 443.6 MB, free: 11.44 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004833/0.1948, allocations: 27.91 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.0006973/0.1956, allocations: 306.9 kB / 443.9 MB, free: 11.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.1959, allocations: 0.7121 MB / 444.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.473e-05/0.196, allocations: 20.88 kB / 444.6 MB, free: 10.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.074e-05/0.1961, allocations: 15.44 kB / 444.6 MB, free: 10.3 MB / 382.1 MB Notification: Performance of SimCode: time 6.82e-07/0.1961, allocations: 3.938 kB / 444.6 MB, free: 10.3 MB / 382.1 MB Notification: Performance of Templates: time 0.006105/0.2022, allocations: 1.611 MB / 446.2 MB, free: 8.688 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) Environment - environmentSimulation: