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.002221/0.002221, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.002/2.002, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 87.44 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2897/0.2897, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.032e-05/2.045e-05, allocations: 4 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3931, allocations: 58.86 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.292/8.685, allocations: 2.8 GB / 3.266 GB, free: 103.9 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/8.686, allocations: 84.41 kB / 3.266 GB, free: 103.9 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 1.332/10.02, allocations: 234.1 MB / 3.494 GB, free: 79.65 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.723e-06/10.02, allocations: 3.625 kB / 3.494 GB, free: 79.65 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 4.544e-05/10.02, allocations: 11.44 kB / 3.494 GB, free: 79.64 MB / 0.4952 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.006641/10.02, allocations: 1.303 MB / 3.495 GB, free: 78.94 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/10.02, allocations: 11.62 kB / 3.495 GB, free: 78.94 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002959/10.03, allocations: 253.8 kB / 3.496 GB, free: 78.91 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/10.03, allocations: 427.1 kB / 3.496 GB, free: 78.66 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.621e-05/10.03, allocations: 14.19 kB / 3.496 GB, free: 78.66 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.835e-05/10.03, allocations: 17.53 kB / 3.496 GB, free: 78.66 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008697/10.03, allocations: 346.8 kB / 3.497 GB, free: 78.66 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008431/10.03, allocations: 426.6 kB / 3.497 GB, free: 78.52 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/10.03, allocations: 7.594 kB / 3.497 GB, free: 78.51 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.068e-05/10.03, allocations: 0 / 3.497 GB, free: 78.51 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/10.03, allocations: 7.906 kB / 3.497 GB, free: 78.51 MB / 0.4952 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.02896/10.06, allocations: 10.35 MB / 3.507 GB, free: 72.03 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008111/10.06, allocations: 254.6 kB / 3.507 GB, free: 72.01 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/10.06, allocations: 126.7 kB / 3.507 GB, free: 72 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07485/10.14, allocations: 24.28 MB / 3.531 GB, free: 57.24 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.77e-05/10.14, allocations: 40.97 kB / 3.531 GB, free: 57.2 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=26): time 3.126e-06/10.14, allocations: 0 / 3.531 GB, free: 57.2 MB / 0.4952 GB Notification: Performance of matching and sorting (n=26): time 0.00286/10.14, allocations: 0.5632 MB / 3.532 GB, free: 57.14 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/10.14, allocations: 110.5 kB / 3.532 GB, free: 57.02 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00037/10.14, allocations: 263.7 kB / 3.532 GB, free: 56.91 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 4.348e-05/10.14, allocations: 29.17 kB / 3.532 GB, free: 56.88 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/10.14, allocations: 284.2 kB / 3.532 GB, free: 56.66 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 8.642e-05/10.14, allocations: 86.45 kB / 3.532 GB, free: 56.61 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/10.14, allocations: 0 / 3.532 GB, free: 56.61 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 7.062e-05/10.14, allocations: 325.2 kB / 3.533 GB, free: 56.3 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002696/10.14, allocations: 102.3 kB / 3.533 GB, free: 56.29 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002934/10.14, allocations: 202.1 kB / 3.533 GB, free: 56.17 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/10.14, allocations: 209.9 kB / 3.533 GB, free: 56.16 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/10.14, allocations: 0 / 3.533 GB, free: 56.16 MB / 0.4952 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001729/10.14, allocations: 407.5 kB / 3.534 GB, free: 56.11 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002373/10.14, allocations: 1.057 MB / 3.535 GB, free: 55.02 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/10.14, allocations: 7.891 kB / 3.535 GB, free: 55.01 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/10.14, allocations: 7.844 kB / 3.535 GB, free: 55.01 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008796/10.14, allocations: 107.6 kB / 3.535 GB, free: 55.01 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/10.14, allocations: 15.53 kB / 3.535 GB, free: 55 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008654/10.14, allocations: 82.41 kB / 3.535 GB, free: 54.98 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.296e-05/10.15, allocations: 19.31 kB / 3.535 GB, free: 54.98 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/10.15, allocations: 3.844 kB / 3.535 GB, free: 54.98 MB / 0.4952 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001407/10.15, allocations: 324.2 kB / 3.535 GB, free: 54.97 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/10.15, allocations: 3.812 kB / 3.535 GB, free: 54.97 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/10.15, allocations: 3.969 kB / 3.535 GB, free: 54.97 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008157/10.15, allocations: 112.9 kB / 3.535 GB, free: 54.96 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/10.15, allocations: 7.719 kB / 3.535 GB, free: 54.96 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006884/10.15, allocations: 67.92 kB / 3.535 GB, free: 54.95 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.767e-05/10.15, allocations: 19.33 kB / 3.535 GB, free: 54.95 MB / 0.4952 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.0001629/10.15, allocations: 112.8 kB / 3.536 GB, free: 54.84 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/10.15, allocations: 43.06 kB / 3.536 GB, free: 54.82 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002985/10.15, allocations: 1.682 MB / 3.537 GB, free: 54.47 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.02e-05/10.15, allocations: 33.89 kB / 3.537 GB, free: 54.46 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/10.15, allocations: 0 / 3.537 GB, free: 54.46 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/10.15, allocations: 0.6875 kB / 3.537 GB, free: 54.46 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/10.15, allocations: 0.8783 MB / 3.538 GB, free: 53.97 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/10.15, allocations: 4 kB / 3.538 GB, free: 53.96 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007817/10.15, allocations: 94.19 kB / 3.538 GB, free: 53.96 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.296e-05/10.15, allocations: 7.797 kB / 3.538 GB, free: 53.96 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.251e-05/10.15, allocations: 15.36 kB / 3.538 GB, free: 53.95 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/10.15, allocations: 3.625 kB / 3.538 GB, free: 53.95 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/10.15, allocations: 0 / 3.538 GB, free: 53.95 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/10.16, allocations: 0.9619 MB / 3.539 GB, free: 53.46 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004307/10.16, allocations: 256.4 kB / 3.539 GB, free: 53.27 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.857e-05/10.16, allocations: 3.953 kB / 3.539 GB, free: 53.26 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007481/10.16, allocations: 49.47 kB / 3.539 GB, free: 53.25 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/10.16, allocations: 38.27 kB / 3.539 GB, free: 53.25 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-05/10.16, allocations: 11.72 kB / 3.539 GB, free: 53.25 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0004743/10.16, allocations: 314.4 kB / 3.54 GB, free: 53.08 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.51e-07/10.16, allocations: 3.938 kB / 3.54 GB, free: 53.07 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.00611/10.16, allocations: 1.147 MB / 3.541 GB, free: 52.84 MB / 0.4952 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.01012/10.17, allocations: 1.47 MB / 3.542 GB, free: 52.46 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.00144/10.18, allocations: 0.6343 MB / 3.543 GB, free: 52.21 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/10.18, allocations: 0 / 3.543 GB, free: 52.21 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0006458/10.18, allocations: 429.9 kB / 3.543 GB, free: 52 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/10.18, allocations: 186.8 kB / 3.544 GB, free: 51.96 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/10.18, allocations: 1.127 MB / 3.545 GB, free: 51.42 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004512/10.18, allocations: 0.9878 MB / 3.546 GB, free: 50.7 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/10.18, allocations: 46.11 kB / 3.546 GB, free: 50.69 MB / 0.4952 GB Notification: Performance of SimCode: time 1.102e-06/10.18, allocations: 0 / 3.546 GB, free: 50.69 MB / 0.4952 GB Notification: Performance of Templates: time 0.05962/10.24, allocations: 27.86 MB / 3.573 GB, free: 47.1 MB / 0.4952 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