Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001926/0.001926, allocations: 187.4 kB / 24.51 MB, free: 4.035 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.218/0.218, allocations: 44.92 MB / 353.5 MB, free: 11.8 MB / 286.1 MB
"
[Timeout remaining time 180]
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 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)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,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|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.TestValveLinear")
translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,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|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.TestValveLinear") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 67.91 kB / 497.7 MB, free: 0.9922 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.377, allocations: 64.29 MB / 0.5488 GB, free: 13.13 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03272/0.4098, allocations: 28.53 MB / 0.5767 GB, free: 2.82 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01795/0.4277, allocations: 13.39 MB / 0.5898 GB, free: 5.383 MB / 430.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004309/0.4281, allocations: 19.81 kB / 0.5898 GB, free: 5.363 MB / 430.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0008216/0.429, allocations: 254.3 kB / 0.59 GB, free: 5.113 MB / 430.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.009996/0.439, allocations: 3.678 MB / 0.5936 GB, free: 1.438 MB / 430.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.006404/0.4454, allocations: 2.383 MB / 0.5959 GB, free: 15.05 MB / 446.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001261/0.4466, allocations: 0.9158 MB / 0.5968 GB, free: 14.14 MB / 446.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003614/0.447, allocations: 216.8 kB / 0.597 GB, free: 13.92 MB / 446.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007714/0.4478, allocations: 450.2 kB / 0.5975 GB, free: 13.48 MB / 446.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003457/0.4481, allocations: 286.8 kB / 0.5977 GB, free: 13.2 MB / 446.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.114e-05/0.4482, allocations: 40 kB / 0.5978 GB, free: 13.16 MB / 446.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.01462/0.4628, allocations: 7.247 MB / 0.6049 GB, free: 5.902 MB / 446.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002162/0.463, allocations: 111.6 kB / 0.605 GB, free: 5.793 MB / 446.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003509/0.4634, allocations: 223 kB / 0.6052 GB, free: 5.574 MB / 446.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01015/0.4735, allocations: 4.423 MB / 0.6095 GB, free: 1.141 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.4735, allocations: 0 / 0.6095 GB, free: 1.141 MB / 446.1 MB
Notification: Performance of FrontEnd: time 1.533e-06/0.4735, allocations: 0 / 0.6095 GB, free: 1.141 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 8.566e-06/0.4735, allocations: 3.938 kB / 0.6095 GB, free: 1.137 MB / 446.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 73
 * Number of variables: 73
Notification: Performance of Generate backend data structure: time 0.003214/0.4767, allocations: 1.196 MB / 0.6107 GB, free: 15.9 MB / 462.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.4768, allocations: 8.922 kB / 0.6107 GB, free: 15.89 MB / 462.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/0.4785, allocations: 212.5 kB / 0.6109 GB, free: 15.69 MB / 462.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005864/0.4791, allocations: 325 kB / 0.6112 GB, free: 15.35 MB / 462.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/0.4791, allocations: 25.03 kB / 0.6112 GB, free: 15.32 MB / 462.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.054e-05/0.4792, allocations: 31.75 kB / 0.6112 GB, free: 15.29 MB / 462.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/0.4809, allocations: 0.594 MB / 0.6118 GB, free: 14.66 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.4809, allocations: 4 kB / 0.6118 GB, free: 14.65 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.245e-05/0.4809, allocations: 16 kB / 0.6118 GB, free: 14.64 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.4809, allocations: 8 kB / 0.6118 GB, free: 14.63 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/0.4827, allocations: 0.5449 MB / 0.6124 GB, free: 14.08 MB / 462.1 MB
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.003359/0.4861, allocations: 2.511 MB / 0.6148 GB, free: 11.36 MB / 462.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001666/0.4878, allocations: 462.1 kB / 0.6153 GB, free: 10.9 MB / 462.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005072/0.4883, allocations: 188.7 kB / 0.6155 GB, free: 10.71 MB / 462.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.04767/0.5359, allocations: 12.66 MB / 0.6278 GB, free: 14.03 MB / 478.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.534e-05/0.536, allocations: 42.5 kB / 0.6279 GB, free: 13.98 MB / 478.1 MB
Notification: Performance of pre-optimization done (n=25): time 3.015e-06/0.536, allocations: 0 / 0.6279 GB, free: 13.98 MB / 478.1 MB
Notification: Performance of matching and sorting (n=25): time 0.003335/0.5393, allocations: 0.8248 MB / 0.6287 GB, free: 13.14 MB / 478.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.687e-05/0.5394, allocations: 102.8 kB / 0.6288 GB, free: 13.02 MB / 478.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004179/0.5398, allocations: 312.5 kB / 0.6291 GB, free: 12.71 MB / 478.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.566e-05/0.5399, allocations: 33.7 kB / 0.6291 GB, free: 12.67 MB / 478.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.5401, allocations: 208.5 kB / 0.6293 GB, free: 12.46 MB / 478.1 MB
Notification: Performance of collectInitialBindings (initialization): time 9.435e-05/0.5401, allocations: 87.2 kB / 0.6294 GB, free: 12.38 MB / 478.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.5403, allocations: 73.62 kB / 0.6294 GB, free: 12.3 MB / 478.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001675/0.5404, allocations: 342.8 kB / 0.6298 GB, free: 11.95 MB / 478.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004781/0.5409, allocations: 151.9 kB / 0.6299 GB, free: 11.8 MB / 478.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005811/0.5415, allocations: 242.6 kB / 0.6302 GB, free: 11.53 MB / 478.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0009916/0.5425, allocations: 386 kB / 0.6305 GB, free: 11.12 MB / 478.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5425, allocations: 4 kB / 0.6305 GB, free: 11.12 MB / 478.1 MB
Notification: Performance of matching and sorting (n=35) (initialization): time 0.001181/0.5437, allocations: 440.9 kB / 0.6309 GB, free: 10.68 MB / 478.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.5437, allocations: 12.25 kB / 0.631 GB, free: 10.67 MB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.5437, allocations: 4 kB / 0.631 GB, free: 10.66 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.5437, allocations: 4 kB / 0.631 GB, free: 10.66 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003782/0.5441, allocations: 91.88 kB / 0.6311 GB, free: 10.57 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/0.5441, allocations: 11.92 kB / 0.6311 GB, free: 10.56 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.5445, allocations: 47.75 kB / 0.6311 GB, free: 10.51 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/0.5445, allocations: 16 kB / 0.6311 GB, free: 10.5 MB / 478.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 11
 * Number of states: 0 ()
 * Number of discrete variables: 4 (SinkP1.medium.phase,SourceP1.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 (35):
 * Single equations (assignments): 35
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0002149/0.5447, allocations: 165.7 kB / 0.6313 GB, free: 10.32 MB / 478.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.5448, allocations: 39.7 kB / 0.6313 GB, free: 10.29 MB / 478.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002859/0.5477, allocations: 1.983 MB / 0.6333 GB, free: 8.285 MB / 478.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.5e-05/0.5477, allocations: 31.94 kB / 0.6333 GB, free: 8.254 MB / 478.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5477, allocations: 0 / 0.6333 GB, free: 8.254 MB / 478.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.5477, allocations: 0 / 0.6333 GB, free: 8.254 MB / 478.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.5489, allocations: 1.015 MB / 0.6343 GB, free: 7.191 MB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-05/0.5489, allocations: 11.94 kB / 0.6343 GB, free: 7.18 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/0.5492, allocations: 75.92 kB / 0.6344 GB, free: 7.105 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/0.5493, allocations: 3.938 kB / 0.6344 GB, free: 7.102 MB / 478.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.242e-05/0.5493, allocations: 8 kB / 0.6344 GB, free: 7.094 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.5493, allocations: 3.938 kB / 0.6344 GB, free: 7.09 MB / 478.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.5493, allocations: 0 / 0.6344 GB, free: 7.09 MB / 478.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.551, allocations: 1.136 MB / 0.6355 GB, free: 5.938 MB / 478.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.5512, allocations: 87.16 kB / 0.6356 GB, free: 5.852 MB / 478.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.315e-05/0.5513, allocations: 31.78 kB / 0.6356 GB, free: 5.82 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/0.5516, allocations: 35.95 kB / 0.6356 GB, free: 5.785 MB / 478.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.5517, allocations: 35.94 kB / 0.6357 GB, free: 5.75 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.5517, allocations: 8 kB / 0.6357 GB, free: 5.742 MB / 478.1 MB
Notification: Performance of sorting global known variables: time 0.0004058/0.5521, allocations: 327.1 kB / 0.636 GB, free: 5.426 MB / 478.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.5521, allocations: 0 / 0.636 GB, free: 5.426 MB / 478.1 MB
Notification: Performance of remove unused functions: time 0.003192/0.5553, allocations: 1.002 MB / 0.637 GB, free: 4.422 MB / 478.1 MB
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,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.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 (35):
 * Single equations (assignments): 26
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 9
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.005257/0.5606, allocations: 1.169 MB / 0.6381 GB, free: 3.25 MB / 478.1 MB
Notification: Performance of simCode: created initialization part: time 0.002229/0.5628, allocations: 0.6183 MB / 0.6387 GB, free: 2.633 MB / 478.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.5628, allocations: 4 kB / 0.6387 GB, free: 2.629 MB / 478.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001133/0.5639, allocations: 429 kB / 0.6391 GB, free: 2.211 MB / 478.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002006/0.5659, allocations: 228.1 kB / 0.6393 GB, free: 1.992 MB / 478.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003794/0.5697, allocations: 1.56 MB / 0.6409 GB, free: 412 kB / 478.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009321/0.5707, allocations: 0.9677 MB / 0.6418 GB, free: 15.41 MB / 494.1 MB
Notification: Performance of simCode: alias equations: time 0.0007579/0.5714, allocations: 274.8 kB / 0.6421 GB, free: 15.14 MB / 494.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.5716, allocations: 43.44 kB / 0.6421 GB, free: 15.09 MB / 494.1 MB
Notification: Performance of SimCode: time 9.81e-07/0.5716, allocations: 0 / 0.6421 GB, free: 15.09 MB / 494.1 MB
Notification: Performance of Templates: time 0.07889/0.6505, allocations: 40.28 MB / 0.6815 GB, free: 6.898 MB / 0.5137 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 8.149643077515066]