Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009622/0.0009624, allocations: 197.5 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 226.5 MB / 244.1 MB, free: 8.094 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000796/0.000796, allocations: 102.7 kB / 296.1 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4055/0.4055, allocations: 44.83 MB / 393 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002686/0.0002686, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3688, allocations: 62.96 MB / 0.5165 GB, free: 37.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.818/7.187, allocations: 2.807 GB / 3.323 GB, free: 173.3 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/7.187, allocations: 87.77 kB / 3.323 GB, free: 173.3 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.7825/7.97, allocations: 238.9 MB / 3.557 GB, free: 98.83 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.714e-06/7.97, allocations: 4.438 kB / 3.557 GB, free: 98.83 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.648e-05/7.97, allocations: 14 kB / 3.557 GB, free: 98.82 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.006287/7.976, allocations: 1.357 MB / 3.558 GB, free: 98.05 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/7.976, allocations: 8.75 kB / 3.558 GB, free: 98.05 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002353/7.978, allocations: 261.6 kB / 3.558 GB, free: 98.01 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009168/7.979, allocations: 429.5 kB / 3.559 GB, free: 97.69 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.463e-05/7.979, allocations: 29.75 kB / 3.559 GB, free: 97.68 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.818e-05/7.98, allocations: 40.38 kB / 3.559 GB, free: 97.66 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001853/7.981, allocations: 0.6789 MB / 3.559 GB, free: 97.38 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/7.981, allocations: 0 / 3.559 GB, free: 97.38 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.933e-05/7.981, allocations: 15.66 kB / 3.559 GB, free: 97.36 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/7.982, allocations: 7.531 kB / 3.559 GB, free: 97.36 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/7.983, allocations: 0.6568 MB / 3.56 GB, free: 97.22 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.003235/7.987, allocations: 2.841 MB / 3.563 GB, free: 94.89 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/7.988, allocations: 0.523 MB / 3.563 GB, free: 94.76 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00052/7.989, allocations: 214.4 kB / 3.564 GB, free: 94.7 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04192/8.031, allocations: 26.76 MB / 3.59 GB, free: 76.86 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/8.031, allocations: 36.5 kB / 3.59 GB, free: 76.81 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=27): time 2.634e-06/8.031, allocations: 0 / 3.59 GB, free: 76.81 MB / 0.5417 GB Notification: Performance of matching and sorting (n=27): time 0.003313/8.034, allocations: 0.8932 MB / 3.591 GB, free: 76.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/8.034, allocations: 110.6 kB / 3.591 GB, free: 76.47 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005299/8.035, allocations: 376.3 kB / 3.591 GB, free: 76.29 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.088e-05/8.035, allocations: 37.11 kB / 3.591 GB, free: 76.25 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/8.035, allocations: 228.8 kB / 3.591 GB, free: 76.06 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.185e-05/8.035, allocations: 92.58 kB / 3.591 GB, free: 75.98 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/8.035, allocations: 7.688 kB / 3.591 GB, free: 75.98 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.285e-05/8.035, allocations: 348.9 kB / 3.592 GB, free: 75.65 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005295/8.036, allocations: 180.2 kB / 3.592 GB, free: 75.61 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000557/8.036, allocations: 288.7 kB / 3.592 GB, free: 75.44 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/8.037, allocations: 440.3 kB / 3.593 GB, free: 75.24 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/8.037, allocations: 0 / 3.593 GB, free: 75.24 MB / 0.5417 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001328/8.039, allocations: 0.5212 MB / 3.593 GB, free: 75.06 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.553e-05/8.039, allocations: 164.5 kB / 3.593 GB, free: 74.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/8.039, allocations: 3.594 kB / 3.593 GB, free: 74.88 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/8.039, allocations: 3.656 kB / 3.593 GB, free: 74.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004309/8.039, allocations: 113.9 kB / 3.593 GB, free: 74.87 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/8.039, allocations: 7.875 kB / 3.593 GB, free: 74.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005542/8.04, allocations: 89.08 kB / 3.594 GB, free: 74.84 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.094e-05/8.04, allocations: 15.31 kB / 3.594 GB, free: 74.84 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/8.04, allocations: 7.5 kB / 3.594 GB, free: 74.84 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001147/8.041, allocations: 452.2 kB / 3.594 GB, free: 74.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/8.041, allocations: 11.78 kB / 3.594 GB, free: 74.71 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.442e-06/8.041, allocations: 3.844 kB / 3.594 GB, free: 74.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/8.042, allocations: 113.7 kB / 3.594 GB, free: 74.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/8.042, allocations: 7.531 kB / 3.594 GB, free: 74.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005158/8.042, allocations: 87.64 kB / 3.594 GB, free: 74.67 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/8.042, allocations: 14.53 kB / 3.594 GB, free: 74.67 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.0002752/8.042, allocations: 238.5 kB / 3.594 GB, free: 74.45 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/8.043, allocations: 48.44 kB / 3.594 GB, free: 74.42 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00266/8.045, allocations: 2.004 MB / 3.596 GB, free: 73.53 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.621e-05/8.045, allocations: 30.58 kB / 3.596 GB, free: 73.52 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/8.045, allocations: 0 / 3.596 GB, free: 73.52 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/8.045, allocations: 3.25 kB / 3.596 GB, free: 73.52 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/8.046, allocations: 1.044 MB / 3.597 GB, free: 72.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/8.046, allocations: 3 kB / 3.597 GB, free: 72.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003755/8.047, allocations: 96.48 kB / 3.598 GB, free: 72.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/8.047, allocations: 7.625 kB / 3.598 GB, free: 72.93 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/8.047, allocations: 10.66 kB / 3.598 GB, free: 72.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/8.047, allocations: 3.938 kB / 3.598 GB, free: 72.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/8.047, allocations: 0 / 3.598 GB, free: 72.92 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/8.048, allocations: 1.156 MB / 3.599 GB, free: 72.38 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003422/8.049, allocations: 272.2 kB / 3.599 GB, free: 72.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/8.049, allocations: 7.75 kB / 3.599 GB, free: 72.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005102/8.049, allocations: 62.2 kB / 3.599 GB, free: 72.15 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.993e-05/8.05, allocations: 32.53 kB / 3.599 GB, free: 72.14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/8.05, allocations: 18.5 kB / 3.599 GB, free: 72.14 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004383/8.05, allocations: 370.3 kB / 3.599 GB, free: 71.97 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/8.05, allocations: 3.281 kB / 3.599 GB, free: 71.97 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005554/8.056, allocations: 1.172 MB / 3.601 GB, free: 71.73 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.008999/8.065, allocations: 1.449 MB / 3.602 GB, free: 71.42 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00239/8.067, allocations: 0.9194 MB / 3.603 GB, free: 71.14 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/8.067, allocations: 0 / 3.603 GB, free: 71.14 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0008049/8.068, allocations: 0.5515 MB / 3.603 GB, free: 70.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/8.069, allocations: 227.9 kB / 3.604 GB, free: 70.86 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003264/8.073, allocations: 2.019 MB / 3.606 GB, free: 69.68 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006809/8.074, allocations: 0.9805 MB / 3.607 GB, free: 68.98 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/8.074, allocations: 56.42 kB / 3.607 GB, free: 68.97 MB / 0.5417 GB Notification: Performance of SimCode: time 1.873e-06/8.074, allocations: 0 / 3.607 GB, free: 68.97 MB / 0.5417 GB Notification: Performance of Templates: time 0.04242/8.116, allocations: 25.3 MB / 3.631 GB, free: 66.86 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches