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.001289/0.001289, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.245/1.245, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009443/0.0009444, allocations: 87.31 kB / 292.1 MB, free: 5.934 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1839/0.1839, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.58e-05/4.584e-05, allocations: 4 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09546/0.09552, allocations: 63.24 MB / 0.5114 GB, free: 6.703 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.224/1.319, allocations: 473 MB / 0.9734 GB, free: 154.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/1.319, allocations: 72.02 kB / 0.9735 GB, free: 154.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.07825/1.398, allocations: 41.3 MB / 1.014 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.054e-06/1.398, allocations: 4 kB / 1.014 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.786e-06/1.398, allocations: 3.938 kB / 1.014 GB, free: 134.2 MB / 0.5261 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.0004723/1.398, allocations: 411.7 kB / 1.014 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/1.398, allocations: 11.97 kB / 1.014 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.845e-05/1.398, allocations: 37.31 kB / 1.014 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.874e-05/1.398, allocations: 12.48 kB / 1.014 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.101e-05/1.398, allocations: 163.1 kB / 1.014 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/1.399, allocations: 6.25 kB / 1.014 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/1.399, allocations: 10.19 kB / 1.014 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/1.399, allocations: 68.36 kB / 1.015 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/1.399, allocations: 5.938 kB / 1.015 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/1.399, allocations: 4 kB / 1.015 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/1.399, allocations: 4 kB / 1.015 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.406e-05/1.399, allocations: 53.78 kB / 1.015 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/1.399, allocations: 384.5 kB / 1.015 GB, free: 133 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.081e-05/1.399, allocations: 67.81 kB / 1.015 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.256e-05/1.399, allocations: 21.8 kB / 1.015 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008793/1.4, allocations: 0.9873 MB / 1.016 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/1.4, allocations: 38.56 kB / 1.016 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/1.4, allocations: 0 / 1.016 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.004797/1.405, allocations: 0.607 MB / 1.017 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/1.405, allocations: 63.33 kB / 1.017 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.223e-05/1.405, allocations: 92.25 kB / 1.017 GB, free: 131 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/1.405, allocations: 29.33 kB / 1.017 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.064e-05/1.405, allocations: 100.2 kB / 1.017 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/1.405, allocations: 46.98 kB / 1.017 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.002e-05/1.405, allocations: 3.938 kB / 1.017 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.558e-05/1.405, allocations: 322.5 kB / 1.017 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/1.405, allocations: 71.95 kB / 1.017 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/1.406, allocations: 96.47 kB / 1.017 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/1.406, allocations: 85.59 kB / 1.017 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/1.406, allocations: 3.938 kB / 1.017 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003847/1.406, allocations: 223.2 kB / 1.018 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/1.406, allocations: 4 kB / 1.018 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/1.406, allocations: 0 / 1.018 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/1.406, allocations: 4 kB / 1.018 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005193/1.407, allocations: 59.06 kB / 1.018 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/1.407, allocations: 0 / 1.018 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003951/1.407, allocations: 27.95 kB / 1.018 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.85e-05/1.407, allocations: 7.984 kB / 1.018 GB, free: 130 MB / 0.5261 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 () * 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 7.333e-05/1.407, allocations: 120 kB / 1.018 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/1.407, allocations: 4 kB / 1.018 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006296/1.408, allocations: 337.1 kB / 1.018 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/1.408, allocations: 4 kB / 1.018 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.408, allocations: 0 / 1.018 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/1.408, allocations: 0 / 1.018 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008222/1.409, allocations: 0.7312 MB / 1.019 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.409, allocations: 0 / 1.019 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000446/1.409, allocations: 39.97 kB / 1.019 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/1.409, allocations: 0 / 1.019 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/1.409, allocations: 11.73 kB / 1.019 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/1.409, allocations: 0 / 1.019 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/1.409, allocations: 0 / 1.019 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003978/1.41, allocations: 335.8 kB / 1.019 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.84e-05/1.41, allocations: 112 kB / 1.019 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/1.41, allocations: 256 / 1.019 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/1.41, allocations: 7.625 kB / 1.019 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.8e-05/1.41, allocations: 19.97 kB / 1.019 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/1.41, allocations: 11.56 kB / 1.019 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.369e-05/1.41, allocations: 83.27 kB / 1.02 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/1.41, allocations: 3.938 kB / 1.02 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005193/1.411, allocations: 149.2 kB / 1.02 GB, free: 128.2 MB / 0.5261 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 () * 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.001314/1.412, allocations: 1.404 MB / 1.021 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003425/1.413, allocations: 185.7 kB / 1.021 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/1.413, allocations: 0 / 1.021 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/1.413, allocations: 112.3 kB / 1.021 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/1.413, allocations: 34.67 kB / 1.021 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006227/1.414, allocations: 250 kB / 1.022 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/1.414, allocations: 0.7007 MB / 1.022 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004466/1.414, allocations: 68.73 kB / 1.022 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/1.415, allocations: 41.45 kB / 1.022 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of SimCode: time 7.02e-07/1.415, allocations: 0 / 1.022 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02969/1.444, allocations: 17.22 MB / 1.039 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001326/1.444, allocations: 143.6 kB / 1.039 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.034/3.478, allocations: 0 / 1.039 GB, free: 108.2 MB / 0.5261 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