Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.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.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001946/0.001946, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.835/1.835, allocations: 227.2 MB / 245 MB, free: 7.621 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009428/0.0009427, allocations: 100.1 kB / 297.3 MB, free: 6.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5071/0.5071, allocations: 45.22 MB / 394.6 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.000372, allocations: 8 kB / 468.5 MB, free: 7.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5814/0.5818, allocations: 63.25 MB / 0.5193 GB, free: 43.88 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.441/2.023, allocations: 473.1 MB / 0.9813 GB, free: 137 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/2.023, allocations: 75.52 kB / 0.9814 GB, free: 136.9 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.08141/2.104, allocations: 41.43 MB / 1.022 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd: time 4.238e-06/2.104, allocations: 0 / 1.022 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.548e-06/2.104, allocations: 0 / 1.022 GB, free: 102.7 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006951/2.105, allocations: 418 kB / 1.022 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.606e-05/2.105, allocations: 12.03 kB / 1.022 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.308e-05/2.105, allocations: 38.36 kB / 1.022 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/2.105, allocations: 11.86 kB / 1.022 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/2.106, allocations: 167 kB / 1.022 GB, free: 101.9 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/2.106, allocations: 3.688 kB / 1.022 GB, free: 101.9 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/2.106, allocations: 4 kB / 1.022 GB, free: 101.9 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/2.106, allocations: 72.47 kB / 1.023 GB, free: 101.9 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/2.106, allocations: 3.906 kB / 1.023 GB, free: 101.9 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/2.106, allocations: 0 / 1.023 GB, free: 101.9 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/2.106, allocations: 4 kB / 1.023 GB, free: 101.9 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.918e-05/2.106, allocations: 53.97 kB / 1.023 GB, free: 101.8 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004919/2.106, allocations: 387.9 kB / 1.023 GB, free: 101.4 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/2.107, allocations: 61.36 kB / 1.023 GB, free: 101.4 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/2.108, allocations: 0.9952 MB / 1.024 GB, free: 100.2 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/2.108, allocations: 34.69 kB / 1.024 GB, free: 100.1 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 3.426e-06/2.108, allocations: 3.984 kB / 1.024 GB, free: 100.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14): time 0.005949/2.114, allocations: 0.6589 MB / 1.025 GB, free: 99.57 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/2.114, allocations: 55.41 kB / 1.025 GB, free: 99.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.99e-05/2.114, allocations: 92.69 kB / 1.025 GB, free: 99.41 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/2.114, allocations: 29.83 kB / 1.025 GB, free: 99.38 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.33e-05/2.114, allocations: 92.31 kB / 1.025 GB, free: 99.28 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.902e-05/2.114, allocations: 50.3 kB / 1.025 GB, free: 99.24 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/2.114, allocations: 0 / 1.025 GB, free: 99.24 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.689e-05/2.114, allocations: 317.8 kB / 1.025 GB, free: 98.92 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/2.114, allocations: 85.31 kB / 1.025 GB, free: 98.86 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/2.115, allocations: 107.3 kB / 1.025 GB, free: 98.78 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/2.115, allocations: 84.22 kB / 1.026 GB, free: 98.73 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/2.115, allocations: 7.953 kB / 1.026 GB, free: 98.72 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005499/2.115, allocations: 237.5 kB / 1.026 GB, free: 98.55 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/2.115, allocations: 10.03 kB / 1.026 GB, free: 98.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/2.115, allocations: 4.062 kB / 1.026 GB, free: 98.54 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/2.115, allocations: 0 / 1.026 GB, free: 98.54 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000585/2.116, allocations: 51.94 kB / 1.026 GB, free: 98.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/2.116, allocations: 7.938 kB / 1.026 GB, free: 98.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004405/2.116, allocations: 18.86 kB / 1.026 GB, free: 98.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-05/2.117, allocations: 11.98 kB / 1.026 GB, free: 98.45 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * 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.0001447/2.117, allocations: 116.8 kB / 1.026 GB, free: 98.33 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/2.117, allocations: 11.86 kB / 1.026 GB, free: 98.32 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009908/2.118, allocations: 351.2 kB / 1.026 GB, free: 98.07 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/2.118, allocations: 3.984 kB / 1.026 GB, free: 98.06 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/2.118, allocations: 0 / 1.026 GB, free: 98.06 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/2.118, allocations: 0 / 1.026 GB, free: 98.06 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/2.119, allocations: 0.7418 MB / 1.027 GB, free: 97.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/2.119, allocations: 0 / 1.027 GB, free: 97.35 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004633/2.12, allocations: 51.91 kB / 1.027 GB, free: 97.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/2.12, allocations: 0 / 1.027 GB, free: 97.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/2.12, allocations: 11.23 kB / 1.027 GB, free: 97.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/2.12, allocations: 0 / 1.027 GB, free: 97.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/2.12, allocations: 0 / 1.027 GB, free: 97.29 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000516/2.12, allocations: 347.8 kB / 1.027 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/2.12, allocations: 111.8 kB / 1.028 GB, free: 96.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/2.12, allocations: 0 / 1.028 GB, free: 96.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003892/2.121, allocations: 15.31 kB / 1.028 GB, free: 96.88 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/2.121, allocations: 15.97 kB / 1.028 GB, free: 96.86 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/2.121, allocations: 11 kB / 1.028 GB, free: 96.86 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.811e-05/2.121, allocations: 83.27 kB / 1.028 GB, free: 96.77 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/2.121, allocations: 0 / 1.028 GB, free: 96.77 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008033/2.122, allocations: 146.9 kB / 1.028 GB, free: 96.66 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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.001675/2.123, allocations: 1.427 MB / 1.029 GB, free: 95.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004763/2.124, allocations: 201.9 kB / 1.029 GB, free: 95.16 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/2.124, allocations: 4 kB / 1.029 GB, free: 95.16 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002039/2.124, allocations: 115.4 kB / 1.03 GB, free: 95.08 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/2.124, allocations: 21.61 kB / 1.03 GB, free: 95.06 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008597/2.125, allocations: 398 kB / 1.03 GB, free: 94.66 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/2.125, allocations: 0.7007 MB / 1.031 GB, free: 93.93 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004909/2.126, allocations: 64.7 kB / 1.031 GB, free: 93.87 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/2.126, allocations: 50.38 kB / 1.031 GB, free: 93.83 MB / 0.5417 GB Notification: Performance of SimCode: time 2.21e-07/2.126, allocations: 0 / 1.031 GB, free: 93.83 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02812/2.154, allocations: 15.48 MB / 1.046 GB, free: 78.46 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/2.155, allocations: 174.9 kB / 1.046 GB, free: 78.21 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.175/4.329, allocations: 0 / 1.046 GB, free: 78.21 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat does not exist to compare? outputFormat=mat