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.002214/0.002214, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.214/2.214, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001072/0.001072, allocations: 94.98 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2992/0.2992, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.136e-05/2.147e-05, allocations: 4 kB / 418.3 MB, free: 40.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.416/0.416, allocations: 58.85 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2034/0.6195, allocations: 87.57 MB / 0.5515 GB, free: 11.62 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003442/0.6199, allocations: 63.48 kB / 0.5516 GB, free: 11.56 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.07918/0.6991, allocations: 12.9 MB / 0.5642 GB, free: 14.64 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6991, allocations: 0 / 0.5642 GB, free: 14.64 MB / 411.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.6992, allocations: 4 kB / 0.5642 GB, free: 14.64 MB / 411.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.000733/0.6999, allocations: 451.9 kB / 0.5646 GB, free: 14.15 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.7, allocations: 8.031 kB / 0.5646 GB, free: 14.14 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.38e-05/0.7, allocations: 79.28 kB / 0.5647 GB, free: 14.06 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.7002, allocations: 242.3 kB / 0.5649 GB, free: 13.79 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.961e-05/0.7003, allocations: 150.6 kB / 0.5651 GB, free: 13.64 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.609e-05/0.7003, allocations: 150.6 kB / 0.5652 GB, free: 13.49 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.408e-05/0.7004, allocations: 154.5 kB / 0.5654 GB, free: 13.34 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.58e-05/0.7005, allocations: 105 kB / 0.5655 GB, free: 13.23 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.528e-05/0.7005, allocations: 75.28 kB / 0.5655 GB, free: 13.15 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.171e-05/0.7006, allocations: 158.6 kB / 0.5657 GB, free: 13 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-05/0.7007, allocations: 154.6 kB / 0.5658 GB, free: 12.84 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002903/0.701, allocations: 422.5 kB / 0.5662 GB, free: 12.39 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.38e-05/0.7011, allocations: 173 kB / 0.5664 GB, free: 12.21 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.488e-05/0.7011, allocations: 84.14 kB / 0.5665 GB, free: 12.13 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.7012, allocations: 75.28 kB / 0.5665 GB, free: 12.05 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.793e-05/0.7013, allocations: 139.5 kB / 0.5667 GB, free: 11.9 MB / 411.1 MB Notification: Performance of pre-optimization done (n=0): time 2.935e-06/0.7013, allocations: 0 / 0.5667 GB, free: 11.9 MB / 411.1 MB Notification: Performance of matching and sorting (n=0): time 9.812e-05/0.7014, allocations: 29.69 kB / 0.5667 GB, free: 11.87 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.7015, allocations: 77.11 kB / 0.5668 GB, free: 11.77 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.185e-05/0.7015, allocations: 89 kB / 0.5669 GB, free: 11.68 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.7015, allocations: 29.7 kB / 0.5669 GB, free: 11.64 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.806e-05/0.7016, allocations: 150.6 kB / 0.567 GB, free: 11.5 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.844e-06/0.7016, allocations: 0 / 0.567 GB, free: 11.5 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.31e-07/0.7016, allocations: 0 / 0.567 GB, free: 11.5 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.7018, allocations: 310.8 kB / 0.5673 GB, free: 11.18 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.238e-06/0.7018, allocations: 0 / 0.5673 GB, free: 11.18 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.761e-05/0.7018, allocations: 7.938 kB / 0.5673 GB, free: 11.18 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.903e-05/0.7019, allocations: 75.28 kB / 0.5674 GB, free: 11.1 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.872e-05/0.7019, allocations: 79.31 kB / 0.5675 GB, free: 11.02 MB / 411.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.926e-05/0.702, allocations: 33.59 kB / 0.5675 GB, free: 10.98 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.785e-05/0.7021, allocations: 83.28 kB / 0.5676 GB, free: 10.9 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.47e-05/0.7021, allocations: 79.33 kB / 0.5677 GB, free: 10.82 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.856e-05/0.7022, allocations: 165.2 kB / 0.5678 GB, free: 10.66 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.809e-05/0.7022, allocations: 75.28 kB / 0.5679 GB, free: 10.59 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-05/0.7023, allocations: 158.5 kB / 0.5681 GB, free: 10.43 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.235e-05/0.7024, allocations: 83.22 kB / 0.5681 GB, free: 10.35 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/0.7025, allocations: 75.28 kB / 0.5682 GB, free: 10.28 MB / 411.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 () * 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.0001384/0.7026, allocations: 255.5 kB / 0.5684 GB, free: 10.02 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.988e-05/0.7027, allocations: 142.6 kB / 0.5686 GB, free: 9.867 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.825e-05/0.7028, allocations: 101 kB / 0.5687 GB, free: 9.762 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.952e-05/0.7029, allocations: 112.7 kB / 0.5688 GB, free: 9.648 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-05/0.703, allocations: 180.2 kB / 0.569 GB, free: 9.465 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.191e-05/0.703, allocations: 184.3 kB / 0.5691 GB, free: 9.277 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.248e-05/0.7031, allocations: 180.2 kB / 0.5693 GB, free: 9.094 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.7034, allocations: 377.7 kB / 0.5697 GB, free: 8.68 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.613e-05/0.7034, allocations: 109 kB / 0.5698 GB, free: 8.566 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.47e-05/0.7035, allocations: 108.9 kB / 0.5699 GB, free: 8.453 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.597e-05/0.7036, allocations: 184.2 kB / 0.5701 GB, free: 8.266 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.198e-05/0.7037, allocations: 184.2 kB / 0.5702 GB, free: 8.078 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-05/0.7037, allocations: 176.3 kB / 0.5704 GB, free: 7.898 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.521e-05/0.7038, allocations: 188.2 kB / 0.5706 GB, free: 7.707 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.704, allocations: 303.8 kB / 0.5709 GB, free: 7.387 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.113e-05/0.7041, allocations: 182.4 kB / 0.571 GB, free: 7.184 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.68e-05/0.7042, allocations: 180.2 kB / 0.5712 GB, free: 7 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.774e-05/0.7043, allocations: 105 kB / 0.5713 GB, free: 6.891 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.887e-05/0.7044, allocations: 188.2 kB / 0.5715 GB, free: 6.699 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.872e-05/0.7045, allocations: 109 kB / 0.5716 GB, free: 6.586 MB / 411.1 MB Notification: Performance of sorting global known variables: time 3.518e-05/0.7045, allocations: 75.28 kB / 0.5717 GB, free: 6.512 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7045, allocations: 0 / 0.5717 GB, free: 6.512 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.000967/0.7055, allocations: 159.7 kB / 0.5718 GB, free: 6.355 MB / 411.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 () * 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.001806/0.7073, allocations: 1.083 MB / 0.5729 GB, free: 5.246 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 5.979e-05/0.7074, allocations: 0 / 0.5729 GB, free: 5.246 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.7074, allocations: 0 / 0.5729 GB, free: 5.246 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 2.284e-06/0.7074, allocations: 0 / 0.5729 GB, free: 5.246 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.7078, allocations: 0.5362 MB / 0.5734 GB, free: 4.707 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007253/0.7085, allocations: 262.4 kB / 0.5736 GB, free: 4.406 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.7088, allocations: 0.6729 MB / 0.5743 GB, free: 3.707 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.2e-05/0.7089, allocations: 11.44 kB / 0.5743 GB, free: 3.695 MB / 411.1 MB Notification: Performance of SimCode: time 1.142e-06/0.7089, allocations: 0 / 0.5743 GB, free: 3.695 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.701/3.41, allocations: 3.091 MB / 0.5773 GB, free: 0.6016 MB / 411.1 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)