Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.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: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009586/0.0009586, allocations: 203.8 kB / 18.11 MB, free: 3.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 226.5 MB / 245.4 MB, free: 6.453 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007551/0.0007551, allocations: 96.03 kB / 297.5 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3392/0.3392, allocations: 44.82 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002874/0.0002874, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3381, allocations: 62.96 MB / 0.5184 GB, free: 37.65 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.992/7.33, allocations: 2.807 GB / 3.325 GB, free: 173.7 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/7.33, allocations: 95.17 kB / 3.325 GB, free: 173.7 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.8068/8.137, allocations: 238.8 MB / 3.559 GB, free: 99.46 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.475e-06/8.137, allocations: 3.125 kB / 3.559 GB, free: 99.46 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.397e-05/8.137, allocations: 16.59 kB / 3.559 GB, free: 99.46 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.006524/8.144, allocations: 1.363 MB / 3.56 GB, free: 98.69 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/8.144, allocations: 10.16 kB / 3.56 GB, free: 98.69 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002351/8.146, allocations: 259.8 kB / 3.56 GB, free: 98.64 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/8.147, allocations: 426.7 kB / 3.561 GB, free: 98.33 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.3e-05/8.147, allocations: 29.19 kB / 3.561 GB, free: 98.32 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-05/8.147, allocations: 33.75 kB / 3.561 GB, free: 98.3 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/8.149, allocations: 0.6797 MB / 3.561 GB, free: 98.01 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/8.149, allocations: 3.312 kB / 3.561 GB, free: 98.01 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.704e-05/8.149, allocations: 19.12 kB / 3.561 GB, free: 98 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/8.149, allocations: 14.39 kB / 3.561 GB, free: 98 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/8.151, allocations: 0.6445 MB / 3.562 GB, free: 97.86 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003887/8.155, allocations: 2.838 MB / 3.565 GB, free: 95.52 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/8.157, allocations: 0.5217 MB / 3.565 GB, free: 95.4 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005289/8.158, allocations: 215.3 kB / 3.566 GB, free: 95.34 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04368/8.201, allocations: 26.77 MB / 3.592 GB, free: 77.49 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/8.201, allocations: 38.16 kB / 3.592 GB, free: 77.45 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=27): time 3.296e-06/8.201, allocations: 0 / 3.592 GB, free: 77.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=27): time 0.003427/8.205, allocations: 0.8953 MB / 3.593 GB, free: 77.23 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/8.205, allocations: 107.7 kB / 3.593 GB, free: 77.11 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004808/8.205, allocations: 376.6 kB / 3.593 GB, free: 76.92 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.225e-05/8.205, allocations: 40.83 kB / 3.593 GB, free: 76.88 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/8.206, allocations: 219.5 kB / 3.593 GB, free: 76.7 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/8.206, allocations: 96.64 kB / 3.593 GB, free: 76.62 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/8.206, allocations: 4 kB / 3.593 GB, free: 76.62 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.627e-05/8.206, allocations: 351.6 kB / 3.594 GB, free: 76.29 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005266/8.206, allocations: 182.8 kB / 3.594 GB, free: 76.25 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005492/8.207, allocations: 288.4 kB / 3.594 GB, free: 76.07 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009812/8.208, allocations: 436.3 kB / 3.595 GB, free: 75.88 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/8.208, allocations: 0 / 3.595 GB, free: 75.88 MB / 0.5417 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001286/8.209, allocations: 0.5188 MB / 3.595 GB, free: 75.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.533e-05/8.209, allocations: 173.3 kB / 3.595 GB, free: 75.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/8.209, allocations: 3.75 kB / 3.595 GB, free: 75.51 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/8.209, allocations: 3.938 kB / 3.595 GB, free: 75.51 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004963/8.21, allocations: 112.8 kB / 3.595 GB, free: 75.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/8.21, allocations: 3.906 kB / 3.595 GB, free: 75.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005564/8.21, allocations: 85.67 kB / 3.595 GB, free: 75.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.799e-05/8.211, allocations: 21.48 kB / 3.595 GB, free: 75.47 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/8.211, allocations: 6.406 kB / 3.595 GB, free: 75.47 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001144/8.212, allocations: 464.1 kB / 3.596 GB, free: 75.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/8.212, allocations: 3.938 kB / 3.596 GB, free: 75.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.322e-06/8.212, allocations: 7.438 kB / 3.596 GB, free: 75.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003996/8.212, allocations: 113.4 kB / 3.596 GB, free: 75.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/8.212, allocations: 6.812 kB / 3.596 GB, free: 75.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004801/8.213, allocations: 78.81 kB / 3.596 GB, free: 75.31 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/8.213, allocations: 19.39 kB / 3.596 GB, free: 75.3 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.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 (39): * Single equations (assignments): 39 * 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.0002609/8.213, allocations: 239.2 kB / 3.596 GB, free: 75.09 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.194e-05/8.213, allocations: 46.72 kB / 3.596 GB, free: 75.06 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002487/8.216, allocations: 2.003 MB / 3.598 GB, free: 74.16 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-05/8.216, allocations: 29.22 kB / 3.598 GB, free: 74.16 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/8.216, allocations: 0 / 3.598 GB, free: 74.16 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/8.216, allocations: 2.75 kB / 3.598 GB, free: 74.16 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/8.217, allocations: 1.041 MB / 3.599 GB, free: 73.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/8.217, allocations: 3.5 kB / 3.599 GB, free: 73.57 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003805/8.217, allocations: 97.11 kB / 3.6 GB, free: 73.56 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/8.217, allocations: 7.875 kB / 3.6 GB, free: 73.55 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/8.217, allocations: 9.75 kB / 3.6 GB, free: 73.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/8.217, allocations: 3.844 kB / 3.6 GB, free: 73.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/8.217, allocations: 0 / 3.6 GB, free: 73.55 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/8.219, allocations: 1.161 MB / 3.601 GB, free: 73 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003067/8.219, allocations: 271.9 kB / 3.601 GB, free: 72.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.694e-05/8.219, allocations: 7.219 kB / 3.601 GB, free: 72.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004405/8.22, allocations: 65.03 kB / 3.601 GB, free: 72.78 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.56e-05/8.22, allocations: 33.81 kB / 3.601 GB, free: 72.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/8.22, allocations: 11.81 kB / 3.601 GB, free: 72.77 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004183/8.22, allocations: 372.8 kB / 3.601 GB, free: 72.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/8.22, allocations: 0 / 3.601 GB, free: 72.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005798/8.226, allocations: 1.18 MB / 3.603 GB, free: 72.36 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.008929/8.235, allocations: 1.439 MB / 3.604 GB, free: 72.05 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002352/8.237, allocations: 0.9195 MB / 3.605 GB, free: 71.77 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/8.237, allocations: 0 / 3.605 GB, free: 71.77 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0008594/8.238, allocations: 0.5506 MB / 3.605 GB, free: 71.53 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/8.24, allocations: 227.8 kB / 3.606 GB, free: 71.48 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/8.242, allocations: 1.988 MB / 3.608 GB, free: 70.34 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/8.243, allocations: 0.9807 MB / 3.609 GB, free: 69.64 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007914/8.243, allocations: 0.5472 MB / 3.609 GB, free: 69.61 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/8.244, allocations: 46.23 kB / 3.609 GB, free: 69.6 MB / 0.5417 GB Notification: Performance of SimCode: time 4.51e-07/8.244, allocations: 0 / 3.609 GB, free: 69.6 MB / 0.5417 GB Notification: Performance of Templates: time 0.05266/8.296, allocations: 35.29 MB / 3.644 GB, free: 67.11 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveVaporizing/TestValveVaporizing.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches