Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008757/0.0008757, allocations: 176.9 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007883/0.0007885, allocations: 90.3 kB / 261.7 MB, free: 1.613 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1969/0.1969, allocations: 43.49 MB / 353.2 MB, free: 260 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.52e-05/1.509e-05, allocations: 4 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1067, allocations: 58.85 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.464/6.571, allocations: 2.8 GB / 3.266 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/6.571, allocations: 84.34 kB / 3.266 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.813/7.384, allocations: 234.1 MB / 3.494 GB, free: 76.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.553e-06/7.384, allocations: 0 / 3.494 GB, free: 76.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.644e-05/7.385, allocations: 15.53 kB / 3.494 GB, free: 76.85 MB / 0.4948 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.00727/7.392, allocations: 1.307 MB / 3.496 GB, free: 76.02 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/7.392, allocations: 11.31 kB / 3.496 GB, free: 76.02 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002406/7.394, allocations: 250.5 kB / 3.496 GB, free: 75.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009374/7.395, allocations: 416.1 kB / 3.496 GB, free: 75.68 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.966e-05/7.395, allocations: 23 kB / 3.496 GB, free: 75.68 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-05/7.395, allocations: 19.06 kB / 3.496 GB, free: 75.68 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006536/7.396, allocations: 350 kB / 3.497 GB, free: 75.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006822/7.397, allocations: 429.9 kB / 3.497 GB, free: 75.31 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/7.397, allocations: 3.938 kB / 3.497 GB, free: 75.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.715e-05/7.397, allocations: 0 / 3.497 GB, free: 75.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/7.397, allocations: 10.97 kB / 3.497 GB, free: 75.3 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.01712/7.414, allocations: 10.34 MB / 3.507 GB, free: 68.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005345/7.415, allocations: 253.5 kB / 3.507 GB, free: 68.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/7.415, allocations: 133.7 kB / 3.507 GB, free: 68.24 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04011/7.455, allocations: 24.27 MB / 3.531 GB, free: 52.66 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.9e-05/7.455, allocations: 38.38 kB / 3.531 GB, free: 52.61 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=26): time 3.186e-06/7.455, allocations: 0 / 3.531 GB, free: 52.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=26): time 0.002183/7.457, allocations: 0.5637 MB / 3.532 GB, free: 52.44 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/7.457, allocations: 112.3 kB / 3.532 GB, free: 52.31 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/7.458, allocations: 263.2 kB / 3.532 GB, free: 52.15 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/7.458, allocations: 25.7 kB / 3.532 GB, free: 52.12 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/7.458, allocations: 232.3 kB / 3.532 GB, free: 51.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.553e-05/7.458, allocations: 88.83 kB / 3.532 GB, free: 51.86 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.936e-05/7.458, allocations: 3.906 kB / 3.532 GB, free: 51.86 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.461e-05/7.458, allocations: 348.4 kB / 3.533 GB, free: 51.53 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/7.458, allocations: 97.44 kB / 3.533 GB, free: 51.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/7.458, allocations: 205 kB / 3.533 GB, free: 51.31 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008149/7.459, allocations: 209.2 kB / 3.533 GB, free: 51.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/7.459, allocations: 0 / 3.533 GB, free: 51.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001125/7.46, allocations: 434.7 kB / 3.534 GB, free: 51.08 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002168/7.461, allocations: 1.043 MB / 3.535 GB, free: 49.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/7.461, allocations: 11.7 kB / 3.535 GB, free: 49.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/7.461, allocations: 3.719 kB / 3.535 GB, free: 49.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004505/7.461, allocations: 118 kB / 3.535 GB, free: 49.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/7.461, allocations: 5.609 kB / 3.535 GB, free: 49.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005196/7.462, allocations: 76.19 kB / 3.535 GB, free: 49.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/7.462, allocations: 22.83 kB / 3.535 GB, free: 49.92 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/7.462, allocations: 3.781 kB / 3.535 GB, free: 49.92 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008435/7.462, allocations: 328.5 kB / 3.535 GB, free: 49.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/7.462, allocations: 3.719 kB / 3.535 GB, free: 49.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.901e-06/7.463, allocations: 3.906 kB / 3.535 GB, free: 49.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004105/7.463, allocations: 111.6 kB / 3.535 GB, free: 49.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/7.463, allocations: 4.031 kB / 3.535 GB, free: 49.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004485/7.463, allocations: 73.38 kB / 3.535 GB, free: 49.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/7.463, allocations: 15.03 kB / 3.535 GB, free: 49.78 MB / 0.4948 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 () * 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.0001154/7.464, allocations: 116.7 kB / 3.536 GB, free: 49.66 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.914e-05/7.464, allocations: 42.7 kB / 3.536 GB, free: 49.64 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00194/7.466, allocations: 1.691 MB / 3.537 GB, free: 48.85 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-05/7.466, allocations: 24.95 kB / 3.537 GB, free: 48.84 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/7.466, allocations: 0 / 3.537 GB, free: 48.84 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/7.466, allocations: 3.375 kB / 3.537 GB, free: 48.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000841/7.466, allocations: 0.8853 MB / 3.538 GB, free: 48.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/7.467, allocations: 4 kB / 3.538 GB, free: 48.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003869/7.467, allocations: 89.5 kB / 3.538 GB, free: 48.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.836e-06/7.467, allocations: 11.2 kB / 3.538 GB, free: 48.33 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/7.467, allocations: 7.844 kB / 3.538 GB, free: 48.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/7.467, allocations: 7.781 kB / 3.538 GB, free: 48.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/7.467, allocations: 0 / 3.538 GB, free: 48.32 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/7.468, allocations: 0.9584 MB / 3.539 GB, free: 47.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002516/7.468, allocations: 259.7 kB / 3.539 GB, free: 47.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.455e-05/7.468, allocations: 3.953 kB / 3.539 GB, free: 47.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003788/7.469, allocations: 45.12 kB / 3.539 GB, free: 47.63 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.355e-05/7.469, allocations: 35.33 kB / 3.539 GB, free: 47.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/7.469, allocations: 16.42 kB / 3.539 GB, free: 47.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002569/7.469, allocations: 307.5 kB / 3.54 GB, free: 47.46 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.61e-07/7.469, allocations: 4 kB / 3.54 GB, free: 47.45 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004605/7.474, allocations: 1.144 MB / 3.541 GB, free: 47.22 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.007643/7.482, allocations: 1.491 MB / 3.542 GB, free: 46.81 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001023/7.483, allocations: 0.6445 MB / 3.543 GB, free: 46.51 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/7.483, allocations: 0 / 3.543 GB, free: 46.51 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003845/7.483, allocations: 431.7 kB / 3.543 GB, free: 46.11 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/7.484, allocations: 175.2 kB / 3.544 GB, free: 45.98 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/7.486, allocations: 1.091 MB / 3.545 GB, free: 44.98 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/7.486, allocations: 0.9865 MB / 3.546 GB, free: 44.07 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0007823/7.487, allocations: 0.5601 MB / 3.546 GB, free: 43.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.963e-05/7.487, allocations: 43.09 kB / 3.546 GB, free: 43.69 MB / 0.4948 GB Notification: Performance of SimCode: time 4.31e-07/7.487, allocations: 0 / 3.546 GB, free: 43.69 MB / 0.4948 GB Notification: Performance of Templates: time 0.03568/7.523, allocations: 29.54 MB / 3.575 GB, free: 15.82 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValveVaporizing/TestValveVaporizing.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches