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.0007854/0.0007854, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001106/0.001892, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0007067/0.0007067, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009055/0.001612, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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 0.7693/0.7693, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1264/0.8957, allocations: 49.49 MB / 220.7 MB, free: 1.371 MB / 218.7 MB " [Timeout remaining time 179] 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.1156/0.1156, allocations: 32.35 MB / 253.8 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01853/0.1341, allocations: 12.32 MB / 266.1 MB, free: 3.879 MB / 266.7 MB " [Timeout remaining time 180] 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.[0-9,]+..m_flow|SourceP1.ports.[0-9,]+..p|SourceP1.ports.[0-9,]+..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|SinkP1.ports.[0-9,]+..m_flow|SinkP1.ports.[0-9,]+..p|SinkP1.ports.[0-9,]+..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.[0-9,]+..m_flow|SourceP1.ports.[0-9,]+..p|SourceP1.ports.[0-9,]+..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|SinkP1.ports.[0-9,]+..m_flow|SinkP1.ports.[0-9,]+..p|SinkP1.ports.[0-9,]+..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.453e-06/1.453e-06, allocations: 0 / 267.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.826e-05, allocations: 6.25 kB / 267.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete): time 0.01124/0.01126, allocations: 14.78 MB / 282.2 MB, free: 3.711 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.133/0.1443, allocations: 11.91 MB / 294.1 MB, free: 1.898 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003004/0.1446, allocations: 15.03 kB / 294.1 MB, free: 1.898 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003844/0.145, allocations: 144.4 kB / 294.2 MB, free: 1.883 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007622/0.1526, allocations: 3.325 MB / 297.6 MB, free: 1.445 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003948/0.1565, allocations: 1.933 MB / 299.5 MB, free: 1.059 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007875/0.1573, allocations: 0.9288 MB / 300.4 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002752/0.1576, allocations: 235.5 kB / 300.7 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006369/0.1582, allocations: 0.5598 MB / 301.2 MB, free: 0.543 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002401/0.1585, allocations: 228.9 kB / 301.4 MB, free: 456 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.581e-05/0.1585, allocations: 32.31 kB / 301.5 MB, free: 456 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009177/0.1677, allocations: 7.259 MB / 308.7 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.694e-05/0.1678, allocations: 81.89 kB / 308.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.1679, allocations: 129.6 kB / 308.9 MB, free: 13 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005297/0.1732, allocations: 3.972 MB / 312.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.418e-06/0.1732, allocations: 0 / 312.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1732, allocations: 0 / 312.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.1732, allocations: 0 / 312.9 MB, free: 10.12 MB / 298.7 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.002189/0.1754, allocations: 1.514 MB / 314.4 MB, free: 8.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.1754, allocations: 8.031 kB / 314.4 MB, free: 8.582 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.1765, allocations: 333.8 kB / 314.8 MB, free: 8.262 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.1768, allocations: 288.8 kB / 315 MB, free: 7.965 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.1768, allocations: 29.03 kB / 315.1 MB, free: 7.938 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.1769, allocations: 28.38 kB / 315.1 MB, free: 7.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00078/0.1776, allocations: 0.6685 MB / 315.8 MB, free: 7.172 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1777, allocations: 384 / 315.8 MB, free: 7.172 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/0.1777, allocations: 23.94 kB / 315.8 MB, free: 7.148 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.1777, allocations: 8 kB / 315.8 MB, free: 7.141 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005267/0.1782, allocations: 315.4 kB / 316.1 MB, free: 6.836 MB / 298.7 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.001219/0.1794, allocations: 1.537 MB / 317.6 MB, free: 5.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006503/0.1801, allocations: 333.3 kB / 318 MB, free: 4.945 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.682e-05/0.1802, allocations: 61.86 kB / 318 MB, free: 4.883 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1181/0.2982, allocations: 72.48 MB / 390.5 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.2983, allocations: 42.5 kB / 390.5 MB, free: 12.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 2.495e-06/0.2983, allocations: 0 / 390.5 MB, free: 12.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.001145/0.2994, allocations: 0.5228 MB / 391.1 MB, free: 11.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.2994, allocations: 55.41 kB / 391.1 MB, free: 11.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004164/0.2999, allocations: 263.9 kB / 391.4 MB, free: 11.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.2999, allocations: 33.7 kB / 391.4 MB, free: 11.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.552e-05/0.3, allocations: 184.8 kB / 391.6 MB, free: 11.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.147e-05/0.3, allocations: 87.08 kB / 391.7 MB, free: 11.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.668e-05/0.3001, allocations: 69.34 kB / 391.7 MB, free: 11.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.873e-05/0.3002, allocations: 346.6 kB / 392.1 MB, free: 10.87 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.293e-05/0.3002, allocations: 52.77 kB / 392.1 MB, free: 10.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.3003, allocations: 199.9 kB / 392.3 MB, free: 10.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.3005, allocations: 217.3 kB / 392.5 MB, free: 10.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3005, allocations: 0 / 392.5 MB, free: 10.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002205/0.3007, allocations: 222 kB / 392.8 MB, free: 10.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.3007, allocations: 11.98 kB / 392.8 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.3008, allocations: 2.875 kB / 392.8 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3008, allocations: 4.312 kB / 392.8 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.3009, allocations: 87.89 kB / 392.9 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.3009, allocations: 7.984 kB / 392.9 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.3011, allocations: 35.83 kB / 392.9 MB, free: 9.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.3011, allocations: 8 kB / 392.9 MB, free: 9.965 MB / 378.7 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_a.phase,V1.state_b.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.0001024/0.3012, allocations: 128.6 kB / 393 MB, free: 9.828 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.3012, allocations: 35.91 kB / 393.1 MB, free: 9.793 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000802/0.302, allocations: 1.123 MB / 394.2 MB, free: 8.691 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.3021, allocations: 31.94 kB / 394.2 MB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.3021, allocations: 0 / 394.2 MB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3021, allocations: 0 / 394.2 MB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004215/0.3025, allocations: 0.5446 MB / 394.8 MB, free: 8.129 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.3025, allocations: 0 / 394.8 MB, free: 8.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.3026, allocations: 69.25 kB / 394.8 MB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.915e-05/0.3027, allocations: 88.03 kB / 394.9 MB, free: 7.977 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3027, allocations: 7.938 kB / 394.9 MB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.3027, allocations: 4 kB / 394.9 MB, free: 7.965 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3027, allocations: 0 / 394.9 MB, free: 7.965 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3027, allocations: 0 / 394.9 MB, free: 7.965 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000445/0.3031, allocations: 0.6577 MB / 395.6 MB, free: 7.297 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.3032, allocations: 27.78 kB / 395.6 MB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.733e-05/0.3033, allocations: 21.23 kB / 395.6 MB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.725e-05/0.3033, allocations: 39.88 kB / 395.7 MB, free: 7.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.3033, allocations: 8 kB / 395.7 MB, free: 7.203 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001015/0.3034, allocations: 156.7 kB / 395.8 MB, free: 7.047 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3034, allocations: 0 / 395.8 MB, free: 7.047 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001887/0.3053, allocations: 0.998 MB / 396.8 MB, free: 6.047 MB / 378.7 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.002583/0.3079, allocations: 1.39 MB / 398.2 MB, free: 4.672 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002809/0.3082, allocations: 255.7 kB / 398.5 MB, free: 4.422 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/0.3082, allocations: 8 kB / 398.5 MB, free: 4.414 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004196/0.3086, allocations: 229.8 kB / 398.7 MB, free: 4.188 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007409/0.3094, allocations: 1.082 MB / 399.8 MB, free: 2.934 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004448/0.3138, allocations: 1.343 MB / 401.1 MB, free: 1.551 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.915e-05/0.3139, allocations: 189.4 kB / 401.3 MB, free: 1.348 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002439/0.3141, allocations: 266.5 kB / 401.6 MB, free: 1.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002883/0.3144, allocations: 201.1 kB / 401.8 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of SimCode: time 7.21e-07/0.3144, allocations: 0 / 401.8 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of Templates: time 0.03555/0.35, allocations: 39.18 MB / 441 MB, free: 9.766 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.750624873675406]