Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_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_3.2.3_cpp_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.001488/0.001488, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.947/1.947, allocations: 205.2 MB / 219.4 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001056/0.001055, allocations: 82.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4228/0.4228, allocations: 43.48 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.375e-05/3.392e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1124, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.32/8.432, allocations: 2.8 GB / 3.273 GB, free: 42.53 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/8.433, allocations: 87.55 kB / 3.273 GB, free: 42.48 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.335/9.768, allocations: 236.9 MB / 3.505 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.064e-06/9.768, allocations: 0 / 3.505 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.019e-05/9.768, allocations: 16 kB / 3.505 GB, free: 24.44 MB / 0.5105 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.006294/9.774, allocations: 1.297 MB / 3.506 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/9.774, allocations: 12.03 kB / 3.506 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002851/9.777, allocations: 259.2 kB / 3.506 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/9.778, allocations: 416.1 kB / 3.506 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.744e-05/9.778, allocations: 32.78 kB / 3.506 GB, free: 22.35 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-05/9.779, allocations: 32 kB / 3.507 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/9.78, allocations: 0.6323 MB / 3.507 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/9.78, allocations: 0 / 3.507 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.176e-05/9.781, allocations: 19.95 kB / 3.507 GB, free: 21.62 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/9.781, allocations: 8 kB / 3.507 GB, free: 21.61 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00182/9.782, allocations: 0.5338 MB / 3.508 GB, free: 21.08 MB / 0.5105 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.004691/9.787, allocations: 2.841 MB / 3.51 GB, free: 17.98 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00184/9.789, allocations: 466.4 kB / 3.511 GB, free: 17.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/9.789, allocations: 136.8 kB / 3.511 GB, free: 17.38 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4379/10.23, allocations: 24.26 MB / 3.535 GB, free: 79.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/10.23, allocations: 45.27 kB / 3.535 GB, free: 79.23 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=27): time 3.406e-06/10.23, allocations: 3.719 kB / 3.535 GB, free: 79.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=27): time 0.003057/10.23, allocations: 0.6542 MB / 3.535 GB, free: 79.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/10.23, allocations: 107.7 kB / 3.536 GB, free: 79.07 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006032/10.23, allocations: 326.6 kB / 3.536 GB, free: 78.97 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.726e-05/10.23, allocations: 34.36 kB / 3.536 GB, free: 78.94 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/10.23, allocations: 264.9 kB / 3.536 GB, free: 78.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/10.23, allocations: 94.36 kB / 3.536 GB, free: 78.73 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/10.23, allocations: 5.938 kB / 3.536 GB, free: 78.73 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.097e-05/10.23, allocations: 326.5 kB / 3.537 GB, free: 78.41 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003249/10.23, allocations: 99.64 kB / 3.537 GB, free: 78.41 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004517/10.23, allocations: 215 kB / 3.537 GB, free: 78.29 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004706/10.23, allocations: 115.7 kB / 3.537 GB, free: 78.29 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/10.23, allocations: 1.281 kB / 3.537 GB, free: 78.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001113/10.23, allocations: 346.6 kB / 3.537 GB, free: 78.25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002507/10.23, allocations: 1.046 MB / 3.538 GB, free: 77.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/10.23, allocations: 2.875 kB / 3.538 GB, free: 77.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.861e-05/10.23, allocations: 4.969 kB / 3.538 GB, free: 77.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009431/10.24, allocations: 117.2 kB / 3.538 GB, free: 77.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/10.24, allocations: 3.531 kB / 3.538 GB, free: 77.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009264/10.24, allocations: 96.33 kB / 3.538 GB, free: 77.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.471e-05/10.24, allocations: 19.58 kB / 3.539 GB, free: 77.15 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/10.24, allocations: 3.875 kB / 3.539 GB, free: 77.15 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008897/10.24, allocations: 305.9 kB / 3.539 GB, free: 77.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/10.24, allocations: 4.688 kB / 3.539 GB, free: 77.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/10.24, allocations: 5.406 kB / 3.539 GB, free: 77.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008927/10.24, allocations: 108.6 kB / 3.539 GB, free: 77.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/10.24, allocations: 8.172 kB / 3.539 GB, free: 77.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007022/10.24, allocations: 81.17 kB / 3.539 GB, free: 77.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.583e-05/10.24, allocations: 16.41 kB / 3.539 GB, free: 77.13 MB / 0.5105 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.0001913/10.24, allocations: 125.8 kB / 3.539 GB, free: 77.03 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/10.24, allocations: 43.36 kB / 3.539 GB, free: 77.01 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003221/10.24, allocations: 1.893 MB / 3.541 GB, free: 76.78 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.085e-05/10.24, allocations: 36.73 kB / 3.541 GB, free: 76.78 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/10.24, allocations: 1.969 kB / 3.541 GB, free: 76.78 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/10.24, allocations: 6.156 kB / 3.541 GB, free: 76.78 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/10.24, allocations: 1.046 MB / 3.542 GB, free: 76.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/10.24, allocations: 3.234 kB / 3.542 GB, free: 76.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008563/10.25, allocations: 102.7 kB / 3.542 GB, free: 76.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-06/10.25, allocations: 1.344 kB / 3.542 GB, free: 76.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.082e-05/10.25, allocations: 10.97 kB / 3.542 GB, free: 76.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/10.25, allocations: 5.688 kB / 3.542 GB, free: 76.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/10.25, allocations: 0 / 3.542 GB, free: 76.55 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/10.25, allocations: 1.028 MB / 3.543 GB, free: 76.31 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004991/10.25, allocations: 259.5 kB / 3.543 GB, free: 76.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/10.25, allocations: 10.62 kB / 3.543 GB, free: 76.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008089/10.25, allocations: 56.06 kB / 3.544 GB, free: 76.17 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/10.25, allocations: 34.81 kB / 3.544 GB, free: 76.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.563e-05/10.25, allocations: 14.47 kB / 3.544 GB, free: 76.17 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007364/10.25, allocations: 361.2 kB / 3.544 GB, free: 76.08 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.81e-07/10.25, allocations: 1.062 kB / 3.544 GB, free: 76.08 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006398/10.26, allocations: 1.169 MB / 3.545 GB, free: 76.07 MB / 0.5105 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 () * 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.01092/10.27, allocations: 1.44 MB / 3.546 GB, free: 75.97 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001922/10.27, allocations: 0.7059 MB / 3.547 GB, free: 75.95 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/10.27, allocations: 0.875 kB / 3.547 GB, free: 75.95 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00101/10.27, allocations: 485.3 kB / 3.548 GB, free: 75.95 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/10.27, allocations: 221.2 kB / 3.548 GB, free: 75.95 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003518/10.28, allocations: 1.226 MB / 3.549 GB, free: 75.65 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000746/10.28, allocations: 1.003 MB / 3.55 GB, free: 74.94 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00033/10.28, allocations: 46.95 kB / 3.55 GB, free: 74.93 MB / 0.5105 GB Notification: Performance of SimCode: time 1.813e-06/10.28, allocations: 2.25 kB / 3.55 GB, free: 74.93 MB / 0.5105 GB Notification: Performance of Templates: time 0.06382/10.34, allocations: 27.76 MB / 3.577 GB, free: 73.39 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches