Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.R134a_setState_pTX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001997/0.001996, allocations: 198.4 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.669/1.669, allocations: 227.2 MB / 245 MB, free: 5.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001395/0.001394, allocations: 97.3 kB / 297.2 MB, free: 5.984 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5741/0.5741, allocations: 45.23 MB / 394.7 MB, free: 31.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004258/0.000426, allocations: 8.219 kB / 468.5 MB, free: 7.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.531/0.5315, allocations: 63.25 MB / 0.5193 GB, free: 37.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.58/14.11, allocations: 5.759 GB / 6.278 GB, free: 28.68 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/14.11, allocations: 78.89 kB / 6.278 GB, free: 28.61 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.909/17.02, allocations: 0.519 GB / 6.797 GB, free: 104.6 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.184e-06/17.02, allocations: 0 / 6.797 GB, free: 104.6 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 6.212e-06/17.02, allocations: 0 / 6.797 GB, free: 104.6 MB / 0.5574 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.01526/17.03, allocations: 0.6457 MB / 6.798 GB, free: 104.2 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/17.03, allocations: 9.625 kB / 6.798 GB, free: 104.2 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.201e-05/17.03, allocations: 41.67 kB / 6.798 GB, free: 104.1 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/17.03, allocations: 10.73 kB / 6.798 GB, free: 104.1 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.669e-05/17.03, allocations: 165.7 kB / 6.798 GB, free: 103.9 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/17.03, allocations: 3.938 kB / 6.798 GB, free: 103.9 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/17.03, allocations: 6.922 kB / 6.798 GB, free: 103.9 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/17.03, allocations: 83.59 kB / 6.798 GB, free: 103.9 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/17.03, allocations: 2.688 kB / 6.798 GB, free: 103.9 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/17.03, allocations: 0 / 6.798 GB, free: 103.9 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/17.03, allocations: 12.14 kB / 6.798 GB, free: 103.9 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/17.03, allocations: 71.16 kB / 6.798 GB, free: 103.9 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000399/17.03, allocations: 321.7 kB / 6.799 GB, free: 103.6 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 7.491e-05/17.03, allocations: 48.58 kB / 6.799 GB, free: 103.6 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003696/17.04, allocations: 2.633 MB / 6.801 GB, free: 101.7 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/17.04, allocations: 37.88 kB / 6.801 GB, free: 101.6 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/17.04, allocations: 0 / 6.801 GB, free: 101.6 MB / 0.5574 GB Notification: Performance of matching and sorting (n=9): time 0.0002893/17.04, allocations: 188.5 kB / 6.801 GB, free: 101.5 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.318e-05/17.04, allocations: 55.02 kB / 6.802 GB, free: 101.4 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.317e-05/17.04, allocations: 88.28 kB / 6.802 GB, free: 101.4 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/17.04, allocations: 25.7 kB / 6.802 GB, free: 101.3 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 3.239e-05/17.04, allocations: 90.84 kB / 6.802 GB, free: 101.2 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/17.04, allocations: 33.3 kB / 6.802 GB, free: 101.2 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-06/17.04, allocations: 128 / 6.802 GB, free: 101.2 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 6.393e-05/17.04, allocations: 321.9 kB / 6.802 GB, free: 100.9 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.183e-05/17.04, allocations: 23.3 kB / 6.802 GB, free: 100.9 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.957e-05/17.04, allocations: 33.58 kB / 6.802 GB, free: 100.9 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.882e-05/17.04, allocations: 24.56 kB / 6.802 GB, free: 100.9 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/17.04, allocations: 3.219 kB / 6.802 GB, free: 100.9 MB / 0.5574 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001434/17.04, allocations: 88.48 kB / 6.802 GB, free: 100.9 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/17.04, allocations: 10.05 kB / 6.802 GB, free: 100.9 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/17.04, allocations: 4.031 kB / 6.802 GB, free: 100.9 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/17.04, allocations: 0 / 6.802 GB, free: 100.9 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.409e-05/17.04, allocations: 11.34 kB / 6.802 GB, free: 100.9 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/17.04, allocations: 0 / 6.802 GB, free: 100.9 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.209e-05/17.04, allocations: 8.266 kB / 6.802 GB, free: 100.8 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/17.04, allocations: 3.188 kB / 6.802 GB, free: 100.8 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.531e-05/17.04, allocations: 116.7 kB / 6.802 GB, free: 100.7 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.03e-05/17.04, allocations: 7.234 kB / 6.802 GB, free: 100.7 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/17.04, allocations: 148 kB / 6.803 GB, free: 100.7 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000122/17.04, allocations: 123.9 kB / 6.803 GB, free: 100.6 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/17.04, allocations: 0 / 6.803 GB, free: 100.6 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/17.04, allocations: 0 / 6.803 GB, free: 100.6 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003824/17.04, allocations: 431.6 kB / 6.803 GB, free: 100.3 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/17.04, allocations: 0 / 6.803 GB, free: 100.3 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.25e-05/17.04, allocations: 24.94 kB / 6.803 GB, free: 100.3 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/17.04, allocations: 2.594 kB / 6.803 GB, free: 100.3 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/17.04, allocations: 3.938 kB / 6.803 GB, free: 100.3 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/17.04, allocations: 0 / 6.803 GB, free: 100.3 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/17.04, allocations: 3.938 kB / 6.803 GB, free: 100.3 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/17.04, allocations: 225.4 kB / 6.803 GB, free: 100.2 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 3.005e-05/17.04, allocations: 90.14 kB / 6.803 GB, free: 100.1 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/17.04, allocations: 6.922 kB / 6.803 GB, free: 100.1 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.446e-05/17.04, allocations: 7.188 kB / 6.803 GB, free: 100.1 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.766e-05/17.04, allocations: 6.703 kB / 6.803 GB, free: 100.1 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/17.04, allocations: 3.219 kB / 6.803 GB, free: 100.1 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 2.015e-05/17.04, allocations: 79.16 kB / 6.804 GB, free: 100 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.1e-07/17.04, allocations: 0 / 6.804 GB, free: 100 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.008628/17.05, allocations: 398.2 kB / 6.804 GB, free: 99.95 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.05379/17.1, allocations: 8.926 MB / 6.813 GB, free: 95.21 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0003157/17.1, allocations: 115.3 kB / 6.813 GB, free: 95.17 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/17.1, allocations: 4 kB / 6.813 GB, free: 95.16 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 5.987e-05/17.1, allocations: 48.53 kB / 6.813 GB, free: 95.16 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/17.1, allocations: 37.41 kB / 6.813 GB, free: 95.16 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008829/17.11, allocations: 482.7 kB / 6.813 GB, free: 94.9 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/17.11, allocations: 0.6914 MB / 6.814 GB, free: 94.21 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 9.46e-05/17.11, allocations: 19.75 kB / 6.814 GB, free: 94.2 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.75e-05/17.11, allocations: 32.33 kB / 6.814 GB, free: 94.19 MB / 0.5574 GB Notification: Performance of SimCode: time 1.112e-06/17.11, allocations: 0 / 6.814 GB, free: 94.19 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04694/17.16, allocations: 20.74 MB / 6.834 GB, free: 91.7 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/17.16, allocations: 176.4 kB / 6.834 GB, free: 91.46 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.629/19.79, allocations: 4 kB / 6.834 GB, free: 91.46 MB / 0.5574 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat does not exist to compare? outputFormat=mat