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.001352/0.001352, allocations: 196.1 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.251/1.251, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000838/0.0008381, allocations: 85.73 kB / 292.1 MB, free: 5.922 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1852/0.1852, allocations: 45.16 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.726e-05/2.729e-05, allocations: 4 kB / 460.5 MB, free: 69.94 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.103, allocations: 63.25 MB / 0.5115 GB, free: 6.711 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.91/11.01, allocations: 5.759 GB / 6.27 GB, free: 23.34 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001681/11.01, allocations: 71.7 kB / 6.27 GB, free: 23.3 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.03/13.04, allocations: 0.5188 GB / 6.789 GB, free: 112.6 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.282e-06/13.04, allocations: 0 / 6.789 GB, free: 112.6 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 5.28e-06/13.04, allocations: 3.875 kB / 6.789 GB, free: 112.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.008153/13.05, allocations: 0.6443 MB / 6.79 GB, free: 112.2 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/13.05, allocations: 11.66 kB / 6.79 GB, free: 112.2 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.396e-05/13.05, allocations: 38.33 kB / 6.79 GB, free: 112.2 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/13.05, allocations: 14.95 kB / 6.79 GB, free: 112.2 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.4e-05/13.05, allocations: 163 kB / 6.79 GB, free: 112 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/13.05, allocations: 3.812 kB / 6.79 GB, free: 112 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-06/13.05, allocations: 7.5 kB / 6.79 GB, free: 112 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/13.05, allocations: 75.25 kB / 6.79 GB, free: 112 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/13.05, allocations: 0 / 6.79 GB, free: 112 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/13.05, allocations: 3.938 kB / 6.79 GB, free: 112 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/13.05, allocations: 3.953 kB / 6.79 GB, free: 112 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.703e-05/13.05, allocations: 71.47 kB / 6.79 GB, free: 112 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003331/13.05, allocations: 321.4 kB / 6.791 GB, free: 111.7 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 5.692e-05/13.05, allocations: 50.78 kB / 6.791 GB, free: 111.7 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.152e-05/13.05, allocations: 37.52 kB / 6.791 GB, free: 111.6 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003165/13.05, allocations: 2.704 MB / 6.793 GB, free: 109.7 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/13.05, allocations: 35.56 kB / 6.793 GB, free: 109.7 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/13.05, allocations: 0 / 6.793 GB, free: 109.7 MB / 0.5574 GB Notification: Performance of matching and sorting (n=9): time 0.0001871/13.05, allocations: 80.56 kB / 6.793 GB, free: 109.6 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.787e-05/13.05, allocations: 57.2 kB / 6.793 GB, free: 109.6 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.081e-05/13.05, allocations: 85.09 kB / 6.794 GB, free: 109.5 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 7.554e-06/13.05, allocations: 29.73 kB / 6.794 GB, free: 109.5 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 2.099e-05/13.05, allocations: 90.34 kB / 6.794 GB, free: 109.4 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/13.05, allocations: 29.17 kB / 6.794 GB, free: 109.4 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/13.05, allocations: 1.375 kB / 6.794 GB, free: 109.4 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 3.425e-05/13.05, allocations: 317.4 kB / 6.794 GB, free: 109 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.843e-05/13.05, allocations: 20.62 kB / 6.794 GB, free: 109 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.609e-05/13.05, allocations: 39.23 kB / 6.794 GB, free: 109 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.599e-05/13.05, allocations: 24.78 kB / 6.794 GB, free: 109 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/13.05, allocations: 0 / 6.794 GB, free: 109 MB / 0.5574 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001226/13.05, allocations: 101.6 kB / 6.794 GB, free: 109 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/13.05, allocations: 4.531 kB / 6.794 GB, free: 109 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/13.05, allocations: 3.125 kB / 6.794 GB, free: 109 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/13.05, allocations: 0 / 6.794 GB, free: 109 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.982e-05/13.05, allocations: 7.031 kB / 6.794 GB, free: 109 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/13.05, allocations: 6.828 kB / 6.794 GB, free: 109 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.839e-05/13.05, allocations: 8.031 kB / 6.794 GB, free: 109 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/13.05, allocations: 3.281 kB / 6.794 GB, free: 109 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 () * 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 3.67e-05/13.05, allocations: 108.3 kB / 6.794 GB, free: 108.9 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/13.05, allocations: 7.141 kB / 6.794 GB, free: 108.9 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001954/13.05, allocations: 153.7 kB / 6.794 GB, free: 108.8 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.726e-05/13.05, allocations: 114.9 kB / 6.795 GB, free: 108.8 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/13.05, allocations: 0 / 6.795 GB, free: 108.8 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/13.05, allocations: 0 / 6.795 GB, free: 108.8 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/13.05, allocations: 440.7 kB / 6.795 GB, free: 108.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/13.05, allocations: 0 / 6.795 GB, free: 108.5 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.838e-05/13.05, allocations: 17.95 kB / 6.795 GB, free: 108.5 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/13.05, allocations: 0 / 6.795 GB, free: 108.5 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/13.05, allocations: 2.438 kB / 6.795 GB, free: 108.5 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/13.05, allocations: 0 / 6.795 GB, free: 108.5 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/13.05, allocations: 0 / 6.795 GB, free: 108.5 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/13.05, allocations: 229.2 kB / 6.795 GB, free: 108.3 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 1.907e-05/13.05, allocations: 86.92 kB / 6.795 GB, free: 108.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/13.05, allocations: 7.406 kB / 6.795 GB, free: 108.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.114e-05/13.05, allocations: 0 / 6.795 GB, free: 108.2 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.345e-05/13.05, allocations: 3.938 kB / 6.795 GB, free: 108.2 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.403e-06/13.05, allocations: 7.875 kB / 6.795 GB, free: 108.2 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 1.257e-05/13.06, allocations: 78.47 kB / 6.795 GB, free: 108.2 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.1e-07/13.06, allocations: 4.094 kB / 6.795 GB, free: 108.2 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.004295/13.06, allocations: 395.2 kB / 6.796 GB, free: 108.1 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 () * 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.04042/13.1, allocations: 8.945 MB / 6.805 GB, free: 103.4 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.000233/13.1, allocations: 111.2 kB / 6.805 GB, free: 103.3 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/13.1, allocations: 3.281 kB / 6.805 GB, free: 103.3 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 5.193e-05/13.1, allocations: 49.45 kB / 6.805 GB, free: 103.3 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/13.1, allocations: 34.25 kB / 6.805 GB, free: 103.3 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003868/13.1, allocations: 352.2 kB / 6.805 GB, free: 103.1 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.921e-05/13.1, allocations: 0.6928 MB / 6.806 GB, free: 102.4 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 5.869e-05/13.1, allocations: 15.73 kB / 6.806 GB, free: 102.4 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.36e-05/13.1, allocations: 31.19 kB / 6.806 GB, free: 102.4 MB / 0.5574 GB Notification: Performance of SimCode: time 3.51e-07/13.1, allocations: 3.719 kB / 6.806 GB, free: 102.4 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03123/13.14, allocations: 21.33 MB / 6.827 GB, free: 94.71 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001409/13.14, allocations: 156.1 kB / 6.827 GB, free: 94.48 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.258/15.39, allocations: 0 / 6.827 GB, free: 94.48 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