Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.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.TestPolynomials,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestPolynomials",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestPolynomials,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestPolynomials",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.001452/0.001452, allocations: 177.8 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.889/1.889, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.001002/0.001002, allocations: 86.17 kB / 261.7 MB, free: 1.691 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.2749/0.2749, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.647e-05/1.677e-05, allocations: 0 / 418.3 MB, free: 28.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1574, allocations: 58.86 MB / 477.2 MB, free: 1.57 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6162/0.7737, allocations: 195.4 MB / 0.6568 GB, free: 1.09 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.7739, allocations: 68.78 kB / 0.6569 GB, free: 1.059 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02155/0.7955, allocations: 6.984 MB / 0.6637 GB, free: 11.25 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.7956, allocations: 0 / 0.6637 GB, free: 11.25 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.7956, allocations: 0 / 0.6637 GB, free: 11.25 MB / 474.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.0006374/0.7963, allocations: 411 kB / 0.6641 GB, free: 10.8 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.7963, allocations: 8.031 kB / 0.6641 GB, free: 10.79 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.7964, allocations: 2.625 kB / 0.6641 GB, free: 10.79 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.7965, allocations: 163 kB / 0.6643 GB, free: 10.59 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.7965, allocations: 4 kB / 0.6643 GB, free: 10.59 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.7965, allocations: 0 / 0.6643 GB, free: 10.59 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.432e-05/0.7966, allocations: 0 / 0.6643 GB, free: 10.59 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.751e-05/0.7967, allocations: 29.7 kB / 0.6643 GB, free: 10.55 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.7967, allocations: 3.984 kB / 0.6643 GB, free: 10.55 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.7967, allocations: 0 / 0.6643 GB, free: 10.55 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.7967, allocations: 7.984 kB / 0.6643 GB, free: 10.54 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000138/0.7969, allocations: 126.2 kB / 0.6644 GB, free: 10.38 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.817e-05/0.7969, allocations: 21.33 kB / 0.6644 GB, free: 10.35 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.823e-05/0.797, allocations: 8.953 kB / 0.6644 GB, free: 10.34 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.02e-06/0.797, allocations: 0 / 0.6644 GB, free: 10.34 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.122e-05/0.797, allocations: 57.61 kB / 0.6645 GB, free: 10.27 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.797, allocations: 4 kB / 0.6645 GB, free: 10.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002181/0.7973, allocations: 37.69 kB / 0.6645 GB, free: 10.22 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.7973, allocations: 80.48 kB / 0.6646 GB, free: 10.13 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.215e-05/0.7974, allocations: 85 kB / 0.6647 GB, free: 10.04 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.7974, allocations: 25.7 kB / 0.6647 GB, free: 10.01 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.534e-05/0.7974, allocations: 80.14 kB / 0.6648 GB, free: 9.926 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.7975, allocations: 0 / 0.6648 GB, free: 9.926 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-06/0.7975, allocations: 0 / 0.6648 GB, free: 9.926 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.7976, allocations: 314.8 kB / 0.6651 GB, free: 9.609 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.722e-06/0.7977, allocations: 8.031 kB / 0.6651 GB, free: 9.602 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.298e-06/0.7977, allocations: 0 / 0.6651 GB, free: 9.602 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.993e-05/0.7977, allocations: 0 / 0.6651 GB, free: 9.602 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.7977, allocations: 7.875 kB / 0.6651 GB, free: 9.594 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.813e-05/0.7978, allocations: 44.02 kB / 0.6652 GB, free: 9.547 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/0.7978, allocations: 29.7 kB / 0.6652 GB, free: 9.512 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.7979, allocations: 0 / 0.6652 GB, free: 9.512 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.7979, allocations: 0 / 0.6652 GB, free: 9.512 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.926e-06/0.7979, allocations: 4 kB / 0.6652 GB, free: 9.508 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.7979, allocations: 4.094 kB / 0.6652 GB, free: 9.504 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.212e-05/0.7979, allocations: 0 / 0.6652 GB, free: 9.504 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.7979, allocations: 0 / 0.6652 GB, free: 9.504 MB / 474.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 9.042e-05/0.798, allocations: 130.7 kB / 0.6653 GB, free: 9.363 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.593e-05/0.7981, allocations: 52.77 kB / 0.6654 GB, free: 9.309 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-06/0.7981, allocations: 0 / 0.6654 GB, free: 9.309 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.891e-05/0.7981, allocations: 3.75 kB / 0.6654 GB, free: 9.301 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.31e-07/0.7982, allocations: 0 / 0.6654 GB, free: 9.301 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.7982, allocations: 0 / 0.6654 GB, free: 9.301 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.7982, allocations: 4.031 kB / 0.6654 GB, free: 9.297 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.7983, allocations: 138.2 kB / 0.6655 GB, free: 9.125 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.7983, allocations: 0 / 0.6655 GB, free: 9.125 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.7983, allocations: 0 / 0.6655 GB, free: 9.125 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.7983, allocations: 0 / 0.6655 GB, free: 9.125 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.7983, allocations: 0 / 0.6655 GB, free: 9.125 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.7983, allocations: 0 / 0.6655 GB, free: 9.125 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.7983, allocations: 0 / 0.6655 GB, free: 9.125 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.743e-05/0.7984, allocations: 68.25 kB / 0.6656 GB, free: 9.043 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.383e-05/0.7985, allocations: 81.06 kB / 0.6656 GB, free: 8.945 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.7985, allocations: 0 / 0.6656 GB, free: 8.945 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.875e-06/0.7985, allocations: 0 / 0.6656 GB, free: 8.945 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.639e-05/0.7985, allocations: 7.938 kB / 0.6657 GB, free: 8.938 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.7985, allocations: 3.375 kB / 0.6657 GB, free: 8.938 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.904e-05/0.7986, allocations: 75.28 kB / 0.6657 GB, free: 8.863 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7986, allocations: 0 / 0.6657 GB, free: 8.863 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004361/0.799, allocations: 83.86 kB / 0.6658 GB, free: 8.781 MB / 474.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.0008083/0.7998, allocations: 0.7067 MB / 0.6665 GB, free: 8.059 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 9.219e-05/0.8, allocations: 63.38 kB / 0.6666 GB, free: 7.984 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.8, allocations: 0 / 0.6666 GB, free: 7.984 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.007e-05/0.8, allocations: 58.91 kB / 0.6666 GB, free: 7.918 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.722e-05/0.8001, allocations: 0 / 0.6666 GB, free: 7.918 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003191/0.8004, allocations: 113.5 kB / 0.6667 GB, free: 7.77 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.8007, allocations: 0.6768 MB / 0.6674 GB, free: 7.066 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 7.314e-06/0.8008, allocations: 0 / 0.6674 GB, free: 7.066 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.646e-05/0.8008, allocations: 7.438 kB / 0.6674 GB, free: 7.062 MB / 474.7 MB Notification: Performance of SimCode: time 2.51e-07/0.8008, allocations: 4.125 kB / 0.6674 GB, free: 7.059 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.8247, allocations: 2.142 MB / 0.6695 GB, free: 4.922 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/0.825, allocations: 163.5 kB / 0.6696 GB, free: 4.719 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/2.416, allocations: 0 / 0.6696 GB, free: 4.719 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestPolynomials_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestPolynomials.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials_res.mat does not exist to compare? outputFormat=mat