Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 102.2 kB / 15.98 MB, free: 6.352 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.001282/0.001283, allocations: 189.4 kB / 16.9 MB, free: 6.184 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.603/1.603, allocations: 205.1 MB / 222.8 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3501/0.3501, allocations: 43.49 MB / 313.6 MB, free: 8.242 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: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 68.47 kB / 382.2 MB, free: 8.387 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1681, allocations: 57.8 MB / 440 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001966/0.1701, allocations: 0.5386 MB / 440.5 MB, free: 13.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003248/0.1734, allocations: 2.23 MB / 442.8 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.019e-06/0.1734, allocations: 0 / 442.8 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.158e-06/0.1734, allocations: 0 / 442.8 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.774e-06/0.1735, allocations: 0 / 442.8 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00199/0.1755, allocations: 0.5618 MB / 443.3 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.061e-05/0.1755, allocations: 8 kB / 443.3 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.612e-05/0.1756, allocations: 0 / 443.3 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.94e-05/0.1757, allocations: 4 kB / 443.4 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.561e-05/0.1757, allocations: 7.984 kB / 443.4 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.451e-06/0.1757, allocations: 0 / 443.4 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009455/0.1767, allocations: 0.6085 MB / 444 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.879e-06/0.1767, allocations: 4 kB / 444 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.1767, allocations: 0 / 444 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006366/0.1774, allocations: 431.4 kB / 444.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.1774, allocations: 0 / 444.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1774, allocations: 3.938 kB / 444.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.1774, allocations: 0 / 444.4 MB, free: 10.07 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005101/0.1779, allocations: 417.3 kB / 444.8 MB, free: 9.609 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.178, allocations: 19.89 kB / 444.8 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.308e-05/0.1781, allocations: 84.22 kB / 444.9 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.1783, allocations: 239.7 kB / 445.1 MB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.089e-05/0.1783, allocations: 150.9 kB / 445.3 MB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.354e-05/0.1784, allocations: 158.6 kB / 445.4 MB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.271e-05/0.1785, allocations: 108.9 kB / 445.5 MB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.285e-05/0.1785, allocations: 83.28 kB / 445.6 MB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.519e-05/0.1786, allocations: 154.5 kB / 445.8 MB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.776e-05/0.1787, allocations: 150.6 kB / 445.9 MB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.598e-05/0.1787, allocations: 150.6 kB / 446.1 MB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003218/0.1791, allocations: 442 kB / 446.5 MB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.1792, allocations: 177.1 kB / 446.7 MB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.283e-05/0.1792, allocations: 84.08 kB / 446.8 MB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.623e-05/0.1793, allocations: 75.28 kB / 446.8 MB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.931e-05/0.1794, allocations: 135.5 kB / 447 MB, free: 7.312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/0.1794, allocations: 0 / 447 MB, free: 7.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.186e-05/0.1795, allocations: 33.69 kB / 447 MB, free: 7.273 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.875e-05/0.1796, allocations: 156.4 kB / 447.2 MB, free: 7.102 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.869e-05/0.1796, allocations: 97.73 kB / 447.2 MB, free: 6.996 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.1797, allocations: 25.7 kB / 447.3 MB, free: 6.965 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.954e-05/0.1797, allocations: 80.14 kB / 447.4 MB, free: 6.883 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.1797, allocations: 0 / 447.4 MB, free: 6.883 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.1797, allocations: 13.72 kB / 447.4 MB, free: 6.863 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1798, allocations: 314.8 kB / 447.7 MB, free: 6.547 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-06/0.1799, allocations: 4 kB / 447.7 MB, free: 6.543 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.334e-05/0.1799, allocations: 0 / 447.7 MB, free: 6.543 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.602e-05/0.1799, allocations: 79.27 kB / 447.8 MB, free: 6.465 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.627e-05/0.18, allocations: 75.28 kB / 447.8 MB, free: 6.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.378e-05/0.18, allocations: 33.64 kB / 447.9 MB, free: 6.352 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.775e-05/0.1801, allocations: 83.28 kB / 447.9 MB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.984e-05/0.1801, allocations: 87.2 kB / 448 MB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.489e-05/0.1802, allocations: 150.7 kB / 448.2 MB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.606e-05/0.1802, allocations: 83.33 kB / 448.3 MB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.891e-05/0.1803, allocations: 154.5 kB / 448.4 MB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.777e-05/0.1804, allocations: 79.28 kB / 448.5 MB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.1804, allocations: 83.2 kB / 448.6 MB, free: 5.641 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001342/0.1805, allocations: 264.4 kB / 448.8 MB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/0.1806, allocations: 108.9 kB / 448.9 MB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.533e-05/0.1807, allocations: 112.1 kB / 449 MB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-05/0.1808, allocations: 176.3 kB / 449.2 MB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.609e-05/0.1808, allocations: 184.2 kB / 449.4 MB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.852e-05/0.1809, allocations: 180.2 kB / 449.6 MB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.1811, allocations: 401.2 kB / 450 MB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-05/0.1812, allocations: 112.9 kB / 450.1 MB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.632e-05/0.1812, allocations: 105 kB / 450.2 MB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.993e-05/0.1813, allocations: 176.3 kB / 450.3 MB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-05/0.1814, allocations: 184.1 kB / 450.5 MB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.075e-05/0.1815, allocations: 180.3 kB / 450.7 MB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.025e-05/0.1815, allocations: 192.2 kB / 450.9 MB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.1817, allocations: 299.8 kB / 451.2 MB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-05/0.1818, allocations: 186 kB / 451.4 MB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.545e-05/0.1819, allocations: 184.3 kB / 451.5 MB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.182, allocations: 108.9 kB / 451.6 MB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.978e-05/0.1821, allocations: 180.3 kB / 451.8 MB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-05/0.1822, allocations: 112.9 kB / 451.9 MB, free: 2.043 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.542e-05/0.1822, allocations: 75.28 kB / 452 MB, free: 1.969 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1822, allocations: 3.938 kB / 452 MB, free: 1.965 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006828/0.1829, allocations: 128 kB / 452.1 MB, free: 1.84 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.001108/0.184, allocations: 424.9 kB / 452.6 MB, free: 1.426 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.952e-05/0.1841, allocations: 0 / 452.6 MB, free: 1.426 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1841, allocations: 0 / 452.6 MB, free: 1.426 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.99e-06/0.1841, allocations: 4 kB / 452.6 MB, free: 1.422 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000456/0.1846, allocations: 459.6 kB / 453 MB, free: 0.9688 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002287/0.1848, allocations: 160.1 kB / 453.2 MB, free: 0.7852 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.1851, allocations: 0.669 MB / 453.8 MB, free: 92 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.486e-06/0.1851, allocations: 4 kB / 453.8 MB, free: 88 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.178e-05/0.1852, allocations: 11.38 kB / 453.8 MB, free: 80 kB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1852, allocations: 3.938 kB / 453.8 MB, free: 76 kB / 382.1 MB Notification: Performance of Templates: time 0.2118/0.3969, allocations: 3.06 MB / 456.9 MB, free: 49.06 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe 2>&1)