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.0007453/0.0007453, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009433/0.001689, allocations: 447.8 kB / 10.35 MB, free: 348 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.0006814/0.0006814, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008801/0.001562, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.8805/0.8805, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1751/1.056, allocations: 49.5 MB / 220.5 MB, free: 5.273 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.1243/0.1243, allocations: 32.34 MB / 253.6 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02188/0.1462, allocations: 12.29 MB / 265.9 MB, free: 7.84 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.293e-06/1.293e-06, allocations: 0 / 267.2 MB, free: 6.547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.042e-05/1.171e-05, allocations: 2.312 kB / 267.2 MB, free: 6.543 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete): time 0.01288/0.01289, allocations: 14.78 MB / 282 MB, free: 7.699 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01068/0.02356, allocations: 11.92 MB / 293.9 MB, free: 11.74 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002439/0.02381, allocations: 15.81 kB / 293.9 MB, free: 11.72 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003176/0.02412, allocations: 139 kB / 294.1 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006307/0.03043, allocations: 3.326 MB / 297.4 MB, free: 8.246 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003637/0.03407, allocations: 1.945 MB / 299.3 MB, free: 6.293 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008274/0.0349, allocations: 0.9275 MB / 300.3 MB, free: 5.363 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002859/0.03518, allocations: 228.9 kB / 300.5 MB, free: 5.133 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006509/0.03583, allocations: 0.5616 MB / 301 MB, free: 4.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.03606, allocations: 223.3 kB / 301.3 MB, free: 4.352 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.826e-05/0.03609, allocations: 36 kB / 301.3 MB, free: 4.316 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009532/0.04563, allocations: 7.246 MB / 308.5 MB, free: 13.06 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.04576, allocations: 79.73 kB / 308.6 MB, free: 12.98 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.04593, allocations: 135.8 kB / 308.8 MB, free: 12.85 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007704/0.05364, allocations: 4 MB / 312.8 MB, free: 8.844 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.56e-05/0.05365, allocations: 0 / 312.8 MB, free: 8.844 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.05365, allocations: 0 / 312.8 MB, free: 8.844 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.737e-05/0.05367, allocations: 0 / 312.8 MB, free: 8.844 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.002589/0.05626, allocations: 1.512 MB / 314.3 MB, free: 7.285 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.0563, allocations: 12.03 kB / 314.3 MB, free: 7.273 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009231/0.05722, allocations: 335.9 kB / 314.6 MB, free: 6.945 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.05755, allocations: 280.5 kB / 314.9 MB, free: 6.641 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.123e-05/0.05758, allocations: 25.03 kB / 314.9 MB, free: 6.613 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.05761, allocations: 28.38 kB / 314.9 MB, free: 6.586 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007671/0.05838, allocations: 0.6744 MB / 315.6 MB, free: 5.832 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.05839, allocations: 4.125 kB / 315.6 MB, free: 5.828 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.05841, allocations: 19.94 kB / 315.6 MB, free: 5.809 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.05842, allocations: 8 kB / 315.6 MB, free: 5.801 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005004/0.05892, allocations: 329.7 kB / 316 MB, free: 5.473 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.001424/0.06035, allocations: 1.529 MB / 317.5 MB, free: 3.887 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006279/0.06097, allocations: 342 kB / 317.8 MB, free: 3.543 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.958e-05/0.06104, allocations: 60.78 kB / 317.9 MB, free: 3.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2627/0.3237, allocations: 72.48 MB / 390.4 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.3237, allocations: 38.5 kB / 390.4 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 2.745e-06/0.3237, allocations: 0.8438 kB / 390.4 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.001051/0.3248, allocations: 0.5224 MB / 390.9 MB, free: 384 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.417e-05/0.3248, allocations: 55.41 kB / 391 MB, free: 316 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.325, allocations: 261.2 kB / 391.2 MB, free: 88 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.325, allocations: 29.33 kB / 391.3 MB, free: 56 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.815e-05/0.3251, allocations: 183 kB / 391.4 MB, free: 15.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.45e-05/0.3251, allocations: 91.72 kB / 391.5 MB, free: 15.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.965e-05/0.3252, allocations: 66.39 kB / 391.6 MB, free: 15.81 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.292e-05/0.3253, allocations: 343.1 kB / 391.9 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.607e-05/0.3253, allocations: 47.94 kB / 392 MB, free: 15.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.3255, allocations: 204.9 kB / 392.2 MB, free: 15.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.3256, allocations: 206.5 kB / 392.4 MB, free: 14.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3256, allocations: 8.031 kB / 392.4 MB, free: 14.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002217/0.3259, allocations: 216.5 kB / 392.6 MB, free: 14.78 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3259, allocations: 8 kB / 392.6 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.3259, allocations: 7.938 kB / 392.6 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.3259, allocations: 4 kB / 392.6 MB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.3261, allocations: 85.61 kB / 392.7 MB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.3261, allocations: 8 kB / 392.7 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003761/0.3264, allocations: 34.19 kB / 392.7 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.3265, allocations: 15.55 kB / 392.8 MB, free: 14.64 MB / 346.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.0001075/0.3266, allocations: 137.3 kB / 392.9 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.3266, allocations: 24.86 kB / 392.9 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008389/0.3274, allocations: 1.115 MB / 394 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.157e-05/0.3275, allocations: 34.69 kB / 394.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.3275, allocations: 0 / 394.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3275, allocations: 0 / 394.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004597/0.3279, allocations: 0.5419 MB / 394.6 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.3279, allocations: 0 / 394.6 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.3281, allocations: 66.58 kB / 394.7 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-05/0.3281, allocations: 90.12 kB / 394.8 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.3281, allocations: 5.25 kB / 394.8 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.3281, allocations: 6.125 kB / 394.8 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.3282, allocations: 7.938 kB / 394.8 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3282, allocations: 0 / 394.8 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004712/0.3286, allocations: 0.6538 MB / 395.4 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.3287, allocations: 23.53 kB / 395.4 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.865e-05/0.3288, allocations: 19.86 kB / 395.5 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.711e-05/0.3288, allocations: 39.56 kB / 395.5 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.3288, allocations: 15.8 kB / 395.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001081/0.3289, allocations: 156.6 kB / 395.7 MB, free: 12.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3289, allocations: 0 / 395.7 MB, free: 12.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001887/0.3308, allocations: 0.9977 MB / 396.7 MB, free: 11.11 MB / 346.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.002798/0.3336, allocations: 1.395 MB / 398.1 MB, free: 9.871 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003205/0.3339, allocations: 258.1 kB / 398.3 MB, free: 9.637 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.738e-05/0.334, allocations: 4.625 kB / 398.3 MB, free: 9.633 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.3342, allocations: 204.9 kB / 398.5 MB, free: 9.453 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005897/0.3347, allocations: 260.7 kB / 398.8 MB, free: 9.254 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004707/0.3394, allocations: 1.342 MB / 400.1 MB, free: 8.023 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.3396, allocations: 181.5 kB / 400.3 MB, free: 7.816 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003005/0.3399, allocations: 263 kB / 400.6 MB, free: 7.574 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003013/0.3402, allocations: 200 kB / 400.8 MB, free: 7.391 MB / 346.7 MB Notification: Performance of SimCode: time 1.212e-06/0.3402, allocations: 0 / 400.8 MB, free: 7.391 MB / 346.7 MB Notification: Performance of Templates: time 0.04338/0.3835, allocations: 44.47 MB / 445.2 MB, free: 11.3 MB / 394.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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.5874020624905825]