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.001625/0.001625, allocations: 182.1 kB / 13.66 MB, free: 1.664 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.132/2.132, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001107/0.001106, allocations: 78.72 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2907/0.2907, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.73e-05/3.741e-05, allocations: 7.984 kB / 425.4 MB, free: 23.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1292, allocations: 58.85 MB / 484.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5025/0.6318, allocations: 88.23 MB / 0.559 GB, free: 15.33 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.6321, allocations: 66 kB / 0.5591 GB, free: 15.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0669/0.699, allocations: 12.95 MB / 0.5717 GB, free: 4.258 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6991, allocations: 4 kB / 0.5718 GB, free: 4.254 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.6991, allocations: 0 / 0.5718 GB, free: 4.254 MB / 378.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.0007961/0.6999, allocations: 451.3 kB / 0.5722 GB, free: 3.766 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/0.7, allocations: 12.03 kB / 0.5722 GB, free: 3.754 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.906e-05/0.7, allocations: 109.8 kB / 0.5723 GB, free: 3.637 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.263e-05/0.7001, allocations: 75.28 kB / 0.5724 GB, free: 3.562 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.7003, allocations: 240.8 kB / 0.5726 GB, free: 3.289 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.355e-05/0.7004, allocations: 154.6 kB / 0.5727 GB, free: 3.137 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.37e-05/0.7005, allocations: 150.6 kB / 0.5729 GB, free: 2.988 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.376e-05/0.7005, allocations: 105 kB / 0.573 GB, free: 2.879 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.033e-05/0.7006, allocations: 75.28 kB / 0.5731 GB, free: 2.805 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-05/0.7007, allocations: 150.6 kB / 0.5732 GB, free: 2.656 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.948e-05/0.7008, allocations: 154.5 kB / 0.5734 GB, free: 2.504 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.911e-05/0.7008, allocations: 161.5 kB / 0.5735 GB, free: 2.348 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.7012, allocations: 441.9 kB / 0.5739 GB, free: 1.867 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.949e-05/0.7013, allocations: 176 kB / 0.5741 GB, free: 1.688 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.663e-05/0.7014, allocations: 80.14 kB / 0.5742 GB, free: 1.605 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.866e-05/0.7014, allocations: 79.28 kB / 0.5743 GB, free: 1.527 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.414e-05/0.7015, allocations: 131.5 kB / 0.5744 GB, free: 1.383 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 4.679e-06/0.7015, allocations: 0 / 0.5744 GB, free: 1.383 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 9.231e-05/0.7016, allocations: 36.84 kB / 0.5744 GB, free: 1.344 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.81e-05/0.7017, allocations: 163.1 kB / 0.5746 GB, free: 1.168 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.584e-05/0.7018, allocations: 85 kB / 0.5746 GB, free: 1.078 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.7018, allocations: 25.7 kB / 0.5747 GB, free: 1.047 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.215e-05/0.7019, allocations: 154.6 kB / 0.5748 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.54e-06/0.7019, allocations: 4 kB / 0.5748 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-07/0.702, allocations: 0 / 0.5748 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.7021, allocations: 310.8 kB / 0.5751 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.479e-06/0.7021, allocations: 0 / 0.5751 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.626e-05/0.7022, allocations: 0 / 0.5751 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.552e-05/0.7022, allocations: 79.23 kB / 0.5752 GB, free: 0.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-05/0.7023, allocations: 83.22 kB / 0.5753 GB, free: 428 kB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.727e-05/0.7024, allocations: 33.67 kB / 0.5753 GB, free: 388 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.446e-05/0.7024, allocations: 83.28 kB / 0.5754 GB, free: 304 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.112e-05/0.7025, allocations: 77.91 kB / 0.5755 GB, free: 228 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.643e-05/0.7026, allocations: 158.5 kB / 0.5756 GB, free: 68 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.609e-05/0.7027, allocations: 75.28 kB / 0.5757 GB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.95e-05/0.7027, allocations: 150.6 kB / 0.5758 GB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.7029, allocations: 90.59 kB / 0.5759 GB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.423e-05/0.7029, allocations: 75.28 kB / 0.576 GB, free: 15.68 MB / 394.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 () * 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.0001712/0.7031, allocations: 262.1 kB / 0.5762 GB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.657e-05/0.7032, allocations: 104.9 kB / 0.5763 GB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.739e-05/0.7033, allocations: 108.1 kB / 0.5764 GB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.059e-05/0.7034, allocations: 180.3 kB / 0.5766 GB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.941e-05/0.7035, allocations: 187.7 kB / 0.5768 GB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.913e-05/0.7036, allocations: 176.3 kB / 0.577 GB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003445/0.704, allocations: 405.2 kB / 0.5773 GB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.728e-05/0.704, allocations: 104.9 kB / 0.5774 GB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.601e-05/0.7041, allocations: 104.5 kB / 0.5775 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.536e-05/0.7042, allocations: 192.2 kB / 0.5777 GB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.054e-05/0.7043, allocations: 180.3 kB / 0.5779 GB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.284e-05/0.7044, allocations: 188.1 kB / 0.5781 GB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.502e-05/0.7045, allocations: 180.3 kB / 0.5782 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.7047, allocations: 307.3 kB / 0.5785 GB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.7048, allocations: 182 kB / 0.5787 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.705, allocations: 188.6 kB / 0.5789 GB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.7051, allocations: 104.5 kB / 0.579 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.7052, allocations: 180.2 kB / 0.5792 GB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-05/0.7053, allocations: 105 kB / 0.5793 GB, free: 12.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.871e-05/0.7053, allocations: 83.3 kB / 0.5793 GB, free: 12.03 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7053, allocations: 0 / 0.5793 GB, free: 12.03 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001053/0.7064, allocations: 171 kB / 0.5795 GB, free: 11.87 MB / 394.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 () * 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.002024/0.7084, allocations: 1.082 MB / 0.5806 GB, free: 10.78 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.396e-05/0.7086, allocations: 0 / 0.5806 GB, free: 10.78 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.7086, allocations: 0 / 0.5806 GB, free: 10.78 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.477e-06/0.7086, allocations: 4 kB / 0.5806 GB, free: 10.78 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.709, allocations: 0.5224 MB / 0.5811 GB, free: 10.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000861/0.7099, allocations: 267.1 kB / 0.5813 GB, free: 9.949 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.7103, allocations: 0.6692 MB / 0.582 GB, free: 9.254 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.7103, allocations: 7.438 kB / 0.582 GB, free: 9.246 MB / 394.7 MB Notification: Performance of SimCode: time 4.208e-06/0.7103, allocations: 0 / 0.582 GB, free: 9.246 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.828/3.539, allocations: 3.013 MB / 0.5849 GB, free: 6.234 MB / 394.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)