Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001198/0.001198, allocations: 195.4 kB / 16.14 MB, free: 6.711 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.633/1.633, allocations: 205.1 MB / 222 MB, free: 4.98 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.3352/0.3352, allocations: 39.94 MB / 309.3 MB, free: 9.594 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.001505/0.001505, allocations: 59.91 kB / 376.9 MB, free: 13.46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1702, allocations: 56.88 MB / 433.8 MB, free: 4.48 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003785/0.1741, allocations: 1.748 MB / 435.6 MB, free: 2.719 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.1754, allocations: 0.7884 MB / 436.3 MB, free: 1.922 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.53e-05/0.1755, allocations: 0 / 436.3 MB, free: 1.922 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003733/0.1759, allocations: 31.84 kB / 436.4 MB, free: 1.891 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.1761, allocations: 51.83 kB / 436.4 MB, free: 1.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.1764, allocations: 83.72 kB / 436.5 MB, free: 1.758 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002409/0.1766, allocations: 83.77 kB / 436.6 MB, free: 1.676 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.1767, allocations: 16.2 kB / 436.6 MB, free: 1.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.384e-05/0.1768, allocations: 39.8 kB / 436.6 MB, free: 1.621 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.562e-05/0.1769, allocations: 23.84 kB / 436.7 MB, free: 1.598 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.177, allocations: 4 kB / 436.7 MB, free: 1.594 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.1771, allocations: 43.92 kB / 436.7 MB, free: 1.551 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.829e-05/0.1772, allocations: 19.91 kB / 436.7 MB, free: 1.531 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.047e-05/0.1772, allocations: 31.8 kB / 436.8 MB, free: 1.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.1775, allocations: 111.9 kB / 436.9 MB, free: 1.391 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.1775, allocations: 0 / 436.9 MB, free: 1.391 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1775, allocations: 0 / 436.9 MB, free: 1.391 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1775, allocations: 4 kB / 436.9 MB, free: 1.387 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008093/0.1783, allocations: 395.1 kB / 437.3 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.416e-05/0.1784, allocations: 8.031 kB / 437.3 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.628e-05/0.1785, allocations: 16.78 kB / 437.3 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.1788, allocations: 204.7 kB / 437.5 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.1788, allocations: 3.938 kB / 437.5 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/0.1788, allocations: 7.984 kB / 437.5 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.179, allocations: 53.67 kB / 437.6 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.1791, allocations: 0 / 437.6 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.1791, allocations: 7.938 kB / 437.6 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.1791, allocations: 0 / 437.6 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.617e-05/0.1792, allocations: 19.98 kB / 437.6 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004977/0.1797, allocations: 288.8 kB / 437.9 MB, free: 268 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.1799, allocations: 58.67 kB / 437.9 MB, free: 200 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.737e-05/0.18, allocations: 20.84 kB / 437.9 MB, free: 176 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.18, allocations: 0 / 437.9 MB, free: 176 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002367/0.1802, allocations: 75.33 kB / 438 MB, free: 88 kB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.1803, allocations: 0 / 438 MB, free: 88 kB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006451/0.1809, allocations: 169.2 kB / 438.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.181, allocations: 59.28 kB / 438.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.1812, allocations: 158.4 kB / 438.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.1812, allocations: 29.7 kB / 438.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.152e-05/0.1813, allocations: 96.14 kB / 438.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.1813, allocations: 31.64 kB / 438.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.1814, allocations: 17.72 kB / 438.6 MB, free: 15.49 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1815, allocations: 322.8 kB / 438.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.203e-05/0.1816, allocations: 23.98 kB / 438.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.849e-05/0.1817, allocations: 33.7 kB / 438.9 MB, free: 15.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.1818, allocations: 61.72 kB / 439 MB, free: 15.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1818, allocations: 4 kB / 439 MB, free: 15.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001834/0.182, allocations: 101.6 kB / 439.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/0.1821, allocations: 4 kB / 439.1 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.1821, allocations: 0 / 439.1 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.1821, allocations: 7.938 kB / 439.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.1822, allocations: 19.92 kB / 439.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.1822, allocations: 0 / 439.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.614e-05/0.1823, allocations: 4 kB / 439.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.1823, allocations: 7.938 kB / 439.1 MB, free: 14.88 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.1824, allocations: 125.9 kB / 439.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.1824, allocations: 11.81 kB / 439.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.648e-05/0.1825, allocations: 16.66 kB / 439.3 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1825, allocations: 4 kB / 439.3 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.1825, allocations: 0 / 439.3 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1825, allocations: 0 / 439.3 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004486/0.183, allocations: 391.7 kB / 439.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.183, allocations: 192 / 439.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.377e-05/0.183, allocations: 15.98 kB / 439.7 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.183, allocations: 3.938 kB / 439.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.1831, allocations: 4 kB / 439.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.1831, allocations: 0 / 439.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1831, allocations: 3.938 kB / 439.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.1833, allocations: 208.2 kB / 439.9 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.855e-05/0.1834, allocations: 85.02 kB / 440 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.1834, allocations: 0 / 440 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.332e-05/0.1835, allocations: 15.97 kB / 440 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.1835, allocations: 4 kB / 440 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.1835, allocations: 4 kB / 440 MB, free: 13.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.299e-05/0.1836, allocations: 131.9 kB / 440.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1837, allocations: 0 / 440.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.1839, allocations: 24 kB / 440.2 MB, free: 13.75 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 (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.001001/0.1849, allocations: 469.2 kB / 440.6 MB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001892/0.1851, allocations: 59.91 kB / 440.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1851, allocations: 64 / 440.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.843e-05/0.1852, allocations: 31.94 kB / 440.7 MB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.1856, allocations: 28.28 kB / 440.7 MB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004406/0.186, allocations: 236.5 kB / 441 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.1863, allocations: 0.6965 MB / 441.7 MB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.223e-05/0.1864, allocations: 8.891 kB / 441.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.1864, allocations: 19.42 kB / 441.7 MB, free: 12.19 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1864, allocations: 0 / 441.7 MB, free: 12.19 MB / 382.1 MB Notification: Performance of Templates: time 0.004387/0.1908, allocations: 1.619 MB / 443.3 MB, free: 10.57 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1)