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/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_ModelicaTest_Math_TestNonlinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_3_2_3_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.002669/0.002669, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.998/1.998, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008775/0.0008777, allocations: 90.2 kB / 261.8 MB, free: 1.672 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.2399/0.2399, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.986e-05/3.009e-05, allocations: 4 kB / 418.3 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2005, allocations: 58.87 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5105/0.711, allocations: 87.56 MB / 0.5515 GB, free: 7.062 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.7113, allocations: 66.81 kB / 0.5516 GB, free: 7.031 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03486/0.7462, allocations: 12.9 MB / 0.5642 GB, free: 12.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.7463, allocations: 0 / 0.5642 GB, free: 12.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.7463, allocations: 4 kB / 0.5642 GB, free: 12.68 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.0007082/0.747, allocations: 451.6 kB / 0.5646 GB, free: 12.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/0.7471, allocations: 12.03 kB / 0.5646 GB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.626e-05/0.7471, allocations: 75.28 kB / 0.5647 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.7473, allocations: 242.3 kB / 0.5649 GB, free: 11.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.054e-05/0.7474, allocations: 154.6 kB / 0.5651 GB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-05/0.7474, allocations: 150.6 kB / 0.5652 GB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.147e-05/0.7475, allocations: 154.6 kB / 0.5654 GB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.382e-05/0.7476, allocations: 104.9 kB / 0.5655 GB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/0.7476, allocations: 79.28 kB / 0.5656 GB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.932e-05/0.7477, allocations: 150.6 kB / 0.5657 GB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.146e-05/0.7478, allocations: 150.6 kB / 0.5658 GB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002837/0.7481, allocations: 429.7 kB / 0.5663 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.317e-05/0.7481, allocations: 169.1 kB / 0.5664 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.209e-05/0.7482, allocations: 88.08 kB / 0.5665 GB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.7482, allocations: 83.2 kB / 0.5666 GB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.368e-05/0.7483, allocations: 135.5 kB / 0.5667 GB, free: 9.949 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.7483, allocations: 0 / 0.5667 GB, free: 9.949 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 7.501e-05/0.7484, allocations: 29.64 kB / 0.5667 GB, free: 9.918 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.7484, allocations: 81.11 kB / 0.5668 GB, free: 9.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.311e-05/0.7485, allocations: 85 kB / 0.5669 GB, free: 9.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.7485, allocations: 25.7 kB / 0.5669 GB, free: 9.699 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.391e-05/0.7485, allocations: 80.14 kB / 0.567 GB, free: 9.617 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.162e-06/0.7486, allocations: 0 / 0.567 GB, free: 9.617 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-07/0.7486, allocations: 0 / 0.567 GB, free: 9.617 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.7487, allocations: 314.8 kB / 0.5673 GB, free: 9.301 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.386e-06/0.7487, allocations: 0 / 0.5673 GB, free: 9.301 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.75e-05/0.7487, allocations: 4 kB / 0.5673 GB, free: 9.297 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.401e-05/0.7488, allocations: 75.28 kB / 0.5674 GB, free: 9.223 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.246e-05/0.7488, allocations: 79.22 kB / 0.5674 GB, free: 9.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.777e-05/0.7488, allocations: 37.64 kB / 0.5675 GB, free: 9.102 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.56e-05/0.7489, allocations: 79.28 kB / 0.5676 GB, free: 9.023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.904e-05/0.7489, allocations: 79.36 kB / 0.5676 GB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.358e-05/0.749, allocations: 158.6 kB / 0.5678 GB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.584e-05/0.749, allocations: 83.22 kB / 0.5679 GB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.231e-05/0.7491, allocations: 154.3 kB / 0.568 GB, free: 8.559 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.888e-05/0.7492, allocations: 75.28 kB / 0.5681 GB, free: 8.484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.7492, allocations: 79.22 kB / 0.5682 GB, free: 8.406 MB / 378.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.0001197/0.7493, allocations: 263.5 kB / 0.5684 GB, free: 8.141 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.072e-05/0.7494, allocations: 138.6 kB / 0.5685 GB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.708e-05/0.7495, allocations: 101 kB / 0.5686 GB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.488e-05/0.7495, allocations: 104.7 kB / 0.5687 GB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-05/0.7496, allocations: 184.2 kB / 0.5689 GB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.902e-05/0.7497, allocations: 184.1 kB / 0.5691 GB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.359e-05/0.7497, allocations: 180.3 kB / 0.5693 GB, free: 7.227 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.7499, allocations: 379 kB / 0.5696 GB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.866e-05/0.75, allocations: 109 kB / 0.5697 GB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.328e-05/0.75, allocations: 104.9 kB / 0.5698 GB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.445e-05/0.7501, allocations: 176.3 kB / 0.57 GB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.687e-05/0.7502, allocations: 192.1 kB / 0.5702 GB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-05/0.7502, allocations: 180.3 kB / 0.5704 GB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-05/0.7503, allocations: 187.2 kB / 0.5705 GB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.7505, allocations: 299.8 kB / 0.5708 GB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.7506, allocations: 182.4 kB / 0.571 GB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.114e-05/0.7507, allocations: 187.4 kB / 0.5712 GB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-05/0.7508, allocations: 109 kB / 0.5713 GB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.885e-05/0.7508, allocations: 184.1 kB / 0.5714 GB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.497e-05/0.7509, allocations: 109 kB / 0.5716 GB, free: 4.723 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.635e-05/0.7509, allocations: 75.28 kB / 0.5716 GB, free: 4.648 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.7509, allocations: 0 / 0.5716 GB, free: 4.648 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008058/0.7517, allocations: 165.9 kB / 0.5718 GB, free: 4.492 MB / 378.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.00119/0.7529, allocations: 1.085 MB / 0.5728 GB, free: 3.395 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.274e-05/0.753, allocations: 3.938 kB / 0.5728 GB, free: 3.391 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.753, allocations: 0 / 0.5728 GB, free: 3.391 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/0.753, allocations: 0 / 0.5728 GB, free: 3.391 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.7533, allocations: 0.5224 MB / 0.5734 GB, free: 2.863 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003966/0.7537, allocations: 251.9 kB / 0.5736 GB, free: 2.582 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.754, allocations: 0.6729 MB / 0.5743 GB, free: 1.883 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.653e-06/0.754, allocations: 0 / 0.5743 GB, free: 1.883 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.466e-05/0.754, allocations: 7.438 kB / 0.5743 GB, free: 1.875 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.754, allocations: 3.938 kB / 0.5743 GB, free: 1.871 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02821/0.7823, allocations: 3.308 MB / 0.5775 GB, free: 14.58 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/0.7825, allocations: 153.3 kB / 0.5776 GB, free: 14.38 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.578/2.361, allocations: 0 / 0.5776 GB, free: 14.38 MB / 394.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestNonlinear_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestNonlinear.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe 2>&1)