Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestPolynomials,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestPolynomials",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestPolynomials,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestPolynomials",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001008/0.001008, allocations: 196.4 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.256/1.256, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008816/0.0008816, allocations: 91.67 kB / 292.1 MB, free: 5.934 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.191/0.191, allocations: 45.14 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.088e-05/3.089e-05, allocations: 0 / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1149, allocations: 63.24 MB / 0.5115 GB, free: 6.707 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4017/0.5167, allocations: 88.65 MB / 0.598 GB, free: 5.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.517, allocations: 62.59 kB / 0.5981 GB, free: 5.199 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01377/0.5308, allocations: 4.427 MB / 0.6024 GB, free: 1.422 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5309, allocations: 0 / 0.6024 GB, free: 1.422 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.5309, allocations: 0 / 0.6024 GB, free: 1.422 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003765/0.5313, allocations: 399.5 kB / 0.6028 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.5313, allocations: 11.97 kB / 0.6028 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.242e-05/0.5313, allocations: 30.56 kB / 0.6028 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.26e-05/0.5314, allocations: 3.953 kB / 0.6028 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.422e-05/0.5315, allocations: 159.6 kB / 0.603 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.5315, allocations: 8 kB / 0.603 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-06/0.5315, allocations: 7.922 kB / 0.603 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.136e-05/0.5316, allocations: 28.52 kB / 0.603 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.5316, allocations: 4 kB / 0.603 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-06/0.5316, allocations: 3.938 kB / 0.603 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.5316, allocations: 3.984 kB / 0.603 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.57e-05/0.5316, allocations: 0 / 0.603 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001178/0.5318, allocations: 149.6 kB / 0.6032 GB, free: 492 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.351e-05/0.5318, allocations: 26.55 kB / 0.6032 GB, free: 460 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.451e-05/0.5318, allocations: 8.797 kB / 0.6032 GB, free: 448 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-06/0.5318, allocations: 0 / 0.6032 GB, free: 448 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.5319, allocations: 60.33 kB / 0.6033 GB, free: 372 kB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.5319, allocations: 0 / 0.6033 GB, free: 372 kB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001365/0.532, allocations: 59.39 kB / 0.6033 GB, free: 300 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.5321, allocations: 81.11 kB / 0.6034 GB, free: 200 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.101e-05/0.5321, allocations: 92.59 kB / 0.6035 GB, free: 104 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.5321, allocations: 25.7 kB / 0.6035 GB, free: 72 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.723e-05/0.5322, allocations: 80.14 kB / 0.6036 GB, free: 15.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.5322, allocations: 0 / 0.6036 GB, free: 15.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-06/0.5322, allocations: 0 / 0.6036 GB, free: 15.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.382e-05/0.5323, allocations: 318.7 kB / 0.6039 GB, free: 15.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.367e-06/0.5323, allocations: 4 kB / 0.6039 GB, free: 15.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-06/0.5323, allocations: 3.938 kB / 0.6039 GB, free: 15.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.551e-05/0.5324, allocations: 33.77 kB / 0.6039 GB, free: 15.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.5324, allocations: 0 / 0.6039 GB, free: 15.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.983e-05/0.5324, allocations: 63.39 kB / 0.604 GB, free: 15.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.5325, allocations: 32.45 kB / 0.604 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.5325, allocations: 4 kB / 0.604 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.5325, allocations: 0 / 0.604 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.5325, allocations: 0 / 0.604 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.5325, allocations: 0 / 0.604 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.026e-05/0.5325, allocations: 0 / 0.604 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.5325, allocations: 0 / 0.604 GB, free: 15.51 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: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 6.191e-05/0.5326, allocations: 142.7 kB / 0.6042 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-06/0.5326, allocations: 0 / 0.6042 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.318e-05/0.5326, allocations: 11.08 kB / 0.6042 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.5326, allocations: 0 / 0.6042 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5326, allocations: 0 / 0.6042 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.5327, allocations: 0 / 0.6042 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.329e-05/0.5327, allocations: 156.6 kB / 0.6043 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.5327, allocations: 3.938 kB / 0.6043 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.5327, allocations: 0 / 0.6043 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.5328, allocations: 0 / 0.6043 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.5328, allocations: 7.938 kB / 0.6043 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.5328, allocations: 0 / 0.6043 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.5328, allocations: 4 kB / 0.6044 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.993e-05/0.5329, allocations: 86.33 kB / 0.6044 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.963e-05/0.5329, allocations: 81.06 kB / 0.6045 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.5329, allocations: 4 kB / 0.6045 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.758e-06/0.5329, allocations: 0 / 0.6045 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.5329, allocations: 4.031 kB / 0.6045 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-06/0.533, allocations: 0 / 0.6045 GB, free: 14.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.504e-05/0.533, allocations: 75.28 kB / 0.6046 GB, free: 14.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.533, allocations: 0 / 0.6046 GB, free: 14.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003009/0.5333, allocations: 86.86 kB / 0.6047 GB, free: 14.76 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: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0006694/0.534, allocations: 0.7403 MB / 0.6054 GB, free: 14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.163e-05/0.5341, allocations: 59.41 kB / 0.6055 GB, free: 13.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5341, allocations: 0 / 0.6055 GB, free: 13.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.572e-05/0.5341, allocations: 59.34 kB / 0.6055 GB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.041e-05/0.5342, allocations: 128 / 0.6055 GB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002697/0.5345, allocations: 124.7 kB / 0.6056 GB, free: 13.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.5347, allocations: 0.6731 MB / 0.6063 GB, free: 13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.969e-06/0.5347, allocations: 0 / 0.6063 GB, free: 13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.278e-06/0.5347, allocations: 7.438 kB / 0.6063 GB, free: 13 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5347, allocations: 4 kB / 0.6063 GB, free: 12.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01228/0.547, allocations: 2.367 MB / 0.6086 GB, free: 10.72 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/0.5472, allocations: 179.7 kB / 0.6088 GB, free: 10.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.396/1.944, allocations: 0 / 0.6088 GB, free: 10.5 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestPolynomials_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestPolynomials.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials_res.mat does not exist to compare? outputFormat=mat