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.0009056/0.0009056, allocations: 181.2 kB / 17.41 MB, free: 4.402 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.284/1.284, allocations: 205.4 MB / 223.6 MB, free: 8.945 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.0006882/0.0006882, allocations: 87.39 kB / 271.9 MB, free: 8.25 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.3011/0.3011, allocations: 43.56 MB / 363.8 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003635, allocations: 16 kB / 432.6 MB, free: 5.648 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1111, allocations: 58.84 MB / 491.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.426/5.537, allocations: 2.801 GB / 3.281 GB, free: 71.73 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003818/5.538, allocations: 86.14 kB / 3.281 GB, free: 71.68 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7445/6.282, allocations: 236.3 MB / 3.512 GB, free: 33.06 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.144e-06/6.282, allocations: 4 kB / 3.512 GB, free: 33.05 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.95e-05/6.282, allocations: 11.98 kB / 3.512 GB, free: 33.04 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.005507/6.288, allocations: 1.348 MB / 3.513 GB, free: 31.64 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/6.288, allocations: 8.031 kB / 3.513 GB, free: 31.64 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001908/6.29, allocations: 260 kB / 3.513 GB, free: 31.38 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006492/6.29, allocations: 432.7 kB / 3.514 GB, free: 30.92 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/6.291, allocations: 29.94 kB / 3.514 GB, free: 30.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.798e-05/6.291, allocations: 36 kB / 3.514 GB, free: 30.86 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/6.292, allocations: 0.6785 MB / 3.514 GB, free: 30.13 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/6.292, allocations: 0 / 3.514 GB, free: 30.13 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.375e-05/6.292, allocations: 20 kB / 3.514 GB, free: 30.11 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/6.292, allocations: 8 kB / 3.514 GB, free: 30.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/6.294, allocations: 0.6503 MB / 3.515 GB, free: 29.45 MB / 0.4948 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.002737/6.297, allocations: 2.844 MB / 3.518 GB, free: 26.35 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/6.298, allocations: 0.5218 MB / 3.518 GB, free: 25.82 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005333/6.299, allocations: 212.7 kB / 3.518 GB, free: 25.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3185/6.617, allocations: 24.2 MB / 3.542 GB, free: 61.32 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/6.618, allocations: 38.88 kB / 3.542 GB, free: 61.29 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=27): time 2.295e-06/6.618, allocations: 0 / 3.542 GB, free: 61.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27): time 0.003528/6.621, allocations: 0.8982 MB / 3.543 GB, free: 61.25 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/6.621, allocations: 107.2 kB / 3.543 GB, free: 61.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000521/6.622, allocations: 376.3 kB / 3.543 GB, free: 61.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/6.622, allocations: 30.11 kB / 3.543 GB, free: 60.99 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/6.622, allocations: 226.2 kB / 3.544 GB, free: 60.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.388e-05/6.622, allocations: 91.36 kB / 3.544 GB, free: 60.85 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/6.622, allocations: 7.375 kB / 3.544 GB, free: 60.85 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.396e-05/6.622, allocations: 347.2 kB / 3.544 GB, free: 60.54 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000633/6.623, allocations: 181.8 kB / 3.544 GB, free: 60.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006455/6.623, allocations: 291.3 kB / 3.545 GB, free: 60.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/6.625, allocations: 438.8 kB / 3.545 GB, free: 60.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/6.625, allocations: 1.219 kB / 3.545 GB, free: 60.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001452/6.626, allocations: 0.517 MB / 3.546 GB, free: 60.26 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.709e-05/6.626, allocations: 170.8 kB / 3.546 GB, free: 60.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/6.626, allocations: 2.625 kB / 3.546 GB, free: 60.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/6.626, allocations: 4.031 kB / 3.546 GB, free: 60.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005143/6.627, allocations: 114.2 kB / 3.546 GB, free: 60.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/6.627, allocations: 5.547 kB / 3.546 GB, free: 60.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005207/6.627, allocations: 90.47 kB / 3.546 GB, free: 60.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.26e-05/6.627, allocations: 18.38 kB / 3.546 GB, free: 60.07 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/6.627, allocations: 7.062 kB / 3.546 GB, free: 60.07 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00128/6.629, allocations: 455.7 kB / 3.546 GB, free: 60.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/6.629, allocations: 2.906 kB / 3.546 GB, free: 60.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.31e-06/6.629, allocations: 4.438 kB / 3.546 GB, free: 60.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004417/6.629, allocations: 110.6 kB / 3.546 GB, free: 60.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/6.629, allocations: 6.344 kB / 3.546 GB, free: 60.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004469/6.63, allocations: 88.84 kB / 3.547 GB, free: 60.06 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/6.63, allocations: 20.69 kB / 3.547 GB, free: 60.06 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 () * 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.000255/6.63, allocations: 243.2 kB / 3.547 GB, free: 59.87 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.951e-05/6.63, allocations: 48.53 kB / 3.547 GB, free: 59.85 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003081/6.633, allocations: 1.985 MB / 3.549 GB, free: 59.65 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.795e-05/6.633, allocations: 32.88 kB / 3.549 GB, free: 59.65 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/6.633, allocations: 0 / 3.549 GB, free: 59.65 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.537e-06/6.633, allocations: 2.156 kB / 3.549 GB, free: 59.65 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/6.635, allocations: 1.055 MB / 3.55 GB, free: 59.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/6.635, allocations: 0 / 3.55 GB, free: 59.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004097/6.635, allocations: 102.1 kB / 3.55 GB, free: 59.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/6.635, allocations: 3.125 kB / 3.55 GB, free: 59.41 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/6.635, allocations: 6.594 kB / 3.55 GB, free: 59.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/6.635, allocations: 2.062 kB / 3.55 GB, free: 59.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/6.635, allocations: 9.344 kB / 3.55 GB, free: 59.41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/6.637, allocations: 1.161 MB / 3.551 GB, free: 59.18 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000281/6.637, allocations: 276.2 kB / 3.551 GB, free: 59.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.687e-05/6.637, allocations: 6.344 kB / 3.551 GB, free: 59.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004006/6.638, allocations: 52.95 kB / 3.551 GB, free: 59.03 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.893e-05/6.638, allocations: 33.23 kB / 3.551 GB, free: 59.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/6.638, allocations: 17.8 kB / 3.551 GB, free: 59.03 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000391/6.638, allocations: 372.9 kB / 3.552 GB, free: 58.95 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.5e-07/6.638, allocations: 3.656 kB / 3.552 GB, free: 58.95 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005381/6.644, allocations: 1.164 MB / 3.553 GB, free: 58.94 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: 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.008254/6.652, allocations: 1.426 MB / 3.554 GB, free: 58.84 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002642/6.655, allocations: 0.9216 MB / 3.555 GB, free: 58.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/6.655, allocations: 0 / 3.555 GB, free: 58.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007763/6.655, allocations: 0.5474 MB / 3.556 GB, free: 58.81 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/6.657, allocations: 233.7 kB / 3.556 GB, free: 58.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/6.659, allocations: 2.027 MB / 3.558 GB, free: 57.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/6.659, allocations: 0.9787 MB / 3.559 GB, free: 57.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/6.659, allocations: 49.45 kB / 3.559 GB, free: 57.2 MB / 0.4948 GB Notification: Performance of SimCode: time 6.61e-07/6.659, allocations: 0 / 3.559 GB, free: 57.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.04294/6.702, allocations: 25.19 MB / 3.584 GB, free: 56.46 MB / 0.4948 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