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.001089/0.001089, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 225.6 MB / 234.8 MB, free: 3.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001098/0.001098, allocations: 89.53 kB / 286.7 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2297/0.2297, allocations: 45.15 MB / 383.8 MB, free: 268 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.534e-05/2.519e-05, allocations: 4 kB / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1232, allocations: 63.25 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4576/0.5809, allocations: 87.98 MB / 0.5904 GB, free: 14.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/0.5812, allocations: 62.59 kB / 0.5904 GB, free: 14.24 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01425/0.5955, allocations: 4.414 MB / 0.5947 GB, free: 10.53 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.5956, allocations: 0 / 0.5947 GB, free: 10.53 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.5956, allocations: 0 / 0.5947 GB, free: 10.53 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.0004822/0.5961, allocations: 400 kB / 0.5951 GB, free: 10.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.5961, allocations: 8.031 kB / 0.5951 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.5962, allocations: 0 / 0.5951 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.5963, allocations: 167 kB / 0.5953 GB, free: 9.883 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.5963, allocations: 0 / 0.5953 GB, free: 9.883 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.5963, allocations: 8 kB / 0.5953 GB, free: 9.875 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.254e-05/0.5964, allocations: 3.984 kB / 0.5953 GB, free: 9.871 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.377e-05/0.5964, allocations: 29.69 kB / 0.5953 GB, free: 9.836 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.5964, allocations: 0 / 0.5953 GB, free: 9.836 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.5964, allocations: 7.938 kB / 0.5953 GB, free: 9.828 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.5965, allocations: 0 / 0.5953 GB, free: 9.828 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001226/0.5966, allocations: 126.2 kB / 0.5955 GB, free: 9.668 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.095e-05/0.5966, allocations: 15.14 kB / 0.5955 GB, free: 9.645 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.818e-05/0.5967, allocations: 20.7 kB / 0.5955 GB, free: 9.625 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.031e-06/0.5967, allocations: 0 / 0.5955 GB, free: 9.625 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/0.5968, allocations: 61.09 kB / 0.5956 GB, free: 9.551 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.5968, allocations: 0 / 0.5956 GB, free: 9.551 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001682/0.5969, allocations: 29.7 kB / 0.5956 GB, free: 9.516 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.597, allocations: 81.11 kB / 0.5957 GB, free: 9.418 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.206e-05/0.597, allocations: 85 kB / 0.5957 GB, free: 9.328 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.597, allocations: 29.73 kB / 0.5958 GB, free: 9.293 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.104e-05/0.5971, allocations: 80.14 kB / 0.5958 GB, free: 9.211 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.5971, allocations: 0 / 0.5958 GB, free: 9.211 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.5971, allocations: 0 / 0.5958 GB, free: 9.211 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.5972, allocations: 318.7 kB / 0.5961 GB, free: 8.895 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.124e-06/0.5973, allocations: 0 / 0.5961 GB, free: 8.895 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.649e-06/0.5973, allocations: 4 kB / 0.5962 GB, free: 8.891 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.125e-05/0.5973, allocations: 3.984 kB / 0.5962 GB, free: 8.887 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5973, allocations: 0 / 0.5962 GB, free: 8.887 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.866e-05/0.5974, allocations: 45.66 kB / 0.5962 GB, free: 8.836 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.5975, allocations: 29.7 kB / 0.5962 GB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.5975, allocations: 0 / 0.5962 GB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.5975, allocations: 0 / 0.5962 GB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.5975, allocations: 0 / 0.5962 GB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.5975, allocations: 0 / 0.5962 GB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.296e-05/0.5975, allocations: 4 kB / 0.5962 GB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.5975, allocations: 3.984 kB / 0.5962 GB, free: 8.793 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 7.744e-05/0.5976, allocations: 130.7 kB / 0.5964 GB, free: 8.652 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.269e-05/0.5977, allocations: 49.62 kB / 0.5964 GB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.52e-06/0.5977, allocations: 0 / 0.5964 GB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.555e-05/0.5977, allocations: 7.703 kB / 0.5964 GB, free: 8.594 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.5977, allocations: 3.984 kB / 0.5964 GB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.5978, allocations: 0 / 0.5964 GB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.5978, allocations: 3.938 kB / 0.5964 GB, free: 8.586 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.849e-05/0.5978, allocations: 134.2 kB / 0.5966 GB, free: 8.418 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5979, allocations: 3.938 kB / 0.5966 GB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.62e-07/0.5979, allocations: 0 / 0.5966 GB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.5979, allocations: 0 / 0.5966 GB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.5979, allocations: 4.031 kB / 0.5966 GB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5979, allocations: 0 / 0.5966 GB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5979, allocations: 0 / 0.5966 GB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.095e-05/0.598, allocations: 65 kB / 0.5966 GB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.598, allocations: 81.06 kB / 0.5967 GB, free: 8.234 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.5981, allocations: 0 / 0.5967 GB, free: 8.234 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.215e-06/0.5981, allocations: 0 / 0.5967 GB, free: 8.234 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.934e-05/0.5981, allocations: 4.031 kB / 0.5967 GB, free: 8.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.5981, allocations: 4 kB / 0.5967 GB, free: 8.227 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.813e-05/0.5981, allocations: 79.27 kB / 0.5968 GB, free: 8.148 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5981, allocations: 0 / 0.5968 GB, free: 8.148 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003999/0.5985, allocations: 79.5 kB / 0.5969 GB, free: 8.074 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.0008186/0.5994, allocations: 0.7156 MB / 0.5976 GB, free: 7.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.431e-05/0.5995, allocations: 59.34 kB / 0.5976 GB, free: 7.273 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5995, allocations: 0 / 0.5976 GB, free: 7.273 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.967e-05/0.5995, allocations: 55.41 kB / 0.5977 GB, free: 7.207 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.443e-05/0.5996, allocations: 5.531 kB / 0.5977 GB, free: 7.203 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003573/0.6, allocations: 121.4 kB / 0.5978 GB, free: 7.047 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.6002, allocations: 0.6729 MB / 0.5984 GB, free: 6.348 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.723e-06/0.6002, allocations: 0 / 0.5984 GB, free: 6.348 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.448e-05/0.6003, allocations: 7.438 kB / 0.5985 GB, free: 6.34 MB / 394.7 MB Notification: Performance of SimCode: time 5.01e-07/0.6003, allocations: 0 / 0.5985 GB, free: 6.34 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02669/0.627, allocations: 2.083 MB / 0.6005 GB, free: 4.266 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003706/0.6275, allocations: 154.1 kB / 0.6006 GB, free: 4.074 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.555/2.183, allocations: 0 / 0.6006 GB, free: 4.074 MB / 394.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