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.002176/0.002176, allocations: 186.2 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.039/2.039, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.00119/0.00119, allocations: 93.92 kB / 270.9 MB, free: 8.363 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.5021/0.5021, allocations: 43.55 MB / 362.7 MB, free: 52.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004533/0.0004535, allocations: 12 kB / 431.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1233, allocations: 58.83 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.435/8.559, allocations: 2.8 GB / 3.279 GB, free: 8.355 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/8.559, allocations: 91.47 kB / 3.279 GB, free: 8.305 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.578/10.14, allocations: 237.7 MB / 3.511 GB, free: 64.12 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.604e-06/10.14, allocations: 6.906 kB / 3.511 GB, free: 64.12 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.256e-05/10.14, allocations: 9.125 kB / 3.511 GB, free: 64.12 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.006885/10.14, allocations: 1.35 MB / 3.513 GB, free: 63.48 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/10.14, allocations: 9.625 kB / 3.513 GB, free: 63.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003273/10.15, allocations: 266.4 kB / 3.513 GB, free: 63.46 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/10.15, allocations: 410.7 kB / 3.513 GB, free: 63.24 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.371e-05/10.15, allocations: 38.2 kB / 3.513 GB, free: 63.24 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.368e-05/10.15, allocations: 31.31 kB / 3.513 GB, free: 63.24 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002936/10.15, allocations: 0.6763 MB / 3.514 GB, free: 63.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/10.15, allocations: 0.5156 kB / 3.514 GB, free: 63.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-05/10.15, allocations: 17.56 kB / 3.514 GB, free: 63.1 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/10.15, allocations: 13.67 kB / 3.514 GB, free: 63.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003407/10.16, allocations: 0.649 MB / 3.515 GB, free: 63.1 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.005269/10.16, allocations: 2.841 MB / 3.517 GB, free: 61.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002999/10.16, allocations: 0.5205 MB / 3.518 GB, free: 61.08 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07788/10.24, allocations: 24.2 MB / 3.542 GB, free: 46.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/10.24, allocations: 39.25 kB / 3.542 GB, free: 46.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=27): time 3.657e-06/10.24, allocations: 0 / 3.542 GB, free: 46.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27): time 0.005771/10.25, allocations: 0.8953 MB / 3.542 GB, free: 46.25 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/10.25, allocations: 106.7 kB / 3.543 GB, free: 46.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006633/10.25, allocations: 345.4 kB / 3.543 GB, free: 46.01 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/10.25, allocations: 33.14 kB / 3.543 GB, free: 45.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/10.25, allocations: 261.5 kB / 3.543 GB, free: 45.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/10.25, allocations: 93.69 kB / 3.543 GB, free: 45.75 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/10.25, allocations: 11.66 kB / 3.543 GB, free: 45.75 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.259e-05/10.25, allocations: 326 kB / 3.544 GB, free: 45.44 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/10.25, allocations: 180.4 kB / 3.544 GB, free: 45.43 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/10.25, allocations: 294.2 kB / 3.544 GB, free: 45.31 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/10.25, allocations: 192.2 kB / 3.544 GB, free: 45.31 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/10.25, allocations: 0 / 3.544 GB, free: 45.31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002551/10.25, allocations: 494.4 kB / 3.545 GB, free: 45.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003211/10.26, allocations: 1.055 MB / 3.546 GB, free: 44.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/10.26, allocations: 3.875 kB / 3.546 GB, free: 44.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.091e-05/10.26, allocations: 3.875 kB / 3.546 GB, free: 44.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009697/10.26, allocations: 116.9 kB / 3.546 GB, free: 44.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-05/10.26, allocations: 9.641 kB / 3.546 GB, free: 44.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009897/10.26, allocations: 93.14 kB / 3.546 GB, free: 44.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-05/10.26, allocations: 16.75 kB / 3.546 GB, free: 44.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/10.26, allocations: 6.75 kB / 3.546 GB, free: 44.16 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002434/10.26, allocations: 450.1 kB / 3.546 GB, free: 44.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/10.26, allocations: 3.562 kB / 3.546 GB, free: 44.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/10.26, allocations: 3.906 kB / 3.546 GB, free: 44.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009062/10.26, allocations: 115.6 kB / 3.547 GB, free: 44.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/10.26, allocations: 10.86 kB / 3.547 GB, free: 44.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008051/10.26, allocations: 77.34 kB / 3.547 GB, free: 44.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.872e-05/10.26, allocations: 15.38 kB / 3.547 GB, free: 44.16 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.0004507/10.26, allocations: 243.7 kB / 3.547 GB, free: 43.96 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/10.26, allocations: 42.47 kB / 3.547 GB, free: 43.94 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004393/10.27, allocations: 1.996 MB / 3.549 GB, free: 43.73 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.615e-05/10.27, allocations: 30.03 kB / 3.549 GB, free: 43.73 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/10.27, allocations: 3.75 kB / 3.549 GB, free: 43.73 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/10.27, allocations: 4.297 kB / 3.549 GB, free: 43.73 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/10.27, allocations: 1.052 MB / 3.55 GB, free: 43.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/10.27, allocations: 7.75 kB / 3.55 GB, free: 43.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008538/10.27, allocations: 96.47 kB / 3.55 GB, free: 43.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/10.27, allocations: 1.406 kB / 3.55 GB, free: 43.49 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.493e-05/10.27, allocations: 16.88 kB / 3.55 GB, free: 43.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/10.27, allocations: 2.438 kB / 3.55 GB, free: 43.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/10.27, allocations: 3.609 kB / 3.55 GB, free: 43.49 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003074/10.27, allocations: 1.155 MB / 3.551 GB, free: 43.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005618/10.27, allocations: 270.3 kB / 3.551 GB, free: 43.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/10.27, allocations: 12.88 kB / 3.551 GB, free: 43.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007881/10.27, allocations: 54.38 kB / 3.551 GB, free: 43.08 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/10.27, allocations: 33.7 kB / 3.551 GB, free: 43.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-05/10.27, allocations: 9.156 kB / 3.551 GB, free: 43.08 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007425/10.28, allocations: 376.5 kB / 3.552 GB, free: 42.99 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.91e-07/10.28, allocations: 0 / 3.552 GB, free: 42.99 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00672/10.28, allocations: 1.169 MB / 3.553 GB, free: 42.81 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.01115/10.29, allocations: 1.424 MB / 3.554 GB, free: 42.55 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003872/10.3, allocations: 0.9141 MB / 3.555 GB, free: 42.54 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/10.3, allocations: 0 / 3.555 GB, free: 42.54 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001506/10.3, allocations: 0.5536 MB / 3.556 GB, free: 42.53 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002234/10.3, allocations: 227 kB / 3.556 GB, free: 42.53 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003999/10.31, allocations: 2.023 MB / 3.558 GB, free: 41.61 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005779/10.31, allocations: 1.007 MB / 3.559 GB, free: 40.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002737/10.31, allocations: 47.33 kB / 3.559 GB, free: 40.89 MB / 0.4948 GB Notification: Performance of SimCode: time 1.122e-06/10.31, allocations: 0 / 3.559 GB, free: 40.89 MB / 0.4948 GB Notification: Performance of Templates: time 0.06074/10.37, allocations: 27.99 MB / 3.586 GB, free: 38.25 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