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.002125/0.002125, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.593/1.593, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008915/0.0008913, allocations: 95.97 kB / 281.6 MB, free: 5.32 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.1973/0.1973, allocations: 44.14 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.884e-05/1.888e-05, allocations: 224 / 444.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1495, allocations: 61.92 MB / 0.4948 GB, free: 1.164 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4906/0.6402, allocations: 86.93 MB / 0.5797 GB, free: 9.438 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/0.6405, allocations: 59.97 kB / 0.5797 GB, free: 9.379 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01559/0.6561, allocations: 4.35 MB / 0.584 GB, free: 5.039 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.6562, allocations: 0 / 0.584 GB, free: 5.039 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.6562, allocations: 0 / 0.584 GB, free: 5.039 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.0006651/0.6569, allocations: 404.1 kB / 0.5843 GB, free: 4.594 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.783e-05/0.6569, allocations: 11.98 kB / 0.5844 GB, free: 4.582 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.657, allocations: 0 / 0.5844 GB, free: 4.582 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.6571, allocations: 163.1 kB / 0.5845 GB, free: 4.383 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.6571, allocations: 7.953 kB / 0.5845 GB, free: 4.375 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.6572, allocations: 0 / 0.5845 GB, free: 4.375 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.683e-05/0.6572, allocations: 3.938 kB / 0.5845 GB, free: 4.371 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.05e-05/0.6573, allocations: 33.69 kB / 0.5846 GB, free: 4.332 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.6573, allocations: 0 / 0.5846 GB, free: 4.332 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.6573, allocations: 4 kB / 0.5846 GB, free: 4.328 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.6573, allocations: 0 / 0.5846 GB, free: 4.328 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.6575, allocations: 122.2 kB / 0.5847 GB, free: 4.172 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.174e-05/0.6576, allocations: 18.66 kB / 0.5847 GB, free: 4.145 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.479e-05/0.6576, allocations: 9.422 kB / 0.5847 GB, free: 4.133 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-06/0.6576, allocations: 0 / 0.5847 GB, free: 4.133 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.203e-05/0.6577, allocations: 64.22 kB / 0.5848 GB, free: 4.055 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.342e-06/0.6577, allocations: 7.938 kB / 0.5848 GB, free: 4.047 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.000206/0.6579, allocations: 37.64 kB / 0.5848 GB, free: 4.004 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.405e-05/0.658, allocations: 77.11 kB / 0.5849 GB, free: 3.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.02e-05/0.658, allocations: 85 kB / 0.585 GB, free: 3.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.6581, allocations: 26.55 kB / 0.585 GB, free: 3.789 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.228e-05/0.6581, allocations: 80.14 kB / 0.5851 GB, free: 3.707 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.6581, allocations: 0 / 0.5851 GB, free: 3.707 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-06/0.6581, allocations: 0 / 0.5851 GB, free: 3.707 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.6583, allocations: 322.9 kB / 0.5854 GB, free: 3.383 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-06/0.6583, allocations: 0 / 0.5854 GB, free: 3.383 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.273e-06/0.6583, allocations: 4 kB / 0.5854 GB, free: 3.379 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.221e-05/0.6584, allocations: 0 / 0.5854 GB, free: 3.379 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.6584, allocations: 0 / 0.5854 GB, free: 3.379 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.113e-05/0.6585, allocations: 37.64 kB / 0.5854 GB, free: 3.336 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.911e-05/0.6585, allocations: 29.7 kB / 0.5854 GB, free: 3.301 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.6585, allocations: 0 / 0.5854 GB, free: 3.301 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.6586, allocations: 15.88 kB / 0.5855 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.246e-06/0.6586, allocations: 4.094 kB / 0.5855 GB, free: 3.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.6586, allocations: 4 kB / 0.5855 GB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.325e-05/0.6586, allocations: 0 / 0.5855 GB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.6586, allocations: 0 / 0.5855 GB, free: 3.277 MB / 394.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 0.0001192/0.6587, allocations: 130.7 kB / 0.5856 GB, free: 3.137 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.494e-05/0.6588, allocations: 33.7 kB / 0.5856 GB, free: 3.098 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.084e-05/0.6588, allocations: 11.94 kB / 0.5856 GB, free: 3.086 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.612e-05/0.6588, allocations: 7.703 kB / 0.5856 GB, free: 3.074 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.6589, allocations: 0 / 0.5856 GB, free: 3.074 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.6589, allocations: 4.031 kB / 0.5856 GB, free: 3.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.6589, allocations: 4 kB / 0.5856 GB, free: 3.066 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.659, allocations: 122.2 kB / 0.5858 GB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.659, allocations: 0 / 0.5858 GB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.659, allocations: 0 / 0.5858 GB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.659, allocations: 0 / 0.5858 GB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.659, allocations: 0 / 0.5858 GB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.659, allocations: 7.938 kB / 0.5858 GB, free: 2.902 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.659, allocations: 4 kB / 0.5858 GB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.281e-05/0.6591, allocations: 69.06 kB / 0.5858 GB, free: 2.812 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.6592, allocations: 81.05 kB / 0.5859 GB, free: 2.715 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.6592, allocations: 3.984 kB / 0.5859 GB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.709e-06/0.6592, allocations: 4 kB / 0.5859 GB, free: 2.707 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.629e-05/0.6593, allocations: 3.953 kB / 0.5859 GB, free: 2.703 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.6593, allocations: 0 / 0.5859 GB, free: 2.703 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.123e-05/0.6593, allocations: 75.28 kB / 0.586 GB, free: 2.629 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6593, allocations: 0 / 0.586 GB, free: 2.629 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000405/0.6597, allocations: 79.92 kB / 0.5861 GB, free: 2.551 MB / 394.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.0008222/0.6605, allocations: 0.7149 MB / 0.5868 GB, free: 1.816 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001169/0.6607, allocations: 55.41 kB / 0.5868 GB, free: 1.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.6607, allocations: 0 / 0.5868 GB, free: 1.75 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.519e-05/0.6607, allocations: 59.39 kB / 0.5869 GB, free: 1.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.861e-05/0.6608, allocations: 3.953 kB / 0.5869 GB, free: 1.676 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003306/0.6612, allocations: 122.1 kB / 0.587 GB, free: 1.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.6614, allocations: 0.669 MB / 0.5877 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.56e-06/0.6615, allocations: 128 / 0.5877 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.54e-05/0.6615, allocations: 11.44 kB / 0.5877 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6615, allocations: 4 kB / 0.5877 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02189/0.6834, allocations: 2.082 MB / 0.5897 GB, free: 14.73 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002502/0.6837, allocations: 164 kB / 0.5899 GB, free: 14.53 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/2.273, allocations: 0 / 0.5899 GB, free: 14.53 MB / 410.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