Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.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.TestValveCoefficients,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveCoefficients",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveCoefficients",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001814/0.001814, allocations: 198.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.726/1.726, allocations: 227.2 MB / 245 MB, free: 7.648 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001189/0.001189, allocations: 100.5 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5491/0.5491, allocations: 45.23 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000401/0.000401, allocations: 15.94 kB / 468.5 MB, free: 7.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5797/0.5801, allocations: 63.25 MB / 0.5193 GB, free: 43.61 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.98/8.56, allocations: 2.778 GB / 3.298 GB, free: 130.1 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/8.56, allocations: 87.23 kB / 3.298 GB, free: 130.1 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.7/11.26, allocations: 0.6464 GB / 3.944 GB, free: 47.68 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.054e-06/11.26, allocations: 3.938 kB / 3.944 GB, free: 47.68 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001949/11.26, allocations: 45.06 kB / 3.944 GB, free: 47.68 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.01124/11.27, allocations: 2.581 MB / 3.947 GB, free: 46.5 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/11.27, allocations: 10.56 kB / 3.947 GB, free: 46.5 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008049/11.27, allocations: 188.1 kB / 3.947 GB, free: 46.45 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008609/11.28, allocations: 0.9476 MB / 3.948 GB, free: 46.37 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003534/11.29, allocations: 1.007 MB / 3.949 GB, free: 46.05 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002458/11.29, allocations: 99.31 kB / 3.949 GB, free: 46.05 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005199/11.29, allocations: 119.3 kB / 3.949 GB, free: 46.05 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00689/11.29, allocations: 2.28 MB / 3.951 GB, free: 45.61 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.994e-05/11.29, allocations: 13.42 kB / 3.951 GB, free: 45.6 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003519/11.29, allocations: 57.94 kB / 3.951 GB, free: 45.6 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.533e-05/11.29, allocations: 31.19 kB / 3.951 GB, free: 45.6 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005996/11.3, allocations: 2.15 MB / 3.953 GB, free: 45.59 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01302/11.31, allocations: 10.34 MB / 3.964 GB, free: 38.62 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004577/11.32, allocations: 1.655 MB / 3.965 GB, free: 38.59 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04264/11.36, allocations: 26.49 MB / 3.991 GB, free: 20.86 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.925e-05/11.36, allocations: 50.69 kB / 3.991 GB, free: 20.82 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=80): time 2.915e-06/11.36, allocations: 4 kB / 3.991 GB, free: 20.82 MB / 0.5573 GB Notification: Performance of matching and sorting (n=80): time 0.008968/11.37, allocations: 2.731 MB / 3.994 GB, free: 20.66 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.305e-05/11.37, allocations: 275 kB / 3.994 GB, free: 20.35 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002179/11.37, allocations: 1.02 MB / 3.995 GB, free: 20.19 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001937/11.37, allocations: 41.92 kB / 3.995 GB, free: 20.16 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005304/11.37, allocations: 0.6182 MB / 3.996 GB, free: 19.89 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003486/11.37, allocations: 281.1 kB / 3.996 GB, free: 19.72 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.32e-05/11.37, allocations: 28.22 kB / 3.996 GB, free: 19.71 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000112/11.37, allocations: 348.1 kB / 3.996 GB, free: 19.41 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/11.37, allocations: 496.4 kB / 3.997 GB, free: 19.4 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/11.38, allocations: 0.915 MB / 3.998 GB, free: 18.87 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/11.38, allocations: 0.5732 MB / 3.998 GB, free: 18.84 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/11.38, allocations: 3.969 kB / 3.998 GB, free: 18.84 MB / 0.5573 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003497/11.38, allocations: 1.54 MB / 4 GB, free: 18.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00257/11.38, allocations: 4.912 MB / 4.005 GB, free: 29.58 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.198e-05/11.38, allocations: 9.531 kB / 4.005 GB, free: 29.58 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.479e-05/11.38, allocations: 20.78 kB / 4.005 GB, free: 29.58 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/11.38, allocations: 370.5 kB / 4.005 GB, free: 29.57 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-05/11.38, allocations: 26.67 kB / 4.005 GB, free: 29.57 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/11.39, allocations: 267.9 kB / 4.005 GB, free: 29.48 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/11.39, allocations: 74.5 kB / 4.005 GB, free: 29.48 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/11.39, allocations: 3.469 kB / 4.005 GB, free: 29.48 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003044/11.39, allocations: 1.367 MB / 4.007 GB, free: 29.41 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.357e-05/11.39, allocations: 14.28 kB / 4.007 GB, free: 29.41 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/11.39, allocations: 18.62 kB / 4.007 GB, free: 29.41 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/11.39, allocations: 358.7 kB / 4.007 GB, free: 29.38 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.957e-05/11.39, allocations: 27.97 kB / 4.007 GB, free: 29.38 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/11.39, allocations: 243.5 kB / 4.007 GB, free: 29.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/11.39, allocations: 66 kB / 4.007 GB, free: 29.29 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 16 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.medium.phase,V4.state_b.phase,V4.state_a.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 (143): * Single equations (assignments): 143 * 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.0009665/11.39, allocations: 392.1 kB / 4.008 GB, free: 29.08 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004162/11.39, allocations: 143.3 kB / 4.008 GB, free: 29.01 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007556/11.4, allocations: 6.65 MB / 4.014 GB, free: 28.1 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-05/11.4, allocations: 81.88 kB / 4.014 GB, free: 28.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/11.4, allocations: 4 kB / 4.014 GB, free: 28.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/11.4, allocations: 3.844 kB / 4.014 GB, free: 28.1 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004149/11.41, allocations: 3.258 MB / 4.018 GB, free: 27.62 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/11.41, allocations: 0 / 4.018 GB, free: 27.62 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009459/11.41, allocations: 278.5 kB / 4.018 GB, free: 27.61 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.867e-05/11.41, allocations: 3.969 kB / 4.018 GB, free: 27.61 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.68e-05/11.41, allocations: 28.16 kB / 4.018 GB, free: 27.61 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/11.41, allocations: 3.875 kB / 4.018 GB, free: 27.61 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/11.41, allocations: 0 / 4.018 GB, free: 27.61 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004066/11.41, allocations: 2.981 MB / 4.021 GB, free: 27.12 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001434/11.41, allocations: 0.9038 MB / 4.022 GB, free: 26.73 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005247/11.41, allocations: 18.94 kB / 4.022 GB, free: 26.73 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/11.41, allocations: 135.2 kB / 4.022 GB, free: 26.71 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000242/11.41, allocations: 103.7 kB / 4.022 GB, free: 26.71 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.99e-05/11.41, allocations: 39.2 kB / 4.022 GB, free: 26.71 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002678/11.42, allocations: 1.619 MB / 4.024 GB, free: 26.56 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.4e-07/11.42, allocations: 0 / 4.024 GB, free: 26.56 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.008754/11.43, allocations: 1.848 MB / 4.025 GB, free: 26.36 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 56 ($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,$cse44.phase,$cse44.region,$cse47.phase,$cse47.region,$cse48.phase,$cse48.region,$cse50.phase,$cse50.region,$cse51.phase,$cse51.region,$cse54.phase,$cse54.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * 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.01526/11.44, allocations: 5.417 MB / 4.031 GB, free: 24.23 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.005767/11.45, allocations: 2.586 MB / 4.033 GB, free: 23.38 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.036e-06/11.45, allocations: 3.5 kB / 4.033 GB, free: 23.38 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00189/11.45, allocations: 1.467 MB / 4.035 GB, free: 22.71 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004475/11.45, allocations: 0.7948 MB / 4.035 GB, free: 22.51 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01839/11.47, allocations: 16.59 MB / 4.052 GB, free: 9.012 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001745/11.47, allocations: 1.86 MB / 4.053 GB, free: 8.219 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003594/11.48, allocations: 2.119 MB / 4.055 GB, free: 8.121 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001576/11.48, allocations: 1.101 MB / 4.057 GB, free: 7.219 MB / 0.573 GB Notification: Performance of SimCode: time 2.194e-06/11.48, allocations: 0 / 4.057 GB, free: 7.219 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4797/11.96, allocations: 88.61 MB / 4.143 GB, free: 54.27 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/11.96, allocations: 237.2 kB / 4.143 GB, free: 54.04 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.155/18.11, allocations: 1.859 kB / 4.143 GB, free: 54.04 MB / 0.573 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveCoefficients_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveCoefficients.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients_res.mat does not exist to compare? outputFormat=mat