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: "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestNonlinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestNonlinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002155/0.002161, allocations: 184 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.351/2.351, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001198/0.001198, allocations: 93.48 kB / 270.9 MB, free: 8.391 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.539/0.539, allocations: 43.56 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006379/0.0006379, allocations: 12 kB / 431.5 MB, free: 5.867 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1351, allocations: 58.84 MB / 490.3 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4787/0.6138, allocations: 88.33 MB / 0.5651 GB, free: 14.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.6141, allocations: 59.97 kB / 0.5651 GB, free: 14.03 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0687/0.6828, allocations: 12.98 MB / 0.5778 GB, free: 1.082 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.6829, allocations: 0 / 0.5778 GB, free: 1.082 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.6829, allocations: 0 / 0.5778 GB, free: 1.082 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.000793/0.6837, allocations: 460.7 kB / 0.5782 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.6838, allocations: 8.031 kB / 0.5783 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.731e-05/0.6839, allocations: 109.8 kB / 0.5784 GB, free: 464 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.98e-05/0.684, allocations: 90.72 kB / 0.5784 GB, free: 376 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.6841, allocations: 238.3 kB / 0.5787 GB, free: 96 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.537e-05/0.6842, allocations: 150.6 kB / 0.5788 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.301e-05/0.6843, allocations: 150.6 kB / 0.579 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.543e-05/0.6844, allocations: 105 kB / 0.5791 GB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.912e-05/0.6844, allocations: 75.28 kB / 0.5791 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.402e-05/0.6845, allocations: 158.6 kB / 0.5793 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.07e-05/0.6846, allocations: 151.6 kB / 0.5794 GB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.484e-05/0.6847, allocations: 154.5 kB / 0.5796 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.685, allocations: 445.9 kB / 0.58 GB, free: 14.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.6852, allocations: 169.1 kB / 0.5802 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.6852, allocations: 83.27 kB / 0.5802 GB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.639e-05/0.6853, allocations: 131.5 kB / 0.5804 GB, free: 14.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 3.096e-06/0.6853, allocations: 0 / 0.5804 GB, free: 14.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001055/0.6854, allocations: 33.64 kB / 0.5804 GB, free: 14.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.761e-05/0.6855, allocations: 156.4 kB / 0.5805 GB, free: 14.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.146e-05/0.6856, allocations: 89 kB / 0.5806 GB, free: 13.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.6856, allocations: 25.7 kB / 0.5807 GB, free: 13.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.447e-05/0.6857, allocations: 151.3 kB / 0.5808 GB, free: 13.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.6857, allocations: 0 / 0.5808 GB, free: 13.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-07/0.6858, allocations: 0 / 0.5808 GB, free: 13.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.6859, allocations: 310.8 kB / 0.5811 GB, free: 13.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.879e-06/0.6859, allocations: 3.938 kB / 0.5811 GB, free: 13.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.289e-05/0.6859, allocations: 8.047 kB / 0.5811 GB, free: 13.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.654e-05/0.686, allocations: 75.28 kB / 0.5812 GB, free: 13.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.505e-05/0.6861, allocations: 83.27 kB / 0.5813 GB, free: 13.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.59e-05/0.6861, allocations: 41.56 kB / 0.5813 GB, free: 13.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.008e-05/0.6862, allocations: 79.28 kB / 0.5814 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.324e-05/0.6862, allocations: 75.28 kB / 0.5814 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-05/0.6863, allocations: 162.5 kB / 0.5816 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.004e-05/0.6864, allocations: 75.28 kB / 0.5817 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.498e-05/0.6865, allocations: 154.6 kB / 0.5818 GB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.451e-05/0.6866, allocations: 79.22 kB / 0.5819 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.812e-05/0.6866, allocations: 81.41 kB / 0.582 GB, free: 12.56 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.0001505/0.6868, allocations: 264.4 kB / 0.5822 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.334e-05/0.6869, allocations: 116.9 kB / 0.5823 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.993e-05/0.6869, allocations: 104.1 kB / 0.5824 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001026/0.6871, allocations: 180.3 kB / 0.5826 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.442e-05/0.6872, allocations: 180.2 kB / 0.5828 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.054e-05/0.6872, allocations: 184.2 kB / 0.583 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002868/0.6875, allocations: 405.2 kB / 0.5833 GB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.921e-05/0.6876, allocations: 101 kB / 0.5834 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.317e-05/0.6877, allocations: 112.9 kB / 0.5835 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.312e-05/0.6878, allocations: 184.2 kB / 0.5837 GB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.888e-05/0.6878, allocations: 180.3 kB / 0.5839 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.948e-05/0.6879, allocations: 180.2 kB / 0.5841 GB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.181e-05/0.688, allocations: 180.3 kB / 0.5842 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.6882, allocations: 311.8 kB / 0.5845 GB, free: 9.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.921e-05/0.6883, allocations: 178.1 kB / 0.5847 GB, free: 9.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-05/0.6884, allocations: 184.2 kB / 0.5849 GB, free: 9.383 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.6886, allocations: 109.4 kB / 0.585 GB, free: 9.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.924e-05/0.6887, allocations: 180.2 kB / 0.5852 GB, free: 9.086 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.938e-05/0.6887, allocations: 108.9 kB / 0.5853 GB, free: 8.973 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.816e-05/0.6888, allocations: 75.33 kB / 0.5853 GB, free: 8.898 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6888, allocations: 0 / 0.5853 GB, free: 8.898 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001007/0.6898, allocations: 167.7 kB / 0.5855 GB, free: 8.734 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.001845/0.6917, allocations: 1.079 MB / 0.5865 GB, free: 7.641 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.164e-05/0.6918, allocations: 7.938 kB / 0.5866 GB, free: 7.633 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.6918, allocations: 0 / 0.5866 GB, free: 7.633 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.394e-06/0.6918, allocations: 0 / 0.5866 GB, free: 7.633 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.6922, allocations: 0.5302 MB / 0.5871 GB, free: 7.098 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007733/0.6929, allocations: 289.6 kB / 0.5874 GB, free: 6.766 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.6933, allocations: 0.6731 MB / 0.588 GB, free: 6.066 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.154e-05/0.6933, allocations: 7.438 kB / 0.588 GB, free: 6.062 MB / 410.7 MB Notification: Performance of SimCode: time 1.703e-06/0.6933, allocations: 0 / 0.588 GB, free: 6.062 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.715/3.408, allocations: 3.031 MB / 0.591 GB, free: 3.043 MB / 410.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestNonlinear_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestNonlinear.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.pipe 2>&1)