Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009427/0.0009428, allocations: 181.3 kB / 17.41 MB, free: 4.289 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 205.4 MB / 223.6 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008047/0.0008048, allocations: 93.08 kB / 271.9 MB, free: 8.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3511/0.3511, allocations: 43.57 MB / 363.8 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003904, allocations: 12 kB / 432.6 MB, free: 5.914 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.115, allocations: 58.85 MB / 491.4 MB, free: 10.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2997/0.4148, allocations: 88.37 MB / 0.5662 GB, free: 14.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.4151, allocations: 63.98 kB / 0.5663 GB, free: 14.01 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03834/0.4534, allocations: 12.91 MB / 0.5789 GB, free: 1.129 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4535, allocations: 0 / 0.5789 GB, free: 1.129 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.4535, allocations: 0 / 0.5789 GB, free: 1.129 MB / 394.7 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.000604/0.4541, allocations: 459.8 kB / 0.5793 GB, free: 0.625 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.4542, allocations: 12.03 kB / 0.5793 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/0.4542, allocations: 76.22 kB / 0.5794 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.4543, allocations: 239.6 kB / 0.5796 GB, free: 272 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.914e-05/0.4544, allocations: 150.9 kB / 0.5798 GB, free: 120 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.155e-05/0.4545, allocations: 150.9 kB / 0.5799 GB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.541e-05/0.4545, allocations: 105.5 kB / 0.58 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.033e-05/0.4546, allocations: 83.45 kB / 0.5801 GB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.45e-05/0.4546, allocations: 158.5 kB / 0.5803 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.686e-05/0.4547, allocations: 154.6 kB / 0.5804 GB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.271e-05/0.4547, allocations: 150.6 kB / 0.5806 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002439/0.455, allocations: 445.9 kB / 0.581 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.341e-05/0.4551, allocations: 169.1 kB / 0.5811 GB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.087e-05/0.4551, allocations: 84.14 kB / 0.5812 GB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.4551, allocations: 75.28 kB / 0.5813 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.745e-05/0.4552, allocations: 131.5 kB / 0.5814 GB, free: 14.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.4552, allocations: 0 / 0.5814 GB, free: 14.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 7.404e-05/0.4553, allocations: 45.56 kB / 0.5815 GB, free: 14.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/0.4554, allocations: 152.4 kB / 0.5816 GB, free: 14.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.442e-05/0.4554, allocations: 89.86 kB / 0.5817 GB, free: 14.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.4554, allocations: 25.7 kB / 0.5817 GB, free: 14.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.694e-05/0.4554, allocations: 84.14 kB / 0.5818 GB, free: 13.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.4555, allocations: 0 / 0.5818 GB, free: 13.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.4555, allocations: 0 / 0.5818 GB, free: 13.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.237e-05/0.4556, allocations: 310.8 kB / 0.5821 GB, free: 13.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.467e-06/0.4556, allocations: 4 kB / 0.5821 GB, free: 13.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.206e-05/0.4556, allocations: 4 kB / 0.5821 GB, free: 13.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.679e-05/0.4556, allocations: 79.33 kB / 0.5822 GB, free: 13.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-05/0.4557, allocations: 75.28 kB / 0.5822 GB, free: 13.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.425e-05/0.4557, allocations: 33.64 kB / 0.5823 GB, free: 13.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.649e-05/0.4558, allocations: 83.28 kB / 0.5824 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.717e-05/0.4558, allocations: 80.3 kB / 0.5824 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.333e-05/0.4559, allocations: 154.5 kB / 0.5826 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.285e-05/0.4559, allocations: 87.19 kB / 0.5827 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.074e-05/0.4559, allocations: 154.6 kB / 0.5828 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.101e-05/0.456, allocations: 79.22 kB / 0.5829 GB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.456, allocations: 79.28 kB / 0.583 GB, free: 12.7 MB / 410.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.4561, allocations: 260.4 kB / 0.5832 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.827e-05/0.4562, allocations: 109 kB / 0.5833 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.438e-05/0.4563, allocations: 112 kB / 0.5834 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.361e-05/0.4563, allocations: 182.2 kB / 0.5836 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.995e-05/0.4564, allocations: 180.2 kB / 0.5838 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.018e-05/0.4564, allocations: 184.2 kB / 0.5839 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.4566, allocations: 409.2 kB / 0.5843 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.124e-05/0.4567, allocations: 101 kB / 0.5844 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.005e-05/0.4567, allocations: 101 kB / 0.5845 GB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-05/0.4568, allocations: 180.2 kB / 0.5847 GB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-05/0.4568, allocations: 196.2 kB / 0.5849 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.344e-05/0.4569, allocations: 180.2 kB / 0.5851 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.787e-05/0.457, allocations: 180.3 kB / 0.5852 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.4571, allocations: 303.8 kB / 0.5855 GB, free: 9.918 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.709e-05/0.4572, allocations: 182.1 kB / 0.5857 GB, free: 9.715 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.219e-05/0.4572, allocations: 188.1 kB / 0.5859 GB, free: 9.523 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.062e-05/0.4573, allocations: 101.4 kB / 0.586 GB, free: 9.418 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.4574, allocations: 180.3 kB / 0.5861 GB, free: 9.234 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/0.4574, allocations: 108.9 kB / 0.5862 GB, free: 9.121 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.602e-05/0.4575, allocations: 75.33 kB / 0.5863 GB, free: 9.047 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4575, allocations: 0 / 0.5863 GB, free: 9.047 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000726/0.4582, allocations: 171.7 kB / 0.5865 GB, free: 8.879 MB / 410.7 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 (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.00111/0.4593, allocations: 469.5 kB / 0.5869 GB, free: 8.426 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.867e-05/0.4594, allocations: 0 / 0.5869 GB, free: 8.426 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.4594, allocations: 4 kB / 0.5869 GB, free: 8.422 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.943e-06/0.4594, allocations: 0 / 0.5869 GB, free: 8.422 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.4597, allocations: 0.534 MB / 0.5875 GB, free: 7.883 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001461/0.4599, allocations: 164.9 kB / 0.5876 GB, free: 7.688 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.4601, allocations: 0.6702 MB / 0.5883 GB, free: 6.992 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.347e-05/0.4601, allocations: 11.44 kB / 0.5883 GB, free: 6.98 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4601, allocations: 0 / 0.5883 GB, free: 6.98 MB / 410.7 MB Notification: Performance of Templates: time 0.005189/0.4653, allocations: 2.629 MB / 0.5908 GB, free: 4.355 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear --alarm=480 > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.pipe 2>&1)