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.001307/0.001307, allocations: 107.1 kB / 16.41 MB, free: 6.504 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.001641/0.001642, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.651/1.651, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2428/0.2428, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 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.001422/0.001422, allocations: 65.45 kB / 441.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1522, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001659/0.1539, allocations: 494.8 kB / 0.4883 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003423/0.1573, allocations: 2.237 MB / 0.4905 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.272e-06/0.1574, allocations: 0 / 0.4905 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.018e-06/0.1574, allocations: 0 / 0.4905 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.413e-06/0.1574, allocations: 0 / 0.4905 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00241/0.1598, allocations: 0.6079 MB / 0.4911 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.565e-05/0.1599, allocations: 7.984 kB / 0.4911 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.442e-05/0.1599, allocations: 4 kB / 0.4911 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.669e-05/0.16, allocations: 19.92 kB / 0.4911 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.512e-05/0.1601, allocations: 4 kB / 0.4912 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.5e-06/0.1601, allocations: 0 / 0.4912 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.1611, allocations: 0.6359 MB / 0.4918 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.002e-05/0.1612, allocations: 3.984 kB / 0.4918 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.371e-05/0.1612, allocations: 4 kB / 0.4918 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006285/0.1618, allocations: 419.4 kB / 0.4922 GB, free: 7.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1618, allocations: 4 kB / 0.4922 GB, free: 7.363 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1618, allocations: 3.938 kB / 0.4922 GB, free: 7.359 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.1619, allocations: 0 / 0.4922 GB, free: 7.359 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.0004629/0.1623, allocations: 421.3 kB / 0.4926 GB, free: 6.895 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.1624, allocations: 11.89 kB / 0.4926 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.088e-05/0.1625, allocations: 88.14 kB / 0.4927 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.1626, allocations: 235.7 kB / 0.4929 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.477e-05/0.1627, allocations: 154.9 kB / 0.4931 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-05/0.1628, allocations: 154.7 kB / 0.4932 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.225e-05/0.1629, allocations: 101 kB / 0.4933 GB, free: 6.117 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.359e-05/0.1629, allocations: 75.28 kB / 0.4934 GB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.411e-05/0.163, allocations: 154.6 kB / 0.4935 GB, free: 5.891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.86e-05/0.163, allocations: 154.6 kB / 0.4937 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.386e-05/0.1631, allocations: 158.5 kB / 0.4938 GB, free: 5.582 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003372/0.1635, allocations: 441.9 kB / 0.4942 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.1636, allocations: 169.1 kB / 0.4944 GB, free: 4.926 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.981e-05/0.1637, allocations: 84.08 kB / 0.4945 GB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.133e-05/0.1637, allocations: 83.28 kB / 0.4946 GB, free: 4.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.542e-05/0.1638, allocations: 135.5 kB / 0.4947 GB, free: 4.609 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.1638, allocations: 0 / 0.4947 GB, free: 4.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001173/0.1639, allocations: 33.64 kB / 0.4947 GB, free: 4.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.1641, allocations: 156.4 kB / 0.4949 GB, free: 4.398 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.691e-05/0.1641, allocations: 93.8 kB / 0.495 GB, free: 4.297 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1642, allocations: 25.7 kB / 0.495 GB, free: 4.266 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.436e-05/0.1642, allocations: 84.14 kB / 0.4951 GB, free: 4.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/0.1642, allocations: 0 / 0.4951 GB, free: 4.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.1643, allocations: 21.7 kB / 0.4951 GB, free: 4.152 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.1644, allocations: 310.8 kB / 0.4954 GB, free: 3.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.043e-06/0.1644, allocations: 0 / 0.4954 GB, free: 3.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.624e-05/0.1645, allocations: 4.047 kB / 0.4954 GB, free: 3.836 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.928e-05/0.1645, allocations: 79.28 kB / 0.4955 GB, free: 3.758 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.408e-05/0.1646, allocations: 75.28 kB / 0.4955 GB, free: 3.684 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.593e-05/0.1647, allocations: 41.61 kB / 0.4956 GB, free: 3.637 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.098e-05/0.1647, allocations: 79.28 kB / 0.4957 GB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.237e-05/0.1648, allocations: 75.28 kB / 0.4957 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001043/0.1649, allocations: 158.5 kB / 0.4959 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.841e-05/0.1649, allocations: 79.27 kB / 0.496 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.765e-05/0.165, allocations: 154.6 kB / 0.4961 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.145e-05/0.1651, allocations: 83.22 kB / 0.4962 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.882e-05/0.1651, allocations: 79.28 kB / 0.4963 GB, free: 2.938 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.0001659/0.1653, allocations: 260.3 kB / 0.4965 GB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.798e-05/0.1654, allocations: 112.9 kB / 0.4966 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.893e-05/0.1655, allocations: 108.1 kB / 0.4967 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.584e-05/0.1656, allocations: 180.3 kB / 0.4969 GB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000124/0.1657, allocations: 184.2 kB / 0.4971 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.87e-05/0.1658, allocations: 180.3 kB / 0.4972 GB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002995/0.1661, allocations: 405.2 kB / 0.4976 GB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.721e-05/0.1662, allocations: 104.9 kB / 0.4977 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.221e-05/0.1663, allocations: 113 kB / 0.4978 GB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.241e-05/0.1664, allocations: 184.2 kB / 0.498 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.1665, allocations: 180.3 kB / 0.4982 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.791e-05/0.1666, allocations: 184.2 kB / 0.4983 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.462e-05/0.1667, allocations: 180.3 kB / 0.4985 GB, free: 472 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.1669, allocations: 307.8 kB / 0.4988 GB, free: 140 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.167, allocations: 186 kB / 0.499 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.1671, allocations: 180.2 kB / 0.4992 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.811e-05/0.1672, allocations: 105 kB / 0.4993 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.881e-05/0.1673, allocations: 180.3 kB / 0.4994 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.574e-05/0.1674, allocations: 108.9 kB / 0.4995 GB, free: 15.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.323e-05/0.1675, allocations: 79.28 kB / 0.4996 GB, free: 15.26 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1675, allocations: 3.938 kB / 0.4996 GB, free: 15.26 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005508/0.168, allocations: 132 kB / 0.4997 GB, free: 15.13 MB / 398.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.00092/0.1689, allocations: 408.4 kB / 0.5001 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 6.699e-05/0.169, allocations: 4.516 kB / 0.5001 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.169, allocations: 0 / 0.5001 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.856e-06/0.169, allocations: 3.938 kB / 0.5001 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.1695, allocations: 463.6 kB / 0.5006 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001917/0.1697, allocations: 152.1 kB / 0.5007 GB, free: 14.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.17, allocations: 0.6768 MB / 0.5014 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.18e-05/0.17, allocations: 4 kB / 0.5014 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.482e-05/0.17, allocations: 7.438 kB / 0.5014 GB, free: 13.37 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.17, allocations: 0 / 0.5014 GB, free: 13.37 MB / 398.1 MB Notification: Performance of Templates: time 0.007351/0.1774, allocations: 3.072 MB / 0.5044 GB, free: 10.3 MB / 398.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)