Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 176.5 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008608/0.0008609, allocations: 89.47 kB / 292.1 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3595/0.3595, allocations: 44.22 MB / 387.5 MB, free: 38.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003129/0.0003128, allocations: 12 kB / 459.9 MB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3713, allocations: 61.91 MB / 0.5096 GB, free: 38.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.581/6.952, allocations: 2.806 GB / 3.315 GB, free: 48.86 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/6.953, allocations: 95.94 kB / 3.315 GB, free: 48.76 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8132/7.766, allocations: 240.1 MB / 3.55 GB, free: 23.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.746e-06/7.766, allocations: 0 / 3.55 GB, free: 23.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.059e-05/7.766, allocations: 11.94 kB / 3.55 GB, free: 23.79 MB / 0.5261 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.005886/7.772, allocations: 1.356 MB / 3.551 GB, free: 22.38 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/7.772, allocations: 8.031 kB / 3.551 GB, free: 22.37 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001964/7.774, allocations: 263.9 kB / 3.551 GB, free: 22.11 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007027/7.775, allocations: 419.5 kB / 3.552 GB, free: 21.66 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.96e-05/7.775, allocations: 33 kB / 3.552 GB, free: 21.62 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.219e-05/7.775, allocations: 32 kB / 3.552 GB, free: 21.59 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/7.776, allocations: 0.6708 MB / 3.552 GB, free: 20.88 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/7.776, allocations: 0 / 3.552 GB, free: 20.88 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.088e-05/7.776, allocations: 20 kB / 3.552 GB, free: 20.86 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/7.776, allocations: 12 kB / 3.552 GB, free: 20.85 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00167/7.778, allocations: 0.6503 MB / 3.553 GB, free: 20.2 MB / 0.5261 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.002922/7.781, allocations: 2.837 MB / 3.556 GB, free: 17.11 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/7.783, allocations: 0.5258 MB / 3.556 GB, free: 16.57 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.367/8.15, allocations: 24.19 MB / 3.58 GB, free: 69.25 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.855e-05/8.15, allocations: 36.98 kB / 3.58 GB, free: 69.21 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=27): time 2.455e-06/8.15, allocations: 6.156 kB / 3.58 GB, free: 69.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27): time 0.003162/8.153, allocations: 0.9017 MB / 3.581 GB, free: 69.17 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/8.153, allocations: 108.5 kB / 3.581 GB, free: 69.05 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004875/8.153, allocations: 327.4 kB / 3.581 GB, free: 68.95 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.243e-05/8.153, allocations: 31.55 kB / 3.581 GB, free: 68.91 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/8.154, allocations: 228.5 kB / 3.582 GB, free: 68.81 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.609e-05/8.154, allocations: 92.31 kB / 3.582 GB, free: 68.77 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/8.154, allocations: 6.625 kB / 3.582 GB, free: 68.77 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.809e-05/8.154, allocations: 355.5 kB / 3.582 GB, free: 68.45 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005365/8.154, allocations: 176.5 kB / 3.582 GB, free: 68.45 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005582/8.155, allocations: 284.2 kB / 3.582 GB, free: 68.33 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005469/8.155, allocations: 199.1 kB / 3.583 GB, free: 68.33 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/8.155, allocations: 0 / 3.583 GB, free: 68.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001371/8.157, allocations: 0.5081 MB / 3.583 GB, free: 68.28 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002719/8.157, allocations: 1.058 MB / 3.584 GB, free: 67.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/8.157, allocations: 3.156 kB / 3.584 GB, free: 67.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/8.157, allocations: 8.234 kB / 3.584 GB, free: 67.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004842/8.158, allocations: 114.3 kB / 3.584 GB, free: 67.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/8.158, allocations: 6.656 kB / 3.584 GB, free: 67.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000555/8.158, allocations: 90.58 kB / 3.584 GB, free: 67.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/8.158, allocations: 15.03 kB / 3.584 GB, free: 67.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/8.158, allocations: 4.219 kB / 3.584 GB, free: 67.18 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001109/8.159, allocations: 464.9 kB / 3.585 GB, free: 67.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/8.159, allocations: 4.344 kB / 3.585 GB, free: 67.17 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.699e-06/8.159, allocations: 2.719 kB / 3.585 GB, free: 67.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004068/8.16, allocations: 112.4 kB / 3.585 GB, free: 67.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/8.16, allocations: 11.8 kB / 3.585 GB, free: 67.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000415/8.16, allocations: 84.61 kB / 3.585 GB, free: 67.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/8.16, allocations: 20.36 kB / 3.585 GB, free: 67.16 MB / 0.5261 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.0002519/8.161, allocations: 246.8 kB / 3.585 GB, free: 66.96 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.286e-05/8.161, allocations: 40.41 kB / 3.585 GB, free: 66.94 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002375/8.163, allocations: 2.003 MB / 3.587 GB, free: 66.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/8.163, allocations: 25.64 kB / 3.587 GB, free: 66.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/8.163, allocations: 2.812 kB / 3.587 GB, free: 66.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/8.163, allocations: 7.578 kB / 3.587 GB, free: 66.73 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009277/8.164, allocations: 1.041 MB / 3.588 GB, free: 66.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/8.164, allocations: 0 / 3.588 GB, free: 66.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003881/8.164, allocations: 106.5 kB / 3.588 GB, free: 66.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/8.164, allocations: 0 / 3.588 GB, free: 66.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/8.165, allocations: 6.812 kB / 3.589 GB, free: 66.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/8.165, allocations: 4.031 kB / 3.589 GB, free: 66.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/8.165, allocations: 0 / 3.589 GB, free: 66.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/8.166, allocations: 1.171 MB / 3.59 GB, free: 66.26 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002569/8.166, allocations: 266.7 kB / 3.59 GB, free: 66.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.063e-05/8.166, allocations: 6.406 kB / 3.59 GB, free: 66.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004001/8.167, allocations: 60.23 kB / 3.59 GB, free: 66.12 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.052e-05/8.167, allocations: 37.5 kB / 3.59 GB, free: 66.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/8.167, allocations: 11.98 kB / 3.59 GB, free: 66.12 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003916/8.167, allocations: 370.5 kB / 3.59 GB, free: 66.03 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/8.167, allocations: 0 / 3.59 GB, free: 66.03 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006121/8.173, allocations: 1.167 MB / 3.592 GB, free: 66.02 MB / 0.5261 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.008374/8.182, allocations: 1.44 MB / 3.593 GB, free: 65.92 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002278/8.184, allocations: 0.9063 MB / 3.594 GB, free: 65.91 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/8.184, allocations: 0 / 3.594 GB, free: 65.91 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008513/8.185, allocations: 0.5484 MB / 3.594 GB, free: 65.91 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/8.186, allocations: 239.8 kB / 3.595 GB, free: 65.89 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002597/8.189, allocations: 1.992 MB / 3.597 GB, free: 65.01 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/8.189, allocations: 0.9966 MB / 3.597 GB, free: 64.31 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008476/8.19, allocations: 0.5347 MB / 3.598 GB, free: 64.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/8.191, allocations: 45.91 kB / 3.598 GB, free: 64.29 MB / 0.5261 GB Notification: Performance of SimCode: time 5.41e-07/8.191, allocations: 0 / 3.598 GB, free: 64.29 MB / 0.5261 GB Notification: Performance of Templates: time 0.04983/8.24, allocations: 32.94 MB / 3.63 GB, free: 63.71 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveVaporizing/TestValveVaporizing.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches