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.002241/0.002242, allocations: 183.4 kB / 15.76 MB, free: 6.367 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.782/1.782, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009122/0.0009123, allocations: 82.86 kB / 270.2 MB, free: 13.37 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.2364/0.2364, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000348/0.0003483, allocations: 8 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1376, allocations: 58.86 MB / 490.3 MB, free: 8.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.424/0.5616, allocations: 88.33 MB / 0.5651 GB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.5619, allocations: 59.36 kB / 0.5652 GB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06321/0.6252, allocations: 12.98 MB / 0.5778 GB, free: 15.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.158e-06/0.6252, allocations: 0 / 0.5778 GB, free: 15.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.6253, allocations: 0 / 0.5778 GB, free: 15.93 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.001056/0.6263, allocations: 460.6 kB / 0.5783 GB, free: 15.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.836e-05/0.6264, allocations: 12.03 kB / 0.5783 GB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.049e-05/0.6265, allocations: 105.8 kB / 0.5784 GB, free: 15.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.6266, allocations: 79.28 kB / 0.5785 GB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.6268, allocations: 250.2 kB / 0.5787 GB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.775e-05/0.6269, allocations: 154.4 kB / 0.5788 GB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.688e-05/0.627, allocations: 150.6 kB / 0.579 GB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.6272, allocations: 105 kB / 0.5791 GB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.277e-05/0.6272, allocations: 75.28 kB / 0.5792 GB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.479e-05/0.6273, allocations: 158.5 kB / 0.5793 GB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.462e-05/0.6274, allocations: 150.6 kB / 0.5795 GB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.472e-05/0.6275, allocations: 150.6 kB / 0.5796 GB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004427/0.628, allocations: 453.5 kB / 0.58 GB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.6281, allocations: 169.1 kB / 0.5802 GB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.409e-05/0.6282, allocations: 75.28 kB / 0.5803 GB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001117/0.6283, allocations: 131.5 kB / 0.5804 GB, free: 13.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 2.465e-06/0.6283, allocations: 0 / 0.5804 GB, free: 13.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001249/0.6285, allocations: 33.64 kB / 0.5804 GB, free: 13.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.6286, allocations: 160.2 kB / 0.5806 GB, free: 12.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.06e-05/0.6287, allocations: 89 kB / 0.5807 GB, free: 12.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.6287, allocations: 25.7 kB / 0.5807 GB, free: 12.79 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.798e-05/0.6288, allocations: 80.14 kB / 0.5808 GB, free: 12.71 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.396e-06/0.6288, allocations: 0 / 0.5808 GB, free: 12.71 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-07/0.6288, allocations: 4 kB / 0.5808 GB, free: 12.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.629, allocations: 310.8 kB / 0.5811 GB, free: 12.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.397e-06/0.629, allocations: 0 / 0.5811 GB, free: 12.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.22e-05/0.6291, allocations: 7.984 kB / 0.5811 GB, free: 12.38 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.882e-05/0.6291, allocations: 79.31 kB / 0.5811 GB, free: 12.3 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.99e-05/0.6292, allocations: 83.23 kB / 0.5812 GB, free: 12.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 9.259e-05/0.6293, allocations: 29.64 kB / 0.5813 GB, free: 12.19 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.873e-05/0.6294, allocations: 82.72 kB / 0.5813 GB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.551e-05/0.6295, allocations: 82.08 kB / 0.5814 GB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001126/0.6296, allocations: 158.5 kB / 0.5816 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.228e-05/0.6296, allocations: 79.22 kB / 0.5816 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.448e-05/0.6297, allocations: 154.6 kB / 0.5818 GB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.6299, allocations: 83.22 kB / 0.5819 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-05/0.6299, allocations: 79.22 kB / 0.5819 GB, free: 11.49 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 () * 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.000189/0.6302, allocations: 264.4 kB / 0.5822 GB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.592e-05/0.6303, allocations: 108.9 kB / 0.5823 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.468e-05/0.6303, allocations: 116 kB / 0.5824 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.58e-05/0.6305, allocations: 184.3 kB / 0.5826 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001004/0.6306, allocations: 180.2 kB / 0.5828 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-05/0.6307, allocations: 176.3 kB / 0.5829 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000352/0.6311, allocations: 405.2 kB / 0.5833 GB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.457e-05/0.6311, allocations: 104.9 kB / 0.5834 GB, free: 9.879 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.839e-05/0.6312, allocations: 108.9 kB / 0.5835 GB, free: 9.766 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.452e-05/0.6313, allocations: 180.2 kB / 0.5837 GB, free: 9.582 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/0.6314, allocations: 180.3 kB / 0.5839 GB, free: 9.398 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.041e-05/0.6315, allocations: 184.2 kB / 0.584 GB, free: 9.211 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.877e-05/0.6316, allocations: 180.2 kB / 0.5842 GB, free: 9.027 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.6318, allocations: 307.6 kB / 0.5845 GB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.654e-05/0.6319, allocations: 182.1 kB / 0.5847 GB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.632, allocations: 191.9 kB / 0.5849 GB, free: 8.312 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.6322, allocations: 101.4 kB / 0.585 GB, free: 8.207 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.466e-05/0.6323, allocations: 176.3 kB / 0.5851 GB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.168e-05/0.6323, allocations: 116.9 kB / 0.5852 GB, free: 7.906 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.469e-05/0.6324, allocations: 79.33 kB / 0.5853 GB, free: 7.828 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6324, allocations: 0 / 0.5853 GB, free: 7.828 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001098/0.6335, allocations: 171.3 kB / 0.5855 GB, free: 7.668 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 () * 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.002091/0.6356, allocations: 1.075 MB / 0.5865 GB, free: 6.578 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.231e-05/0.6357, allocations: 3.938 kB / 0.5865 GB, free: 6.574 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.6357, allocations: 0 / 0.5865 GB, free: 6.574 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.218e-06/0.6357, allocations: 4 kB / 0.5865 GB, free: 6.57 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.6361, allocations: 0.5262 MB / 0.587 GB, free: 6.039 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008519/0.637, allocations: 271 kB / 0.5873 GB, free: 5.734 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.6374, allocations: 0.6731 MB / 0.588 GB, free: 5.035 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.709e-06/0.6374, allocations: 0 / 0.588 GB, free: 5.035 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.763e-05/0.6374, allocations: 11.44 kB / 0.588 GB, free: 5.023 MB / 394.7 MB Notification: Performance of SimCode: time 4.71e-07/0.6374, allocations: 0 / 0.588 GB, free: 5.023 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/0.6576, allocations: 3.563 MB / 0.5914 GB, free: 1.5 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/0.6578, allocations: 196.9 kB / 0.5916 GB, free: 1.262 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/2.252, allocations: 0 / 0.5916 GB, free: 1.262 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)