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.001397/0.001397, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.612/1.612, allocations: 227.2 MB / 245 MB, free: 7.648 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001034/0.001034, allocations: 103.6 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4806/0.4806, allocations: 45.23 MB / 394.6 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002903/0.0002904, allocations: 8 kB / 468.5 MB, free: 7.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4657/0.466, allocations: 63.25 MB / 0.5193 GB, free: 43.88 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1344/0.6005, allocations: 88.73 MB / 0.6059 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.6008, allocations: 67.94 kB / 0.606 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01499/0.6158, allocations: 4.437 MB / 0.6103 GB, free: 12.39 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.6158, allocations: 0 / 0.6103 GB, free: 12.39 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.86e-06/0.6158, allocations: 0.6562 kB / 0.6103 GB, free: 12.39 MB / 426.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.0005614/0.6164, allocations: 409.9 kB / 0.6107 GB, free: 11.94 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.6164, allocations: 8.031 kB / 0.6107 GB, free: 11.93 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.36e-05/0.6165, allocations: 31.16 kB / 0.6107 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.679e-05/0.6165, allocations: 3.953 kB / 0.6107 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.6167, allocations: 171.5 kB / 0.6109 GB, free: 11.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.6167, allocations: 0.8438 kB / 0.6109 GB, free: 11.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.6167, allocations: 4 kB / 0.6109 GB, free: 11.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.312e-05/0.6168, allocations: 26.42 kB / 0.6109 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.6168, allocations: 0.75 kB / 0.6109 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.6168, allocations: 0 / 0.6109 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.6168, allocations: 4.562 kB / 0.6109 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.873e-05/0.6169, allocations: 4 kB / 0.6109 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001541/0.617, allocations: 154.4 kB / 0.6111 GB, free: 11.44 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.353e-05/0.6171, allocations: 27.08 kB / 0.6111 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.6171, allocations: 0 / 0.6111 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.546e-05/0.6172, allocations: 60.2 kB / 0.6112 GB, free: 11.33 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.293e-06/0.6172, allocations: 0 / 0.6112 GB, free: 11.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001686/0.6173, allocations: 67.45 kB / 0.6112 GB, free: 11.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.6174, allocations: 81.05 kB / 0.6113 GB, free: 11.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.718e-05/0.6175, allocations: 85.62 kB / 0.6114 GB, free: 11.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.6175, allocations: 25.7 kB / 0.6114 GB, free: 11.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.175e-05/0.6175, allocations: 85.58 kB / 0.6115 GB, free: 10.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.6176, allocations: 0 / 0.6115 GB, free: 10.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-06/0.6176, allocations: 3.938 kB / 0.6115 GB, free: 10.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.6177, allocations: 318.9 kB / 0.6118 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.396e-06/0.6177, allocations: 0 / 0.6118 GB, free: 10.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.67e-06/0.6177, allocations: 0 / 0.6118 GB, free: 10.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.347e-05/0.6178, allocations: 33.7 kB / 0.6118 GB, free: 10.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6178, allocations: 0 / 0.6118 GB, free: 10.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.037e-05/0.6179, allocations: 63.39 kB / 0.6119 GB, free: 10.51 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.987e-05/0.6179, allocations: 29.7 kB / 0.6119 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.6179, allocations: 0 / 0.6119 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.6179, allocations: 0 / 0.6119 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.618, allocations: 4.094 kB / 0.6119 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.618, allocations: 0 / 0.6119 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.453e-05/0.618, allocations: 4 kB / 0.6119 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.618, allocations: 0 / 0.6119 GB, free: 10.47 MB / 426.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 () * Number of clocked 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 0.0001068/0.6181, allocations: 139.5 kB / 0.6121 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/0.6181, allocations: 4 kB / 0.6121 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.614e-05/0.6182, allocations: 6.719 kB / 0.6121 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.6182, allocations: 3.938 kB / 0.6121 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.6182, allocations: 0 / 0.6121 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.6182, allocations: 4 kB / 0.6121 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.6183, allocations: 149.6 kB / 0.6122 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.6183, allocations: 4 kB / 0.6122 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.755e-06/0.6183, allocations: 3.984 kB / 0.6122 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.6183, allocations: 3.984 kB / 0.6122 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.6183, allocations: 0 / 0.6122 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.6183, allocations: 0 / 0.6122 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.6184, allocations: 0 / 0.6122 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.6185, allocations: 90.84 kB / 0.6123 GB, free: 9.984 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.078e-05/0.6185, allocations: 88.98 kB / 0.6124 GB, free: 9.879 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.6185, allocations: 0 / 0.6124 GB, free: 9.879 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.378e-06/0.6186, allocations: 0 / 0.6124 GB, free: 9.879 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.579e-05/0.6186, allocations: 4 kB / 0.6124 GB, free: 9.875 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.6186, allocations: 0 / 0.6124 GB, free: 9.875 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.175e-05/0.6186, allocations: 79.28 kB / 0.6125 GB, free: 9.797 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6186, allocations: 0 / 0.6125 GB, free: 9.797 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004254/0.6191, allocations: 87.86 kB / 0.6126 GB, free: 9.711 MB / 426.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) * Number of clocked states: 0 () * 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.0009089/0.62, allocations: 0.7368 MB / 0.6133 GB, free: 8.949 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.503e-05/0.6201, allocations: 63.44 kB / 0.6134 GB, free: 8.875 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.6201, allocations: 0 / 0.6134 GB, free: 8.875 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.221e-05/0.6202, allocations: 55.41 kB / 0.6134 GB, free: 8.809 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.317e-05/0.6202, allocations: 3.938 kB / 0.6134 GB, free: 8.805 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003975/0.6206, allocations: 146.7 kB / 0.6136 GB, free: 8.621 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.6209, allocations: 0.6731 MB / 0.6142 GB, free: 7.922 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.723e-06/0.621, allocations: 0 / 0.6142 GB, free: 7.922 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.418e-05/0.621, allocations: 7.562 kB / 0.6142 GB, free: 7.918 MB / 426.7 MB Notification: Performance of SimCode: time 3.21e-07/0.621, allocations: 4 kB / 0.6142 GB, free: 7.914 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01652/0.6375, allocations: 2.364 MB / 0.6165 GB, free: 5.68 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002864/0.6379, allocations: 204.6 kB / 0.6167 GB, free: 5.438 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.561/2.199, allocations: 0 / 0.6167 GB, free: 5.438 MB / 426.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