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.001296/0.001296, allocations: 183 kB / 13.19 MB, free: 2.129 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.885/1.885, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.001003/0.001002, allocations: 90.66 kB / 267.1 MB, free: 9.281 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.4641/0.4641, allocations: 43.47 MB / 358.6 MB, free: 52.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.678e-05/4.682e-05, allocations: 4 kB / 425.4 MB, free: 8.793 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.163, allocations: 58.84 MB / 484.2 MB, free: 13.85 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6062/0.7693, allocations: 196 MB / 0.6643 GB, free: 4.734 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/0.7696, allocations: 75.97 kB / 0.6644 GB, free: 4.664 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3576/1.127, allocations: 6.995 MB / 0.6712 GB, free: 148.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.324e-06/1.127, allocations: 2.781 kB / 0.6712 GB, free: 148.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/1.127, allocations: 0 / 0.6712 GB, free: 148.6 MB / 490.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.0004917/1.128, allocations: 407.2 kB / 0.6716 GB, free: 148.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.065e-05/1.128, allocations: 11.5 kB / 0.6716 GB, free: 148.2 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.757e-05/1.128, allocations: 34.56 kB / 0.6717 GB, free: 148.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.57e-05/1.128, allocations: 1.156 kB / 0.6717 GB, free: 148.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.533e-05/1.128, allocations: 162.5 kB / 0.6718 GB, free: 148 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/1.128, allocations: 0 / 0.6718 GB, free: 148 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/1.128, allocations: 4.797 kB / 0.6718 GB, free: 148 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/1.128, allocations: 33.52 kB / 0.6719 GB, free: 148 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/1.128, allocations: 1.375 kB / 0.6719 GB, free: 148 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/1.128, allocations: 1.75 kB / 0.6719 GB, free: 148 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/1.128, allocations: 0 / 0.6719 GB, free: 148 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.26e-05/1.128, allocations: 3 kB / 0.6719 GB, free: 148 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001403/1.128, allocations: 152.7 kB / 0.672 GB, free: 147.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.5e-05/1.128, allocations: 18.95 kB / 0.672 GB, free: 147.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.758e-05/1.128, allocations: 8.609 kB / 0.672 GB, free: 147.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.138e-06/1.128, allocations: 0 / 0.672 GB, free: 147.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/1.129, allocations: 61.78 kB / 0.6721 GB, free: 147.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/1.129, allocations: 1.156 kB / 0.6721 GB, free: 147.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001739/1.129, allocations: 62.67 kB / 0.6722 GB, free: 147.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/1.129, allocations: 79.44 kB / 0.6722 GB, free: 147.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.513e-05/1.129, allocations: 86.66 kB / 0.6723 GB, free: 147.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/1.129, allocations: 29.73 kB / 0.6723 GB, free: 147.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.235e-05/1.129, allocations: 81.2 kB / 0.6724 GB, free: 147.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/1.129, allocations: 1.75 kB / 0.6724 GB, free: 147.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-06/1.129, allocations: 0.5 kB / 0.6724 GB, free: 147.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.428e-05/1.129, allocations: 317 kB / 0.6727 GB, free: 147 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.202e-05/1.129, allocations: 4.062 kB / 0.6727 GB, free: 147 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.356e-06/1.129, allocations: 2.359 kB / 0.6727 GB, free: 147 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.947e-05/1.129, allocations: 34.19 kB / 0.6728 GB, free: 147 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.129, allocations: 4.062 kB / 0.6728 GB, free: 147 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.859e-05/1.129, allocations: 63.45 kB / 0.6728 GB, free: 146.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/1.129, allocations: 32.62 kB / 0.6729 GB, free: 146.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/1.129, allocations: 0 / 0.6729 GB, free: 146.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/1.129, allocations: 0.6094 kB / 0.6729 GB, free: 146.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.763e-06/1.129, allocations: 1.906 kB / 0.6729 GB, free: 146.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/1.129, allocations: 0.75 kB / 0.6729 GB, free: 146.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.358e-05/1.129, allocations: 0.5625 kB / 0.6729 GB, free: 146.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/1.129, allocations: 1.156 kB / 0.6729 GB, free: 146.9 MB / 490.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 7.958e-05/1.129, allocations: 141 kB / 0.673 GB, free: 146.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-06/1.129, allocations: 0 / 0.673 GB, free: 146.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.587e-05/1.129, allocations: 5.344 kB / 0.673 GB, free: 146.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/1.129, allocations: 0 / 0.673 GB, free: 146.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/1.129, allocations: 1.828 kB / 0.673 GB, free: 146.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/1.129, allocations: 2.688 kB / 0.673 GB, free: 146.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.452e-05/1.129, allocations: 150.2 kB / 0.6732 GB, free: 146.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/1.13, allocations: 1.797 kB / 0.6732 GB, free: 146.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/1.13, allocations: 3.938 kB / 0.6732 GB, free: 146.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/1.13, allocations: 0 / 0.6732 GB, free: 146.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/1.13, allocations: 6.266 kB / 0.6732 GB, free: 146.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/1.13, allocations: 1.062 kB / 0.6732 GB, free: 146.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.13, allocations: 0.8906 kB / 0.6732 GB, free: 146.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.518e-05/1.13, allocations: 90.33 kB / 0.6733 GB, free: 146.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.453e-05/1.13, allocations: 81.06 kB / 0.6733 GB, free: 146.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/1.13, allocations: 2.672 kB / 0.6733 GB, free: 146.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.846e-06/1.13, allocations: 0 / 0.6733 GB, free: 146.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.77e-05/1.13, allocations: 3.766 kB / 0.6733 GB, free: 146.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/1.13, allocations: 5 kB / 0.6733 GB, free: 146.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.898e-05/1.13, allocations: 75.28 kB / 0.6734 GB, free: 146.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.91e-07/1.13, allocations: 1.031 kB / 0.6734 GB, free: 146.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004858/1.13, allocations: 90.83 kB / 0.6735 GB, free: 146.2 MB / 490.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.0007581/1.131, allocations: 0.7343 MB / 0.6742 GB, free: 145.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.957e-05/1.131, allocations: 60.75 kB / 0.6743 GB, free: 145.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.131, allocations: 0 / 0.6743 GB, free: 145.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.771e-05/1.131, allocations: 55.91 kB / 0.6743 GB, free: 145.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.603e-05/1.131, allocations: 2.109 kB / 0.6743 GB, free: 145.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003037/1.132, allocations: 119.6 kB / 0.6744 GB, free: 145.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/1.132, allocations: 0.6742 MB / 0.6751 GB, free: 144.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.733e-06/1.132, allocations: 1.281 kB / 0.6751 GB, free: 144.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.295e-05/1.132, allocations: 7.438 kB / 0.6751 GB, free: 144.6 MB / 490.7 MB Notification: Performance of SimCode: time 2.21e-07/1.132, allocations: 0 / 0.6751 GB, free: 144.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01529/1.147, allocations: 2.445 MB / 0.6775 GB, free: 144.3 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/1.147, allocations: 174.8 kB / 0.6777 GB, free: 144.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/2.794, allocations: 4 kB / 0.6777 GB, free: 144.1 MB / 490.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