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.001435/0.001435, allocations: 91.31 kB / 20.42 MB, free: 4.137 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.00171/0.00171, allocations: 169 kB / 23.8 MB, free: 0.7656 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.9387/0.9387, allocations: 158.6 MB / 185.7 MB, free: 2.48 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.1302/0.1302, allocations: 32.37 MB / 270.4 MB, free: 14.68 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.723e-06/1.723e-06, allocations: 0 / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.732e-05/1.905e-05, allocations: 14.19 kB / 347.7 MB, free: 9.422 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete): time 0.0134/0.01342, allocations: 14.73 MB / 362.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01007/0.02349, allocations: 11.87 MB / 374.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002388/0.02373, allocations: 11.88 kB / 374.3 MB, free: 14.71 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004765/0.0242, allocations: 146.9 kB / 374.4 MB, free: 14.57 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007006/0.03121, allocations: 3.674 MB / 378.1 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004516/0.03572, allocations: 2.085 MB / 380.2 MB, free: 8.789 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001001/0.03673, allocations: 0.9275 MB / 381.1 MB, free: 7.859 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000338/0.03706, allocations: 228.9 kB / 381.3 MB, free: 7.633 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007436/0.03781, allocations: 0.5258 MB / 381.9 MB, free: 7.105 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002879/0.03809, allocations: 243.3 kB / 382.1 MB, free: 6.867 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.884e-05/0.03814, allocations: 32 kB / 382.1 MB, free: 6.836 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01051/0.04866, allocations: 6.754 MB / 388.9 MB, free: 76 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001915/0.04885, allocations: 107.6 kB / 389 MB, free: 15.97 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002966/0.04914, allocations: 159.7 kB / 389.1 MB, free: 15.81 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.05952, allocations: 5.215 MB / 394.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.05953, allocations: 0 / 394.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.05953, allocations: 3.938 kB / 394.4 MB, free: 10.58 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.545e-06/0.05954, allocations: 0 / 394.4 MB, free: 10.58 MB / 330.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.002411/0.06195, allocations: 1.225 MB / 395.6 MB, free: 9.316 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.06199, allocations: 8.031 kB / 395.6 MB, free: 9.309 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009907/0.06298, allocations: 307.8 kB / 395.9 MB, free: 9.008 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003862/0.06336, allocations: 327.2 kB / 396.2 MB, free: 8.656 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.06339, allocations: 29.03 kB / 396.2 MB, free: 8.629 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.906e-05/0.06343, allocations: 32.38 kB / 396.3 MB, free: 8.598 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000854/0.06428, allocations: 0.706 MB / 397 MB, free: 7.797 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.06429, allocations: 4.188 kB / 397 MB, free: 7.793 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.06432, allocations: 15.94 kB / 397 MB, free: 7.777 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.06433, allocations: 8 kB / 397 MB, free: 7.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006062/0.06494, allocations: 367.4 kB / 397.4 MB, free: 7.414 MB / 330.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.001819/0.06676, allocations: 2.261 MB / 399.6 MB, free: 5.066 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007561/0.06751, allocations: 370.6 kB / 400 MB, free: 4.691 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.06763, allocations: 75.66 kB / 400.1 MB, free: 4.613 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02244/0.09007, allocations: 12.73 MB / 412.8 MB, free: 7.859 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.09011, allocations: 41.39 kB / 412.8 MB, free: 7.809 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 2.114e-06/0.09011, allocations: 0 / 412.8 MB, free: 7.809 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.001329/0.09144, allocations: 0.6 MB / 413.4 MB, free: 7.203 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.09149, allocations: 110.8 kB / 413.6 MB, free: 7.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.09171, allocations: 322.3 kB / 413.9 MB, free: 6.734 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.09174, allocations: 29.7 kB / 413.9 MB, free: 6.699 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.09186, allocations: 251.2 kB / 414.1 MB, free: 6.449 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.515e-05/0.09191, allocations: 91.2 kB / 414.2 MB, free: 6.359 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.976e-05/0.092, allocations: 79.3 kB / 414.3 MB, free: 6.273 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.09213, allocations: 0.5157 MB / 414.8 MB, free: 5.746 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.09223, allocations: 67.88 kB / 414.9 MB, free: 5.68 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.09241, allocations: 255 kB / 415.1 MB, free: 5.363 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.09266, allocations: 261.1 kB / 415.4 MB, free: 5.062 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.09267, allocations: 0 / 415.4 MB, free: 5.062 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003859/0.09305, allocations: 301 kB / 415.7 MB, free: 4.762 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.09307, allocations: 8 kB / 415.7 MB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.09308, allocations: 0 / 415.7 MB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.09309, allocations: 8 kB / 415.7 MB, free: 4.746 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.09327, allocations: 71.89 kB / 415.8 MB, free: 4.676 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.09328, allocations: 4 kB / 415.8 MB, free: 4.672 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.0934, allocations: 32.14 kB / 415.8 MB, free: 4.641 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.09342, allocations: 23.94 kB / 415.8 MB, free: 4.617 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_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.0001214/0.09354, allocations: 180.4 kB / 416 MB, free: 4.43 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.579e-05/0.0936, allocations: 39.81 kB / 416 MB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.09466, allocations: 1.231 MB / 417.3 MB, free: 3.152 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.172e-05/0.09469, allocations: 35.95 kB / 417.3 MB, free: 3.117 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.09469, allocations: 0 / 417.3 MB, free: 3.117 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.0947, allocations: 7.984 kB / 417.3 MB, free: 3.109 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000522/0.09522, allocations: 0.6643 MB / 418 MB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.09522, allocations: 0 / 418 MB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.09535, allocations: 55.91 kB / 418 MB, free: 2.355 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.09535, allocations: 3.984 kB / 418 MB, free: 2.352 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.09537, allocations: 12 kB / 418.1 MB, free: 2.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.09537, allocations: 0 / 418.1 MB, free: 2.34 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.09537, allocations: 0 / 418.1 MB, free: 2.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006808/0.09605, allocations: 0.8265 MB / 418.9 MB, free: 1.492 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.912e-05/0.09612, allocations: 87.16 kB / 419 MB, free: 1.406 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.09616, allocations: 27.84 kB / 419 MB, free: 1.379 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.09626, allocations: 15.98 kB / 419 MB, free: 1.363 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.228e-05/0.09633, allocations: 43.73 kB / 419.1 MB, free: 1.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.09635, allocations: 11.98 kB / 419.1 MB, free: 1.309 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001972/0.09655, allocations: 303 kB / 419.4 MB, free: 1.012 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.09655, allocations: 0 / 419.4 MB, free: 1.012 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002343/0.09889, allocations: 1.006 MB / 420.4 MB, free: 4 kB / 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.00312/0.102, allocations: 1.288 MB / 421.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004533/0.1025, allocations: 317.8 kB / 422 MB, free: 14.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1025, allocations: 0 / 422 MB, free: 14.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002323/0.1027, allocations: 259.4 kB / 422.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006241/0.1033, allocations: 219.7 kB / 422.4 MB, free: 13.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.105, allocations: 1.332 MB / 423.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.1051, allocations: 181.5 kB / 423.9 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002993/0.1054, allocations: 262.8 kB / 424.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.405e-05/0.1055, allocations: 44.48 kB / 424.2 MB, free: 12.07 MB / 362.7 MB Notification: Performance of SimCode: time 1.503e-06/0.1055, allocations: 0 / 424.2 MB, free: 12.07 MB / 362.7 MB Notification: Performance of Templates: time 0.1533/0.2588, allocations: 39.67 MB / 463.9 MB, free: 57.01 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=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","",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.727139635942876]