Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestPolynomials,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestPolynomials",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestPolynomials,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestPolynomials",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 176.6 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 223.2 MB / 241 MB, free: 11.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001024, allocations: 90.91 kB / 292.1 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4319/0.4319, allocations: 44.22 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005389/0.0005388, allocations: 8 kB / 460 MB, free: 1.457 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4422/0.4428, allocations: 61.91 MB / 0.5096 GB, free: 37.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1276/0.5704, allocations: 87.66 MB / 0.5952 GB, free: 7.477 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.5706, allocations: 71.94 kB / 0.5953 GB, free: 7.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01447/0.5851, allocations: 4.378 MB / 0.5996 GB, free: 3.023 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.316e-06/0.5852, allocations: 0 / 0.5996 GB, free: 3.023 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.291e-06/0.5852, allocations: 0 / 0.5996 GB, free: 3.023 MB / 410.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.0005793/0.5858, allocations: 412.9 kB / 0.6 GB, free: 2.566 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.5859, allocations: 8.031 kB / 0.6 GB, free: 2.559 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.783e-05/0.5859, allocations: 30.56 kB / 0.6 GB, free: 2.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.5859, allocations: 4 kB / 0.6 GB, free: 2.516 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.5861, allocations: 163.1 kB / 0.6002 GB, free: 2.316 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.5861, allocations: 3.953 kB / 0.6002 GB, free: 2.312 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.5861, allocations: 0 / 0.6002 GB, free: 2.312 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.5862, allocations: 37.62 kB / 0.6002 GB, free: 2.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.5862, allocations: 0 / 0.6002 GB, free: 2.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.5863, allocations: 0 / 0.6002 GB, free: 2.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.5863, allocations: 4 kB / 0.6002 GB, free: 2.266 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.884e-05/0.5863, allocations: 0 / 0.6002 GB, free: 2.266 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.5864, allocations: 145.7 kB / 0.6004 GB, free: 2.074 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.169e-05/0.5865, allocations: 27.08 kB / 0.6004 GB, free: 2.039 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.198e-06/0.5865, allocations: 0 / 0.6004 GB, free: 2.039 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.222e-05/0.5866, allocations: 60.25 kB / 0.6004 GB, free: 1.965 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 3.467e-06/0.5866, allocations: 0 / 0.6004 GB, free: 1.965 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002022/0.5868, allocations: 71.41 kB / 0.6005 GB, free: 1.883 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/0.5869, allocations: 81.11 kB / 0.6006 GB, free: 1.785 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.416e-05/0.5869, allocations: 85 kB / 0.6007 GB, free: 1.695 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.5869, allocations: 29.69 kB / 0.6007 GB, free: 1.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.987e-05/0.587, allocations: 80.14 kB / 0.6008 GB, free: 1.578 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.587, allocations: 7.922 kB / 0.6008 GB, free: 1.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-06/0.587, allocations: 0 / 0.6008 GB, free: 1.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.5871, allocations: 310.8 kB / 0.6011 GB, free: 1.258 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.444e-06/0.5871, allocations: 4.125 kB / 0.6011 GB, free: 1.254 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.449e-06/0.5872, allocations: 4 kB / 0.6011 GB, free: 1.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.553e-05/0.5872, allocations: 25.7 kB / 0.6011 GB, free: 1.219 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5872, allocations: 0 / 0.6011 GB, free: 1.219 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.006e-05/0.5873, allocations: 67.34 kB / 0.6012 GB, free: 1.141 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/0.5873, allocations: 37.64 kB / 0.6012 GB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.5873, allocations: 0 / 0.6012 GB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.5873, allocations: 4 kB / 0.6012 GB, free: 1.094 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-07/0.5873, allocations: 0 / 0.6012 GB, free: 1.094 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.5874, allocations: 4.094 kB / 0.6012 GB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.227e-05/0.5874, allocations: 0 / 0.6012 GB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.5874, allocations: 0 / 0.6012 GB, free: 1.09 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 () * 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 9.14e-05/0.5875, allocations: 140 kB / 0.6013 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-06/0.5875, allocations: 0 / 0.6013 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.91e-05/0.5875, allocations: 10.67 kB / 0.6014 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.5875, allocations: 3.984 kB / 0.6014 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5875, allocations: 0 / 0.6014 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.5876, allocations: 0 / 0.6014 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.5877, allocations: 153.7 kB / 0.6015 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.5877, allocations: 0 / 0.6015 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.5877, allocations: 0 / 0.6015 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.5877, allocations: 0 / 0.6015 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.5878, allocations: 0 / 0.6015 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.5878, allocations: 3.953 kB / 0.6015 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.5878, allocations: 0 / 0.6015 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.5879, allocations: 94.77 kB / 0.6016 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.5879, allocations: 81.14 kB / 0.6017 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.5879, allocations: 4 kB / 0.6017 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.929e-06/0.588, allocations: 3.984 kB / 0.6017 GB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.372e-05/0.588, allocations: 3.953 kB / 0.6017 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.588, allocations: 4 kB / 0.6017 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.73e-05/0.588, allocations: 75.28 kB / 0.6018 GB, free: 428 kB / 410.7 MB Notification: Performance of sort global known variables: time 1.643e-06/0.588, allocations: 0 / 0.6018 GB, free: 428 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003523/0.5884, allocations: 87.86 kB / 0.6019 GB, free: 340 kB / 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) * 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.0007387/0.5891, allocations: 0.7287 MB / 0.6026 GB, free: 15.58 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.784e-05/0.5892, allocations: 71.42 kB / 0.6026 GB, free: 15.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.5892, allocations: 0 / 0.6026 GB, free: 15.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.77e-05/0.5893, allocations: 51.41 kB / 0.6027 GB, free: 15.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.308e-05/0.5894, allocations: 9.359 kB / 0.6027 GB, free: 15.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/0.5897, allocations: 152.2 kB / 0.6028 GB, free: 15.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.5899, allocations: 0.6731 MB / 0.6035 GB, free: 14.54 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.57e-06/0.59, allocations: 0 / 0.6035 GB, free: 14.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.474e-05/0.59, allocations: 11.44 kB / 0.6035 GB, free: 14.52 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.59, allocations: 0 / 0.6035 GB, free: 14.52 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01328/0.6033, allocations: 2.369 MB / 0.6058 GB, free: 12.26 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/0.6035, allocations: 211.8 kB / 0.606 GB, free: 12.01 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/2.193, allocations: 4.062 kB / 0.606 GB, free: 12.01 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestPolynomials_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestPolynomials.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials_res.mat does not exist to compare? outputFormat=mat