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.001415/0.001415, allocations: 88.23 kB / 20.21 MB, free: 4.227 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.001593/0.001593, allocations: 157.7 kB / 23.52 MB, free: 0.918 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 1.411/1.411, allocations: 158.6 MB / 185.3 MB, free: 2.902 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.2257/0.2257, allocations: 32.38 MB / 270 MB, free: 14.78 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 2.505e-06/2.505e-06, allocations: 0 / 346.9 MB, free: 9.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.093e-05/3.343e-05, allocations: 10.31 kB / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete): time 0.03482/0.03485, allocations: 25.63 MB / 372.6 MB, free: 76 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02095/0.0558, allocations: 11.78 MB / 384.3 MB, free: 4.258 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005724/0.05637, allocations: 19.81 kB / 384.4 MB, free: 4.238 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.05751, allocations: 234.3 kB / 384.6 MB, free: 4.008 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01203/0.06954, allocations: 3.67 MB / 388.3 MB, free: 332 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007796/0.07734, allocations: 2.386 MB / 390.6 MB, free: 13.93 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001506/0.07885, allocations: 0.9078 MB / 391.6 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000541/0.07939, allocations: 217 kB / 391.8 MB, free: 12.8 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001395/0.08078, allocations: 0.5413 MB / 392.3 MB, free: 12.26 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005343/0.08132, allocations: 231.3 kB / 392.5 MB, free: 12.04 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.945e-05/0.08141, allocations: 32 kB / 392.6 MB, free: 12 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01575/0.09716, allocations: 6.912 MB / 399.5 MB, free: 5.086 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002686/0.09743, allocations: 103.6 kB / 399.6 MB, free: 4.984 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004036/0.09783, allocations: 159.7 kB / 399.7 MB, free: 4.828 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01432/0.1122, allocations: 5.531 MB / 405.3 MB, free: 15.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.1122, allocations: 0 / 405.3 MB, free: 15.29 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1122, allocations: 0 / 405.3 MB, free: 15.29 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.829e-05/0.1122, allocations: 0 / 405.3 MB, free: 15.29 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.005666/0.1178, allocations: 1.176 MB / 406.4 MB, free: 14.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.1179, allocations: 8.031 kB / 406.4 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002216/0.1201, allocations: 307.7 kB / 406.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009844/0.1211, allocations: 328.5 kB / 407.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.356e-05/0.1212, allocations: 25.03 kB / 407.1 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.039e-05/0.1213, allocations: 40.3 kB / 407.1 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002299/0.1236, allocations: 0.7374 MB / 407.9 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.1236, allocations: 192 / 407.9 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.998e-05/0.1236, allocations: 19.94 kB / 407.9 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.1236, allocations: 8 kB / 407.9 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002041/0.1257, allocations: 0.5253 MB / 408.4 MB, free: 11.98 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.003596/0.1293, allocations: 1.856 MB / 410.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/0.1311, allocations: 434.2 kB / 410.7 MB, free: 9.621 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005107/0.1316, allocations: 180.7 kB / 410.9 MB, free: 9.441 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04919/0.1808, allocations: 12.72 MB / 423.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.152e-05/0.1809, allocations: 42.5 kB / 423.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 1.874e-06/0.1809, allocations: 0 / 423.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.00349/0.1844, allocations: 0.8382 MB / 424.5 MB, free: 11.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.1845, allocations: 110.8 kB / 424.6 MB, free: 11.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000463/0.1849, allocations: 280.1 kB / 424.9 MB, free: 11.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.933e-05/0.185, allocations: 29.7 kB / 424.9 MB, free: 11.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.1852, allocations: 204.5 kB / 425.1 MB, free: 11.15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.1853, allocations: 91.25 kB / 425.2 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.1855, allocations: 73.64 kB / 425.3 MB, free: 10.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002257/0.1857, allocations: 342.8 kB / 425.6 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004638/0.1861, allocations: 135.9 kB / 425.7 MB, free: 10.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006025/0.1867, allocations: 294.1 kB / 426 MB, free: 10.17 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009506/0.1877, allocations: 354 kB / 426.4 MB, free: 9.789 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.1877, allocations: 0 / 426.4 MB, free: 9.789 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001251/0.189, allocations: 440.9 kB / 426.8 MB, free: 9.352 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.189, allocations: 8 kB / 426.8 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.189, allocations: 0 / 426.8 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.759e-05/0.189, allocations: 4 kB / 426.8 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003697/0.1894, allocations: 88.19 kB / 426.9 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.1894, allocations: 4 kB / 426.9 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003369/0.1897, allocations: 51.69 kB / 426.9 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-05/0.1898, allocations: 19.94 kB / 427 MB, free: 9.18 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.0002468/0.19, allocations: 161.7 kB / 427.1 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.1902, allocations: 39.81 kB / 427.2 MB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00323/0.1934, allocations: 1.982 MB / 429.1 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.851e-05/0.1934, allocations: 27.95 kB / 429.2 MB, free: 6.953 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-05/0.1934, allocations: 0 / 429.2 MB, free: 6.953 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.1935, allocations: 7.984 kB / 429.2 MB, free: 6.945 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/0.1949, allocations: 0.868 MB / 430 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.1949, allocations: 0 / 430 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003407/0.1953, allocations: 67.88 kB / 430.1 MB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.1953, allocations: 0 / 430.1 MB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/0.1953, allocations: 15.98 kB / 430.1 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1953, allocations: 0 / 430.1 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1953, allocations: 0 / 430.1 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/0.1973, allocations: 1.119 MB / 431.2 MB, free: 4.828 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001598/0.1974, allocations: 91.08 kB / 431.3 MB, free: 4.738 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.928e-05/0.1975, allocations: 31.78 kB / 431.4 MB, free: 4.707 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000298/0.1978, allocations: 19.98 kB / 431.4 MB, free: 4.688 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.1979, allocations: 39.8 kB / 431.4 MB, free: 4.648 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-05/0.198, allocations: 15.98 kB / 431.4 MB, free: 4.633 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004322/0.1984, allocations: 299.1 kB / 431.7 MB, free: 4.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1984, allocations: 0 / 431.7 MB, free: 4.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003332/0.2017, allocations: 1.002 MB / 432.7 MB, free: 3.336 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.005953/0.2077, allocations: 1.311 MB / 434 MB, free: 2.023 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001547/0.2092, allocations: 0.595 MB / 434.6 MB, free: 1.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.2093, allocations: 0 / 434.6 MB, free: 1.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008122/0.2101, allocations: 418.2 kB / 435 MB, free: 1.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.2114, allocations: 217.6 kB / 435.3 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1485/0.3598, allocations: 1.529 MB / 436.8 MB, free: 95.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.3602, allocations: 375.2 kB / 437.2 MB, free: 94.94 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004786/0.3607, allocations: 267.6 kB / 437.4 MB, free: 94.94 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.3608, allocations: 42.7 kB / 437.5 MB, free: 94.93 MB / 362.7 MB Notification: Performance of SimCode: time 3.015e-06/0.3608, allocations: 0 / 437.5 MB, free: 94.93 MB / 362.7 MB Notification: Performance of Templates: time 0.04652/0.4074, allocations: 39.33 MB / 476.8 MB, free: 61.84 MB / 362.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: 7.708533286000602]