Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 71.3 kB / 19.93 MB, free: 1.77 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 171.1 kB / 23.21 MB, free: 4.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 158.6 MB / 185 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2185/0.2185, allocations: 32.38 MB / 269.6 MB, free: 4.664 MB / 254.1 MB " [Timeout remaining time 179] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete,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_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete,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_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 407.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.936e-05/3.093e-05, allocations: 2.281 kB / 407.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete): time 0.03697/0.037, allocations: 25.63 MB / 433 MB, free: 9.285 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01969/0.05669, allocations: 11.77 MB / 444.8 MB, free: 13.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005816/0.05727, allocations: 15.88 kB / 444.8 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.05844, allocations: 234.3 kB / 445 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01184/0.07028, allocations: 3.685 MB / 448.7 MB, free: 9.547 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008441/0.07872, allocations: 2.38 MB / 451.1 MB, free: 7.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001683/0.08041, allocations: 0.9117 MB / 452 MB, free: 6.242 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005045/0.08091, allocations: 208.9 kB / 452.2 MB, free: 6.035 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.08209, allocations: 0.5451 MB / 452.7 MB, free: 5.488 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004296/0.08252, allocations: 235.3 kB / 453 MB, free: 5.258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.561e-05/0.08261, allocations: 32 kB / 453 MB, free: 5.227 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01611/0.09872, allocations: 6.898 MB / 459.9 MB, free: 14.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000315/0.09903, allocations: 103.6 kB / 460 MB, free: 14.22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004098/0.09944, allocations: 155.6 kB / 460.1 MB, free: 14.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01633/0.1158, allocations: 5.527 MB / 465.7 MB, free: 8.527 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.1158, allocations: 4 kB / 465.7 MB, free: 8.523 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1158, allocations: 0 / 465.7 MB, free: 8.523 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.477e-06/0.1158, allocations: 0 / 465.7 MB, free: 8.523 MB / 398.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.00457/0.1204, allocations: 1.184 MB / 466.9 MB, free: 7.305 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.1204, allocations: 8.031 kB / 466.9 MB, free: 7.297 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001897/0.1223, allocations: 212.5 kB / 467.1 MB, free: 7.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007189/0.123, allocations: 312.5 kB / 467.4 MB, free: 6.758 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.03e-05/0.1231, allocations: 29.03 kB / 467.4 MB, free: 6.727 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-05/0.1232, allocations: 28.38 kB / 467.4 MB, free: 6.699 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/0.1251, allocations: 0.7336 MB / 468.2 MB, free: 5.891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.1252, allocations: 8.125 kB / 468.2 MB, free: 5.883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.598e-05/0.1252, allocations: 19.94 kB / 468.2 MB, free: 5.863 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.1252, allocations: 8 kB / 468.2 MB, free: 5.855 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/0.127, allocations: 0.5176 MB / 468.7 MB, free: 5.336 MB / 398.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.003349/0.1304, allocations: 1.845 MB / 470.6 MB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/0.1321, allocations: 438.2 kB / 471 MB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004743/0.1326, allocations: 180.7 kB / 471.2 MB, free: 2.805 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2937/0.4263, allocations: 12.72 MB / 483.9 MB, free: 71.4 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.92e-05/0.4263, allocations: 37.97 kB / 483.9 MB, free: 71.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 2.685e-06/0.4264, allocations: 0 / 483.9 MB, free: 71.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.00328/0.4296, allocations: 0.7821 MB / 484.7 MB, free: 70.99 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.482e-05/0.4297, allocations: 114.5 kB / 484.8 MB, free: 70.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004016/0.4301, allocations: 282.2 kB / 485.1 MB, free: 70.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.4302, allocations: 35.33 kB / 485.1 MB, free: 70.64 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.4303, allocations: 209.6 kB / 485.3 MB, free: 70.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.7e-05/0.4304, allocations: 87.67 kB / 485.4 MB, free: 70.42 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.4305, allocations: 69.33 kB / 485.5 MB, free: 70.38 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.4307, allocations: 343.2 kB / 485.8 MB, free: 70.04 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004186/0.4311, allocations: 139.1 kB / 486 MB, free: 69.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004862/0.4316, allocations: 293.8 kB / 486.2 MB, free: 69.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008835/0.4324, allocations: 352.8 kB / 486.6 MB, free: 69.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4324, allocations: 0 / 486.6 MB, free: 69.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001079/0.4335, allocations: 422.2 kB / 487 MB, free: 69.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.4335, allocations: 7.188 kB / 487 MB, free: 69.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.4336, allocations: 2.812 kB / 487 MB, free: 69.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/0.4336, allocations: 8.219 kB / 487 MB, free: 69.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003586/0.4339, allocations: 85.45 kB / 487.1 MB, free: 69.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.434, allocations: 6.953 kB / 487.1 MB, free: 69.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.4343, allocations: 46.02 kB / 487.2 MB, free: 69.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.303e-05/0.4343, allocations: 18.83 kB / 487.2 MB, free: 69.23 MB / 398.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: 5 (Opening.y,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.000194/0.4345, allocations: 161 kB / 487.3 MB, free: 69.08 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.474e-05/0.4346, allocations: 35.38 kB / 487.4 MB, free: 69.06 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002614/0.4372, allocations: 1.986 MB / 489.3 MB, free: 67.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.858e-05/0.4372, allocations: 28.48 kB / 489.4 MB, free: 67.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4372, allocations: 0 / 489.4 MB, free: 67.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.4372, allocations: 0.9375 kB / 489.4 MB, free: 67.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000901/0.4381, allocations: 0.8677 MB / 490.2 MB, free: 67.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4381, allocations: 3.938 kB / 490.2 MB, free: 67.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003038/0.4384, allocations: 64.06 kB / 490.3 MB, free: 67.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.4384, allocations: 3.125 kB / 490.3 MB, free: 67.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.4385, allocations: 11.59 kB / 490.3 MB, free: 67.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.4385, allocations: 5.312 kB / 490.3 MB, free: 67.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4385, allocations: 1.375 kB / 490.3 MB, free: 67.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/0.4399, allocations: 1.107 MB / 491.4 MB, free: 66.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.837e-05/0.44, allocations: 90.06 kB / 491.5 MB, free: 66.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.852e-05/0.4401, allocations: 30.47 kB / 491.6 MB, free: 66.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.4404, allocations: 23.83 kB / 491.6 MB, free: 66.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.4405, allocations: 35.28 kB / 491.6 MB, free: 66.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.4405, allocations: 11.92 kB / 491.6 MB, free: 66.65 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002941/0.4408, allocations: 301 kB / 491.9 MB, free: 66.47 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4408, allocations: 0 / 491.9 MB, free: 66.47 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003513/0.4443, allocations: 1.002 MB / 492.9 MB, free: 66.36 MB / 398.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: 19 ($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,Opening.y) * 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.004419/0.4487, allocations: 1.314 MB / 494.2 MB, free: 65.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.4499, allocations: 0.5905 MB / 494.8 MB, free: 65.21 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4499, allocations: 0 / 494.8 MB, free: 65.21 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005272/0.4504, allocations: 422.8 kB / 495.2 MB, free: 64.8 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.4516, allocations: 201.7 kB / 495.4 MB, free: 64.62 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.4537, allocations: 1.515 MB / 497 MB, free: 63.08 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.4539, allocations: 374.2 kB / 497.3 MB, free: 62.7 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003598/0.4543, allocations: 271.1 kB / 497.6 MB, free: 62.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.4544, allocations: 40.48 kB / 497.6 MB, free: 62.39 MB / 398.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4544, allocations: 0 / 497.6 MB, free: 62.39 MB / 398.1 MB Notification: Performance of Templates: time 0.04469/0.4991, allocations: 39.14 MB / 0.5242 GB, free: 23.34 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValveDiscrete/TestValveDiscrete.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.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.010511118918657]