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.0009249/0.0009248, allocations: 183 kB / 13.19 MB, free: 2.129 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.164/1.164, allocations: 205.2 MB / 218.9 MB, free: 9.195 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.0007356/0.0007357, allocations: 88.45 kB / 267 MB, free: 9.27 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.2937/0.2937, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.6e-05/2.602e-05, allocations: 4 kB / 425.3 MB, free: 8.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09914/0.09918, allocations: 58.84 MB / 484.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.874/4.973, allocations: 2.8 GB / 3.273 GB, free: 100 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/4.973, allocations: 83.44 kB / 3.273 GB, free: 99.93 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.6812/5.655, allocations: 236.9 MB / 3.505 GB, free: 61.99 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.263e-06/5.655, allocations: 0 / 3.505 GB, free: 61.99 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.565e-05/5.655, allocations: 11.94 kB / 3.505 GB, free: 61.98 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.004297/5.659, allocations: 1.307 MB / 3.506 GB, free: 61.05 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/5.659, allocations: 15.77 kB / 3.506 GB, free: 61.04 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001702/5.661, allocations: 250.5 kB / 3.506 GB, free: 60.95 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005382/5.661, allocations: 422.3 kB / 3.506 GB, free: 60.58 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.155e-05/5.661, allocations: 28.12 kB / 3.506 GB, free: 60.57 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.616e-05/5.661, allocations: 35.98 kB / 3.507 GB, free: 60.55 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/5.663, allocations: 0.6231 MB / 3.507 GB, free: 60.14 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/5.663, allocations: 3.938 kB / 3.507 GB, free: 60.14 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.066e-05/5.663, allocations: 19.67 kB / 3.507 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/5.663, allocations: 7.812 kB / 3.507 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009918/5.664, allocations: 0.538 MB / 3.508 GB, free: 59.88 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.002427/5.666, allocations: 2.835 MB / 3.51 GB, free: 57.22 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/5.667, allocations: 459.6 kB / 3.511 GB, free: 56.99 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/5.667, allocations: 145 kB / 3.511 GB, free: 56.92 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03584/5.703, allocations: 24.27 MB / 3.535 GB, free: 37.46 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/5.703, allocations: 34.55 kB / 3.535 GB, free: 37.42 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=27): time 2.615e-06/5.703, allocations: 0 / 3.535 GB, free: 37.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=27): time 0.001859/5.705, allocations: 0.6625 MB / 3.535 GB, free: 36.75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/5.705, allocations: 106.8 kB / 3.536 GB, free: 36.62 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003793/5.706, allocations: 334.7 kB / 3.536 GB, free: 36.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/5.706, allocations: 37.64 kB / 3.536 GB, free: 36.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/5.706, allocations: 215.9 kB / 3.536 GB, free: 36.04 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.48e-05/5.706, allocations: 98.25 kB / 3.536 GB, free: 35.95 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.83e-05/5.706, allocations: 4 kB / 3.536 GB, free: 35.94 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.796e-05/5.706, allocations: 350.8 kB / 3.537 GB, free: 35.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/5.706, allocations: 104.6 kB / 3.537 GB, free: 35.48 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/5.706, allocations: 218 kB / 3.537 GB, free: 35.23 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/5.706, allocations: 108 kB / 3.537 GB, free: 35.12 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/5.706, allocations: 0 / 3.537 GB, free: 35.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005071/5.707, allocations: 369.2 kB / 3.537 GB, free: 34.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001816/5.707, allocations: 1.059 MB / 3.538 GB, free: 33.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/5.707, allocations: 0 / 3.538 GB, free: 33.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/5.707, allocations: 7.953 kB / 3.538 GB, free: 33.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000436/5.708, allocations: 115.9 kB / 3.538 GB, free: 33.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/5.708, allocations: 7.984 kB / 3.538 GB, free: 33.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004922/5.708, allocations: 87.48 kB / 3.539 GB, free: 33.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/5.708, allocations: 19.98 kB / 3.539 GB, free: 33.38 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.826e-06/5.708, allocations: 7.938 kB / 3.539 GB, free: 33.37 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004194/5.709, allocations: 311.7 kB / 3.539 GB, free: 33.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-06/5.709, allocations: 0 / 3.539 GB, free: 33.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.982e-06/5.709, allocations: 8 kB / 3.539 GB, free: 33.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003972/5.709, allocations: 111.9 kB / 3.539 GB, free: 32.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/5.709, allocations: 8.188 kB / 3.539 GB, free: 32.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004467/5.709, allocations: 71.7 kB / 3.539 GB, free: 32.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/5.71, allocations: 19.98 kB / 3.539 GB, free: 32.85 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 9.386e-05/5.71, allocations: 132.8 kB / 3.539 GB, free: 32.71 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.791e-05/5.71, allocations: 39.53 kB / 3.539 GB, free: 32.68 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/5.711, allocations: 1.902 MB / 3.541 GB, free: 30.76 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.288e-05/5.711, allocations: 35.92 kB / 3.541 GB, free: 30.72 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/5.711, allocations: 4 kB / 3.541 GB, free: 30.72 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/5.711, allocations: 0 / 3.541 GB, free: 30.72 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008015/5.712, allocations: 1.049 MB / 3.542 GB, free: 29.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/5.712, allocations: 0 / 3.542 GB, free: 29.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003751/5.712, allocations: 103.9 kB / 3.542 GB, free: 29.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/5.712, allocations: 0 / 3.542 GB, free: 29.53 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/5.712, allocations: 8 kB / 3.542 GB, free: 29.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/5.713, allocations: 0 / 3.542 GB, free: 29.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/5.713, allocations: 0 / 3.542 GB, free: 29.52 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000803/5.713, allocations: 1.032 MB / 3.543 GB, free: 28.47 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/5.714, allocations: 267.3 kB / 3.543 GB, free: 28.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.756e-05/5.714, allocations: 8 kB / 3.544 GB, free: 28.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004058/5.714, allocations: 59.86 kB / 3.544 GB, free: 28.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.245e-05/5.714, allocations: 43.88 kB / 3.544 GB, free: 28.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/5.714, allocations: 8 kB / 3.544 GB, free: 28.07 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003023/5.714, allocations: 365.6 kB / 3.544 GB, free: 27.72 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.6e-07/5.714, allocations: 0 / 3.544 GB, free: 27.72 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003985/5.718, allocations: 1.159 MB / 3.545 GB, free: 26.56 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.006429/5.725, allocations: 1.437 MB / 3.546 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009681/5.726, allocations: 0.7038 MB / 3.547 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/5.726, allocations: 0 / 3.547 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004121/5.726, allocations: 490.7 kB / 3.548 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/5.728, allocations: 224.7 kB / 3.548 GB, free: 23.85 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/5.729, allocations: 1.205 MB / 3.549 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/5.729, allocations: 1.004 MB / 3.55 GB, free: 21.58 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007502/5.73, allocations: 0.5558 MB / 3.551 GB, free: 21.03 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.807e-05/5.73, allocations: 39.44 kB / 3.551 GB, free: 20.99 MB / 0.5105 GB Notification: Performance of SimCode: time 3.51e-07/5.73, allocations: 4 kB / 3.551 GB, free: 20.99 MB / 0.5105 GB Notification: Performance of Templates: time 0.2604/5.991, allocations: 34.77 MB / 3.585 GB, free: 75.79 MB / 0.5105 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