Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 184.5 kB / 18.09 MB, free: 3.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 223.3 MB / 242.1 MB, free: 9.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008026/0.0008029, allocations: 89.05 kB / 293.3 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3404/0.3404, allocations: 44.15 MB / 388.5 MB, free: 38.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003773, allocations: 15.98 kB / 461.1 MB, free: 1.289 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3379, allocations: 61.87 MB / 0.5107 GB, free: 37.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.104/5.442, allocations: 2.806 GB / 3.317 GB, free: 48.24 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/5.442, allocations: 91.94 kB / 3.317 GB, free: 48.15 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7191/6.161, allocations: 238.8 MB / 3.55 GB, free: 24.57 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.234e-06/6.161, allocations: 0 / 3.55 GB, free: 24.57 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.825e-05/6.161, allocations: 15.98 kB / 3.55 GB, free: 24.55 MB / 0.5261 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.00515/6.167, allocations: 1.36 MB / 3.551 GB, free: 23.14 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/6.167, allocations: 11.97 kB / 3.551 GB, free: 23.13 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001977/6.169, allocations: 256 kB / 3.552 GB, free: 22.88 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006921/6.169, allocations: 424.9 kB / 3.552 GB, free: 22.43 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.405e-05/6.169, allocations: 33.94 kB / 3.552 GB, free: 22.39 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.502e-05/6.169, allocations: 32 kB / 3.552 GB, free: 22.36 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/6.171, allocations: 0.6851 MB / 3.553 GB, free: 21.63 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/6.171, allocations: 4 kB / 3.553 GB, free: 21.63 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.535e-05/6.171, allocations: 16 kB / 3.553 GB, free: 21.61 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/6.171, allocations: 12 kB / 3.553 GB, free: 21.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/6.173, allocations: 0.6464 MB / 3.553 GB, free: 20.95 MB / 0.5261 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.002698/6.176, allocations: 2.838 MB / 3.556 GB, free: 17.86 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/6.177, allocations: 0.5258 MB / 3.557 GB, free: 17.32 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000485/6.178, allocations: 212.7 kB / 3.557 GB, free: 17.11 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3153/6.493, allocations: 24.19 MB / 3.581 GB, free: 70.07 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/6.493, allocations: 40.42 kB / 3.581 GB, free: 70.03 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=27): time 3.486e-06/6.493, allocations: 0 / 3.581 GB, free: 70.03 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27): time 0.00295/6.496, allocations: 0.9013 MB / 3.581 GB, free: 69.99 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/6.496, allocations: 106.7 kB / 3.582 GB, free: 69.87 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004109/6.496, allocations: 375.1 kB / 3.582 GB, free: 69.76 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/6.496, allocations: 36.2 kB / 3.582 GB, free: 69.73 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/6.497, allocations: 230.2 kB / 3.582 GB, free: 69.64 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.176e-05/6.497, allocations: 94.14 kB / 3.582 GB, free: 69.59 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.866e-05/6.497, allocations: 5.125 kB / 3.582 GB, free: 69.59 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.611e-05/6.497, allocations: 346.3 kB / 3.583 GB, free: 69.28 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004718/6.497, allocations: 179.2 kB / 3.583 GB, free: 69.27 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005184/6.498, allocations: 281.3 kB / 3.583 GB, free: 69.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/6.499, allocations: 443.8 kB / 3.583 GB, free: 69.06 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/6.499, allocations: 1.719 kB / 3.583 GB, free: 69.06 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001276/6.5, allocations: 0.5221 MB / 3.584 GB, free: 69 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.482e-05/6.5, allocations: 160.4 kB / 3.584 GB, free: 68.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/6.5, allocations: 10.55 kB / 3.584 GB, free: 68.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/6.5, allocations: 3.688 kB / 3.584 GB, free: 68.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004164/6.501, allocations: 113.6 kB / 3.584 GB, free: 68.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/6.501, allocations: 4.375 kB / 3.584 GB, free: 68.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004583/6.501, allocations: 91.73 kB / 3.584 GB, free: 68.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/6.501, allocations: 14.5 kB / 3.584 GB, free: 68.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.288e-06/6.501, allocations: 9.281 kB / 3.584 GB, free: 68.82 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001081/6.502, allocations: 459.8 kB / 3.585 GB, free: 68.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/6.502, allocations: 2.875 kB / 3.585 GB, free: 68.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.508e-06/6.502, allocations: 2.875 kB / 3.585 GB, free: 68.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003878/6.503, allocations: 110.7 kB / 3.585 GB, free: 68.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/6.503, allocations: 6.656 kB / 3.585 GB, free: 68.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004022/6.503, allocations: 84.09 kB / 3.585 GB, free: 68.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/6.503, allocations: 18.42 kB / 3.585 GB, free: 68.8 MB / 0.5261 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.0002331/6.503, allocations: 243.4 kB / 3.585 GB, free: 68.61 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.823e-05/6.503, allocations: 43.81 kB / 3.585 GB, free: 68.59 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002253/6.506, allocations: 2 MB / 3.587 GB, free: 68.39 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.177e-05/6.506, allocations: 27.91 kB / 3.587 GB, free: 68.39 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/6.506, allocations: 0 / 3.587 GB, free: 68.39 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/6.506, allocations: 5.266 kB / 3.587 GB, free: 68.39 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009122/6.507, allocations: 1.052 MB / 3.588 GB, free: 68.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/6.507, allocations: 0 / 3.588 GB, free: 68.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003617/6.507, allocations: 96.67 kB / 3.588 GB, free: 68.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/6.507, allocations: 6.344 kB / 3.588 GB, free: 68.16 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/6.507, allocations: 9.906 kB / 3.588 GB, free: 68.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/6.507, allocations: 2.562 kB / 3.588 GB, free: 68.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/6.507, allocations: 2.422 kB / 3.588 GB, free: 68.16 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/6.509, allocations: 1.163 MB / 3.59 GB, free: 67.91 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002541/6.509, allocations: 264.9 kB / 3.59 GB, free: 67.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.561e-05/6.509, allocations: 14.09 kB / 3.59 GB, free: 67.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003841/6.509, allocations: 61.84 kB / 3.59 GB, free: 67.77 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.888e-05/6.509, allocations: 31.36 kB / 3.59 GB, free: 67.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/6.509, allocations: 17.52 kB / 3.59 GB, free: 67.77 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003531/6.51, allocations: 370.1 kB / 3.59 GB, free: 67.68 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/6.51, allocations: 0 / 3.59 GB, free: 67.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005191/6.515, allocations: 1.168 MB / 3.591 GB, free: 67.68 MB / 0.5261 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.007032/6.522, allocations: 1.433 MB / 3.593 GB, free: 67.58 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002164/6.524, allocations: 0.9156 MB / 3.594 GB, free: 67.57 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/6.524, allocations: 3.625 kB / 3.594 GB, free: 67.57 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007711/6.525, allocations: 0.5442 MB / 3.594 GB, free: 67.56 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/6.526, allocations: 231.2 kB / 3.594 GB, free: 67.55 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/6.529, allocations: 1.993 MB / 3.596 GB, free: 66.67 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/6.529, allocations: 0.985 MB / 3.597 GB, free: 65.97 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008688/6.53, allocations: 0.5342 MB / 3.598 GB, free: 65.96 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/6.53, allocations: 46.94 kB / 3.598 GB, free: 65.95 MB / 0.5261 GB Notification: Performance of SimCode: time 8.22e-07/6.53, allocations: 0 / 3.598 GB, free: 65.95 MB / 0.5261 GB Notification: Performance of Templates: time 0.04878/6.579, allocations: 35.23 MB / 3.632 GB, free: 65.3 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches