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.002855/0.002855, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.002483/0.002483, allocations: 165.2 kB / 23.53 MB, free: 0.8945 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 2.006/2.006, allocations: 158.6 MB / 185.3 MB, free: 2.848 MB / 170.7 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.2768/0.2768, allocations: 32.38 MB / 270 MB, free: 14.77 MB / 266.7 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 3.006e-06/3.006e-06, allocations: 0 / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.884e-05/5.185e-05, allocations: 10.25 kB / 346.9 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete): time 0.04748/0.04753, allocations: 28.59 MB / 375.5 MB, free: 13.1 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02755/0.07508, allocations: 13.08 MB / 388.6 MB, free: 15.97 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008087/0.07589, allocations: 11.88 kB / 388.6 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.07706, allocations: 238.3 kB / 388.9 MB, free: 15.72 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01734/0.0944, allocations: 3.67 MB / 392.5 MB, free: 12.04 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01058/0.105, allocations: 2.39 MB / 394.9 MB, free: 9.641 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001899/0.1069, allocations: 0.9078 MB / 395.8 MB, free: 8.73 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005547/0.1074, allocations: 217 kB / 396 MB, free: 8.516 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001308/0.1087, allocations: 0.5334 MB / 396.6 MB, free: 7.98 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005034/0.1092, allocations: 247.3 kB / 396.8 MB, free: 7.738 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.473e-05/0.1093, allocations: 32 kB / 396.9 MB, free: 7.707 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02117/0.1305, allocations: 6.898 MB / 403.8 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004028/0.1309, allocations: 103.6 kB / 403.9 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006106/0.1315, allocations: 159.6 kB / 404 MB, free: 0.543 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02269/0.1542, allocations: 5.538 MB / 409.5 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.273e-05/0.1542, allocations: 0 / 409.5 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.757e-06/0.1542, allocations: 0 / 409.5 MB, free: 10.99 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.646e-05/0.1542, allocations: 0 / 409.5 MB, free: 10.99 MB / 346.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.005639/0.1599, allocations: 1.283 MB / 410.8 MB, free: 9.668 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.454e-05/0.1599, allocations: 12.03 kB / 410.8 MB, free: 9.656 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001984/0.1619, allocations: 299.7 kB / 411.1 MB, free: 9.363 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008612/0.1628, allocations: 335.3 kB / 411.5 MB, free: 9.004 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.291e-05/0.1628, allocations: 25.03 kB / 411.5 MB, free: 8.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.898e-05/0.1629, allocations: 28.38 kB / 411.5 MB, free: 8.953 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/0.1647, allocations: 0.7366 MB / 412.3 MB, free: 8.125 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.474e-05/0.1647, allocations: 4.188 kB / 412.3 MB, free: 8.121 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.29e-05/0.1648, allocations: 15.94 kB / 412.3 MB, free: 8.105 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.1648, allocations: 8 kB / 412.3 MB, free: 8.098 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/0.1665, allocations: 486.1 kB / 412.8 MB, free: 7.625 MB / 346.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.004888/0.1714, allocations: 2.418 MB / 415.2 MB, free: 5.121 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.173, allocations: 413 kB / 415.6 MB, free: 4.707 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004039/0.1734, allocations: 159.6 kB / 415.7 MB, free: 4.547 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05236/0.2257, allocations: 12.74 MB / 428.5 MB, free: 7.789 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.094e-05/0.2258, allocations: 45.33 kB / 428.5 MB, free: 7.734 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.985e-06/0.2258, allocations: 0 / 428.5 MB, free: 7.734 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.002934/0.2287, allocations: 0.7602 MB / 429.3 MB, free: 6.969 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.2289, allocations: 110.8 kB / 429.4 MB, free: 6.836 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006055/0.2295, allocations: 374.2 kB / 429.7 MB, free: 6.453 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.286e-05/0.2295, allocations: 29.7 kB / 429.8 MB, free: 6.418 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003274/0.2299, allocations: 267.1 kB / 430 MB, free: 6.152 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.23, allocations: 91.23 kB / 430.1 MB, free: 6.062 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/0.2302, allocations: 87.34 kB / 430.2 MB, free: 5.969 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003972/0.2306, allocations: 0.5313 MB / 430.7 MB, free: 5.426 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003615/0.231, allocations: 115.9 kB / 430.9 MB, free: 5.312 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005879/0.2315, allocations: 307 kB / 431.2 MB, free: 4.945 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008519/0.2324, allocations: 361.1 kB / 431.5 MB, free: 4.547 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.2324, allocations: 0 / 431.5 MB, free: 4.547 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001112/0.2335, allocations: 393 kB / 431.9 MB, free: 4.156 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.461e-05/0.2336, allocations: 8 kB / 431.9 MB, free: 4.148 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.2336, allocations: 4 kB / 431.9 MB, free: 4.145 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.019e-05/0.2336, allocations: 4 kB / 431.9 MB, free: 4.141 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003367/0.2339, allocations: 80.2 kB / 432 MB, free: 4.062 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/0.2339, allocations: 4 kB / 432 MB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/0.2342, allocations: 35.77 kB / 432 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.881e-05/0.2343, allocations: 19.94 kB / 432 MB, free: 4.004 MB / 362.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 0.0003297/0.2346, allocations: 196.5 kB / 432.2 MB, free: 3.801 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.2347, allocations: 39.81 kB / 432.3 MB, free: 3.762 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002396/0.2371, allocations: 1.31 MB / 433.6 MB, free: 2.441 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.681e-05/0.2372, allocations: 27.95 kB / 433.6 MB, free: 2.414 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2372, allocations: 0 / 433.6 MB, free: 2.414 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.978e-06/0.2372, allocations: 3.984 kB / 433.6 MB, free: 2.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.2387, allocations: 0.7228 MB / 434.3 MB, free: 1.652 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.2387, allocations: 0 / 434.3 MB, free: 1.652 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.2389, allocations: 55.91 kB / 434.4 MB, free: 1.598 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.239, allocations: 4 kB / 434.4 MB, free: 1.594 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.239, allocations: 11.98 kB / 434.4 MB, free: 1.582 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.239, allocations: 0 / 434.4 MB, free: 1.582 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.239, allocations: 4 kB / 434.4 MB, free: 1.578 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.2407, allocations: 0.9123 MB / 435.3 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001924/0.2409, allocations: 83.16 kB / 435.4 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.82e-05/0.241, allocations: 23.84 kB / 435.4 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.2412, allocations: 19.98 kB / 435.5 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.2414, allocations: 39.88 kB / 435.5 MB, free: 492 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.963e-05/0.2414, allocations: 15.98 kB / 435.5 MB, free: 476 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005599/0.242, allocations: 347 kB / 435.8 MB, free: 128 kB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.242, allocations: 0 / 435.8 MB, free: 128 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.3268/0.5687, allocations: 1.001 MB / 436.8 MB, free: 95.85 MB / 362.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.008777/0.5775, allocations: 1.312 MB / 438.2 MB, free: 95.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001779/0.5793, allocations: 424.7 kB / 438.6 MB, free: 95.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.5793, allocations: 1.938 kB / 438.6 MB, free: 95.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007164/0.58, allocations: 320.2 kB / 438.9 MB, free: 95.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.5815, allocations: 207.3 kB / 439.1 MB, free: 95.72 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00343/0.585, allocations: 1.392 MB / 440.5 MB, free: 95.17 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007997/0.5858, allocations: 368.3 kB / 440.8 MB, free: 95.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009401/0.5867, allocations: 271.5 kB / 441.1 MB, free: 95.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.5869, allocations: 46.27 kB / 441.2 MB, free: 95.05 MB / 362.7 MB Notification: Performance of SimCode: time 4.359e-06/0.5869, allocations: 0 / 441.2 MB, free: 95.05 MB / 362.7 MB Notification: Performance of Templates: time 0.06645/0.6533, allocations: 39.97 MB / 481.1 MB, free: 57.85 MB / 362.7 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=240 -emit_protected -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","/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: 9.800454527954571]