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.001438/0.001438, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001527/0.001527, allocations: 169.3 kB / 24.14 MB, free: 364 kB / 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.8747/0.8747, allocations: 158.6 MB / 186 MB, free: 2.773 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.1204/0.1204, allocations: 32.37 MB / 270.7 MB, free: 14.61 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.663e-06/1.663e-06, allocations: 0 / 299.1 MB, free: 2.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.38e-05/1.546e-05, allocations: 2.312 kB / 299.1 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete): time 0.1428/0.1428, allocations: 14.72 MB / 313.8 MB, free: 12.07 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008664/0.1515, allocations: 11.84 MB / 325.7 MB, free: 3.172 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001812/0.1517, allocations: 18.25 kB / 325.7 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003797/0.152, allocations: 141.3 kB / 325.8 MB, free: 3.043 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006054/0.1581, allocations: 3.326 MB / 329.2 MB, free: 152 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003911/0.162, allocations: 1.945 MB / 331.1 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008288/0.1628, allocations: 0.9389 MB / 332 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002782/0.1631, allocations: 221.1 kB / 332.3 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005879/0.1637, allocations: 0.5413 MB / 332.8 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.1639, allocations: 223.3 kB / 333 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.207e-05/0.164, allocations: 32 kB / 333 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01013/0.1741, allocations: 7.242 MB / 340.3 MB, free: 4.984 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.1742, allocations: 107.6 kB / 340.4 MB, free: 4.879 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.1744, allocations: 155.7 kB / 340.5 MB, free: 4.727 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007269/0.1816, allocations: 5.219 MB / 345.8 MB, free: 15.49 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1816, allocations: 0 / 345.8 MB, free: 15.49 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1816, allocations: 4 kB / 345.8 MB, free: 15.49 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1816, allocations: 0 / 345.8 MB, free: 15.49 MB / 314.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.001906/0.1835, allocations: 1.108 MB / 346.9 MB, free: 14.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.1836, allocations: 11.97 kB / 346.9 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.1846, allocations: 335.8 kB / 347.2 MB, free: 14.01 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.1849, allocations: 280.5 kB / 347.5 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.1849, allocations: 29.03 kB / 347.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.1849, allocations: 28.38 kB / 347.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007842/0.1857, allocations: 0.6757 MB / 348.2 MB, free: 12.9 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1857, allocations: 192 / 348.2 MB, free: 12.9 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.1858, allocations: 18.66 kB / 348.2 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.1858, allocations: 8 kB / 348.2 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005278/0.1863, allocations: 321.7 kB / 348.6 MB, free: 12.56 MB / 314.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.001204/0.1875, allocations: 1.525 MB / 350.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006537/0.1882, allocations: 350.4 kB / 350.4 MB, free: 10.63 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.6e-05/0.1882, allocations: 52.83 kB / 350.5 MB, free: 10.58 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1172/0.3054, allocations: 72.48 MB / 423 MB, free: 2.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.3054, allocations: 34.56 kB / 423 MB, free: 1.977 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 1.994e-06/0.3054, allocations: 0 / 423 MB, free: 1.977 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.001164/0.3066, allocations: 0.5239 MB / 423.5 MB, free: 1.445 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.3066, allocations: 110.8 kB / 423.6 MB, free: 1.312 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.3068, allocations: 258.9 kB / 423.9 MB, free: 1.047 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.3068, allocations: 29.7 kB / 423.9 MB, free: 1.012 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.71e-05/0.3069, allocations: 184.9 kB / 424.1 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.129e-05/0.3069, allocations: 87.2 kB / 424.2 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.221e-05/0.307, allocations: 73.64 kB / 424.2 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.117e-05/0.3071, allocations: 338.8 kB / 424.6 MB, free: 332 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.227e-05/0.3071, allocations: 50.03 kB / 424.6 MB, free: 284 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.3073, allocations: 197.1 kB / 424.8 MB, free: 32 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.3074, allocations: 210.3 kB / 425 MB, free: 15.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3074, allocations: 0 / 425 MB, free: 15.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002855/0.3077, allocations: 229.2 kB / 425.3 MB, free: 15.56 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3077, allocations: 8 kB / 425.3 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.3077, allocations: 0 / 425.3 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.3078, allocations: 4 kB / 425.3 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.3079, allocations: 79.83 kB / 425.3 MB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.3079, allocations: 4.312 kB / 425.3 MB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.308, allocations: 41.02 kB / 425.4 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.3081, allocations: 15.98 kB / 425.4 MB, free: 15.41 MB / 394.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 9.594e-05/0.3082, allocations: 132.4 kB / 425.5 MB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.3082, allocations: 31.91 kB / 425.6 MB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008136/0.309, allocations: 1.124 MB / 426.7 MB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/0.309, allocations: 31.94 kB / 426.7 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.309, allocations: 0 / 426.7 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.309, allocations: 4 kB / 426.7 MB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004224/0.3095, allocations: 0.5385 MB / 427.3 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.3095, allocations: 0 / 427.3 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.3096, allocations: 59.95 kB / 427.3 MB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3096, allocations: 7.938 kB / 427.3 MB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.3096, allocations: 7.938 kB / 427.3 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3096, allocations: 4 kB / 427.3 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.3096, allocations: 7.938 kB / 427.3 MB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004639/0.3101, allocations: 0.6521 MB / 428 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.3101, allocations: 83.16 kB / 428.1 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.3101, allocations: 27.77 kB / 428.1 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.678e-05/0.3102, allocations: 19.98 kB / 428.1 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/0.3103, allocations: 27.94 kB / 428.2 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.3103, allocations: 11.98 kB / 428.2 MB, free: 12.6 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001069/0.3104, allocations: 160.7 kB / 428.3 MB, free: 12.44 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3104, allocations: 0 / 428.3 MB, free: 12.44 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001781/0.3122, allocations: 0.9981 MB / 429.3 MB, free: 11.44 MB / 394.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.002484/0.3147, allocations: 1.367 MB / 430.7 MB, free: 10.08 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002819/0.315, allocations: 258.8 kB / 430.9 MB, free: 9.824 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.315, allocations: 4 kB / 430.9 MB, free: 9.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.3151, allocations: 200.6 kB / 431.1 MB, free: 9.625 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005014/0.3156, allocations: 214.8 kB / 431.3 MB, free: 9.434 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.317, allocations: 1.335 MB / 432.7 MB, free: 8.055 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.757e-05/0.3171, allocations: 181.5 kB / 432.9 MB, free: 7.855 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002348/0.3174, allocations: 257.7 kB / 433.1 MB, free: 7.609 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.3177, allocations: 209.1 kB / 433.3 MB, free: 7.402 MB / 394.7 MB Notification: Performance of SimCode: time 8.42e-07/0.3177, allocations: 0 / 433.3 MB, free: 7.402 MB / 394.7 MB Notification: Performance of Templates: time 0.1513/0.4689, allocations: 44.16 MB / 477.5 MB, free: 113.2 MB / 410.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 -s gbode -gbm=radauIIA3 -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.712912444956601]