Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.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.Fluid.TestComponents.Valves.TestValveIncompressible,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveIncompressible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveIncompressible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001487/0.001487, allocations: 202.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 227.2 MB / 245 MB, free: 7.625 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009923/0.0009917, allocations: 103.9 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3576/0.3576, allocations: 45.23 MB / 394.6 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000277/0.000277, allocations: 8 kB / 468.5 MB, free: 7.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3793, allocations: 63.24 MB / 0.5193 GB, free: 43.57 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.608/6.988, allocations: 2.778 GB / 3.298 GB, free: 148.9 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/6.988, allocations: 92.89 kB / 3.298 GB, free: 148.9 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2/8.988, allocations: 0.5092 GB / 3.807 GB, free: 50.84 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.908e-06/8.988, allocations: 2.75 kB / 3.807 GB, free: 50.84 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001519/8.988, allocations: 27.7 kB / 3.807 GB, free: 50.84 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.01145/8.999, allocations: 2.183 MB / 3.809 GB, free: 49.78 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.218e-05/9, allocations: 11.84 kB / 3.809 GB, free: 49.78 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007638/9, allocations: 143 kB / 3.809 GB, free: 49.74 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006314/9.007, allocations: 0.7142 MB / 3.81 GB, free: 49.68 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0025/9.009, allocations: 0.817 MB / 3.811 GB, free: 49.38 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/9.009, allocations: 76.62 kB / 3.811 GB, free: 49.38 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002952/9.01, allocations: 88.19 kB / 3.811 GB, free: 49.38 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005002/9.015, allocations: 1.749 MB / 3.813 GB, free: 49.04 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.43e-05/9.015, allocations: 11.7 kB / 3.813 GB, free: 49.04 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002049/9.015, allocations: 44.09 kB / 3.813 GB, free: 49.04 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.944e-05/9.015, allocations: 27.45 kB / 3.813 GB, free: 49.04 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004454/9.019, allocations: 1.648 MB / 3.814 GB, free: 49.03 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01086/9.03, allocations: 7.562 MB / 3.822 GB, free: 44 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004096/9.034, allocations: 1.296 MB / 3.823 GB, free: 43.97 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04397/9.078, allocations: 26.74 MB / 3.849 GB, free: 25.98 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.454e-05/9.079, allocations: 42.69 kB / 3.849 GB, free: 25.94 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=67): time 3.096e-06/9.079, allocations: 4 kB / 3.849 GB, free: 25.93 MB / 0.5417 GB Notification: Performance of matching and sorting (n=67): time 0.008389/9.087, allocations: 2.227 MB / 3.851 GB, free: 25.41 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/9.087, allocations: 213.1 kB / 3.851 GB, free: 25.15 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/9.089, allocations: 0.7394 MB / 3.852 GB, free: 24.82 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001894/9.089, allocations: 37.45 kB / 3.852 GB, free: 24.79 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000468/9.09, allocations: 474.4 kB / 3.853 GB, free: 24.41 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003212/9.09, allocations: 231.7 kB / 3.853 GB, free: 24.24 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-05/9.09, allocations: 19.59 kB / 3.853 GB, free: 24.22 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001134/9.09, allocations: 344.9 kB / 3.853 GB, free: 23.9 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009935/9.091, allocations: 392.9 kB / 3.854 GB, free: 23.79 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/9.092, allocations: 0.6884 MB / 3.854 GB, free: 23.3 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/9.093, allocations: 450.9 kB / 3.855 GB, free: 23.14 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/9.093, allocations: 3.344 kB / 3.855 GB, free: 23.14 MB / 0.5417 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00281/9.096, allocations: 1.185 MB / 3.856 GB, free: 22.72 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008127/9.097, allocations: 3.232 MB / 3.859 GB, free: 19.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/9.097, allocations: 7.281 kB / 3.859 GB, free: 19.26 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.794e-05/9.097, allocations: 15.03 kB / 3.859 GB, free: 19.26 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009397/9.098, allocations: 272.4 kB / 3.859 GB, free: 19.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.422e-05/9.098, allocations: 26.56 kB / 3.859 GB, free: 19.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/9.099, allocations: 191.6 kB / 3.859 GB, free: 19.14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/9.1, allocations: 48.94 kB / 3.86 GB, free: 19.13 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/9.1, allocations: 4.094 kB / 3.86 GB, free: 19.13 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002331/9.102, allocations: 1.055 MB / 3.861 GB, free: 18.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/9.102, allocations: 14 kB / 3.861 GB, free: 18.78 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/9.102, allocations: 13 kB / 3.861 GB, free: 18.78 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008818/9.103, allocations: 274.1 kB / 3.861 GB, free: 18.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.223e-05/9.103, allocations: 20.34 kB / 3.861 GB, free: 18.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/9.104, allocations: 174.9 kB / 3.861 GB, free: 18.67 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/9.104, allocations: 49.41 kB / 3.861 GB, free: 18.66 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 12 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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.001599/9.106, allocations: 334.4 kB / 3.861 GB, free: 34.39 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002918/9.106, allocations: 111.3 kB / 3.861 GB, free: 34.33 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006209/9.112, allocations: 5.123 MB / 3.867 GB, free: 31.97 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.017e-05/9.112, allocations: 64.66 kB / 3.867 GB, free: 31.96 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/9.112, allocations: 0 / 3.867 GB, free: 31.96 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/9.112, allocations: 3.75 kB / 3.867 GB, free: 31.96 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003192/9.116, allocations: 2.502 MB / 3.869 GB, free: 30.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.44e-05/9.116, allocations: 0 / 3.869 GB, free: 30.74 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008212/9.117, allocations: 238.9 kB / 3.869 GB, free: 30.71 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-05/9.117, allocations: 7.391 kB / 3.869 GB, free: 30.71 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-05/9.117, allocations: 23.12 kB / 3.869 GB, free: 30.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/9.117, allocations: 3.875 kB / 3.869 GB, free: 30.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/9.117, allocations: 0 / 3.869 GB, free: 30.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003434/9.12, allocations: 2.386 MB / 3.872 GB, free: 29.61 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/9.121, allocations: 0.6999 MB / 3.872 GB, free: 29.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004132/9.122, allocations: 26.02 kB / 3.872 GB, free: 29.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/9.123, allocations: 103.6 kB / 3.872 GB, free: 29.11 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002148/9.123, allocations: 88.73 kB / 3.872 GB, free: 29.09 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-05/9.123, allocations: 34.31 kB / 3.873 GB, free: 29.09 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002285/9.126, allocations: 1.19 MB / 3.874 GB, free: 28.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/9.126, allocations: 0 / 3.874 GB, free: 28.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01105/9.137, allocations: 1.63 MB / 3.875 GB, free: 28.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 42 ($cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse26.phase,$cse26.region,$cse30.phase,$cse30.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse40.phase,$cse40.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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.0189/9.156, allocations: 4.62 MB / 3.88 GB, free: 26.34 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006572/9.162, allocations: 2.042 MB / 3.882 GB, free: 25.68 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/9.162, allocations: 4.125 kB / 3.882 GB, free: 25.68 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002426/9.165, allocations: 1.169 MB / 3.883 GB, free: 25.16 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00514/9.17, allocations: 0.6041 MB / 3.884 GB, free: 25 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02254/9.192, allocations: 11.82 MB / 3.895 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/9.194, allocations: 1.574 MB / 3.897 GB, free: 14.85 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.003378/9.197, allocations: 1.589 MB / 3.898 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001373/9.199, allocations: 0.8043 MB / 3.899 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of SimCode: time 1.102e-06/9.199, allocations: 0 / 3.899 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5933/9.792, allocations: 72.51 MB / 3.97 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/9.792, allocations: 236.3 kB / 3.97 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.947/14.74, allocations: 2.656 kB / 3.97 GB, free: 54.44 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveIncompressible_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveIncompressible.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible_res.mat does not exist to compare? outputFormat=mat