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.0008462/0.0008462, allocations: 80.45 kB / 20.69 MB, free: 3.875 MB / 18.57 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.0007754/0.0007754, allocations: 166.3 kB / 23.96 MB, free: 0.6055 MB / 18.57 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.8579/0.8579, allocations: 158.6 MB / 185.7 MB, free: 3.035 MB / 170.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.1358/0.1358, allocations: 32.38 MB / 270.4 MB, free: 14.96 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.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.492e-06/1.492e-06, allocations: 3.938 kB / 408.1 MB, free: 1.711 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.676e-05/1.825e-05, allocations: 10.02 kB / 408.1 MB, free: 1.703 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete): time 0.0167/0.01672, allocations: 25.63 MB / 433.7 MB, free: 7.98 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008733/0.02545, allocations: 11.77 MB / 445.5 MB, free: 12.17 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/0.02563, allocations: 11.88 kB / 445.5 MB, free: 12.16 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005009/0.02613, allocations: 238.3 kB / 445.8 MB, free: 11.92 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005067/0.03119, allocations: 3.682 MB / 449.4 MB, free: 8.227 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003587/0.03478, allocations: 2.387 MB / 451.8 MB, free: 5.828 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005761/0.03536, allocations: 0.9001 MB / 452.7 MB, free: 4.926 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002516/0.03561, allocations: 216.9 kB / 452.9 MB, free: 4.711 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005263/0.03614, allocations: 0.5374 MB / 453.5 MB, free: 4.172 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004258/0.03656, allocations: 235.3 kB / 453.7 MB, free: 3.941 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.142e-05/0.0366, allocations: 32 kB / 453.7 MB, free: 3.91 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006739/0.04334, allocations: 6.906 MB / 460.6 MB, free: 13 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.253e-05/0.04342, allocations: 103.6 kB / 460.7 MB, free: 12.89 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003573/0.04378, allocations: 155.7 kB / 460.9 MB, free: 12.74 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00427/0.04805, allocations: 5.531 MB / 466.4 MB, free: 7.199 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.04805, allocations: 0 / 466.4 MB, free: 7.199 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.04806, allocations: 0 / 466.4 MB, free: 7.199 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.04806, allocations: 0 / 466.4 MB, free: 7.199 MB / 442.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.001477/0.04954, allocations: 1.176 MB / 467.6 MB, free: 5.98 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.04958, allocations: 16.02 kB / 467.6 MB, free: 5.965 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008132/0.05039, allocations: 212.5 kB / 467.8 MB, free: 5.758 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007426/0.05113, allocations: 316.5 kB / 468.1 MB, free: 5.426 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.05116, allocations: 25.03 kB / 468.2 MB, free: 5.402 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.05119, allocations: 28.38 kB / 468.2 MB, free: 5.375 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008344/0.05202, allocations: 0.7336 MB / 468.9 MB, free: 4.566 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.05203, allocations: 192 / 468.9 MB, free: 4.566 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/0.05206, allocations: 15.94 kB / 468.9 MB, free: 4.551 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.05207, allocations: 8 kB / 469 MB, free: 4.543 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007746/0.05284, allocations: 0.5253 MB / 469.5 MB, free: 4.016 MB / 442.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.001497/0.05434, allocations: 1.841 MB / 471.3 MB, free: 2.105 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007862/0.05513, allocations: 442.1 kB / 471.7 MB, free: 1.664 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.05535, allocations: 172.7 kB / 471.9 MB, free: 1.492 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1592/0.2146, allocations: 12.71 MB / 484.6 MB, free: 100.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.2146, allocations: 37.53 kB / 484.7 MB, free: 100.6 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 1.913e-06/0.2146, allocations: 0 / 484.7 MB, free: 100.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.001429/0.216, allocations: 0.7896 MB / 485.5 MB, free: 100.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.216, allocations: 105.8 kB / 485.6 MB, free: 100.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.2162, allocations: 278.4 kB / 485.8 MB, free: 100.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.2162, allocations: 29.7 kB / 485.9 MB, free: 100.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.474e-05/0.2163, allocations: 219 kB / 486.1 MB, free: 99.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.2163, allocations: 81.39 kB / 486.2 MB, free: 99.93 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.361e-05/0.2164, allocations: 73.66 kB / 486.2 MB, free: 99.89 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.145e-05/0.2164, allocations: 340.1 kB / 486.6 MB, free: 99.57 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.2166, allocations: 140.5 kB / 486.7 MB, free: 99.53 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.2168, allocations: 295.1 kB / 487 MB, free: 99.31 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000366/0.2172, allocations: 355.7 kB / 487.3 MB, free: 99.13 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2172, allocations: 0.9375 kB / 487.3 MB, free: 99.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004602/0.2177, allocations: 421.6 kB / 487.7 MB, free: 98.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2177, allocations: 6.625 kB / 487.8 MB, free: 98.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.2177, allocations: 0 / 487.8 MB, free: 98.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.2177, allocations: 6.156 kB / 487.8 MB, free: 98.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.2178, allocations: 83.27 kB / 487.8 MB, free: 98.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2179, allocations: 6.969 kB / 487.8 MB, free: 98.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.218, allocations: 52.19 kB / 487.9 MB, free: 98.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.218, allocations: 12.66 kB / 487.9 MB, free: 98.95 MB / 442.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_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 9.909e-05/0.2181, allocations: 162 kB / 488.1 MB, free: 98.81 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.646e-05/0.2181, allocations: 32.47 kB / 488.1 MB, free: 98.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.2193, allocations: 1.987 MB / 490.1 MB, free: 97.95 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.2193, allocations: 28.36 kB / 490.1 MB, free: 97.94 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2193, allocations: 0 / 490.1 MB, free: 97.94 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.2193, allocations: 0 / 490.1 MB, free: 97.94 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004213/0.2197, allocations: 0.8754 MB / 491 MB, free: 97.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.2197, allocations: 3.125 kB / 491 MB, free: 97.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.2199, allocations: 73.75 kB / 491.1 MB, free: 97.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2199, allocations: 1.641 kB / 491.1 MB, free: 97.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.2199, allocations: 7.281 kB / 491.1 MB, free: 97.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2199, allocations: 6.609 kB / 491.1 MB, free: 97.47 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2199, allocations: 0 / 491.1 MB, free: 97.47 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006934/0.2206, allocations: 1.119 MB / 492.2 MB, free: 96.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-05/0.2206, allocations: 86.31 kB / 492.3 MB, free: 96.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.2206, allocations: 25.61 kB / 492.3 MB, free: 96.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.2208, allocations: 23.11 kB / 492.3 MB, free: 96.88 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/0.2208, allocations: 38.39 kB / 492.4 MB, free: 96.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.2208, allocations: 9.594 kB / 492.4 MB, free: 96.87 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001572/0.221, allocations: 296.9 kB / 492.7 MB, free: 96.72 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.221, allocations: 4 kB / 492.7 MB, free: 96.71 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001461/0.2224, allocations: 1.01 MB / 493.7 MB, free: 96.62 MB / 442.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.002462/0.2249, allocations: 1.301 MB / 495 MB, free: 96.35 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006001/0.2255, allocations: 0.5858 MB / 495.6 MB, free: 96.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2255, allocations: 4 kB / 495.6 MB, free: 96.15 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00033/0.2258, allocations: 422.5 kB / 496 MB, free: 96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005511/0.2264, allocations: 199.2 kB / 496.2 MB, free: 95.96 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.2277, allocations: 1.553 MB / 497.7 MB, free: 95.14 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002072/0.2279, allocations: 368.4 kB / 498.1 MB, free: 95.04 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/0.2279, allocations: 43.47 kB / 498.1 MB, free: 95.03 MB / 442.7 MB Notification: Performance of SimCode: time 4.91e-07/0.2279, allocations: 0 / 498.1 MB, free: 95.03 MB / 442.7 MB Notification: Performance of Templates: time 0.01705/0.245, allocations: 24.12 MB / 0.51 GB, free: 81.81 MB / 442.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=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: 6.660710029304028]