Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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.001897/0.001897, allocations: 96.2 kB / 20.21 MB, free: 4.195 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.002227/0.002227, allocations: 157.3 kB / 23.52 MB, free: 0.8906 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.385/1.385, 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.2241/0.2241, 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.TestValveLinear,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.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,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.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.1e-05/3.267e-05, allocations: 2.312 kB / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03233/0.03236, allocations: 25.64 MB / 372.6 MB, free: 64 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02052/0.05289, allocations: 11.78 MB / 384.4 MB, free: 4.246 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005059/0.05339, allocations: 15.88 kB / 384.4 MB, free: 4.23 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009307/0.05432, allocations: 238.3 kB / 384.6 MB, free: 3.996 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01395/0.06827, allocations: 3.674 MB / 388.3 MB, free: 316 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008219/0.07649, allocations: 2.39 MB / 390.7 MB, free: 13.91 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001689/0.07818, allocations: 0.9078 MB / 391.6 MB, free: 13 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004658/0.07864, allocations: 232.9 kB / 391.8 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.07972, allocations: 0.5374 MB / 392.3 MB, free: 12.23 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003958/0.08011, allocations: 239.3 kB / 392.6 MB, free: 12 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.064e-05/0.08018, allocations: 36 kB / 392.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0158/0.09599, allocations: 6.894 MB / 399.5 MB, free: 5.059 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002366/0.09622, allocations: 111.6 kB / 399.6 MB, free: 4.949 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003916/0.09661, allocations: 151.7 kB / 399.8 MB, free: 4.801 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01598/0.1126, allocations: 5.542 MB / 405.3 MB, free: 15.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.1126, allocations: 0 / 405.3 MB, free: 15.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1126, allocations: 0 / 405.3 MB, free: 15.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.1126, allocations: 0 / 405.3 MB, free: 15.25 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.005682/0.1183, allocations: 1.188 MB / 406.5 MB, free: 14.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.27e-05/0.1184, allocations: 15.97 kB / 406.5 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00279/0.1212, allocations: 311.7 kB / 406.8 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009673/0.1221, allocations: 332.4 kB / 407.1 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.178e-05/0.1222, allocations: 21.03 kB / 407.2 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.572e-05/0.1223, allocations: 36.38 kB / 407.2 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002688/0.125, allocations: 0.7413 MB / 407.9 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.125, allocations: 4.125 kB / 407.9 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-05/0.1251, allocations: 15.94 kB / 408 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.362e-05/0.1251, allocations: 12 kB / 408 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002791/0.1279, allocations: 0.5449 MB / 408.5 MB, free: 11.89 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.004741/0.1326, allocations: 1.856 MB / 410.4 MB, free: 9.969 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002503/0.1351, allocations: 458.1 kB / 410.8 MB, free: 9.512 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007513/0.1359, allocations: 184.7 kB / 411 MB, free: 9.328 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05681/0.1927, allocations: 12.72 MB / 423.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.32e-05/0.1928, allocations: 38.56 kB / 423.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.234e-06/0.1928, allocations: 0 / 423.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.003529/0.1963, allocations: 0.8694 MB / 424.6 MB, free: 11.67 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.613e-05/0.1964, allocations: 110.8 kB / 424.7 MB, free: 11.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003993/0.1968, allocations: 272.5 kB / 425 MB, free: 11.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.671e-05/0.1969, allocations: 29.7 kB / 425 MB, free: 11.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002299/0.1971, allocations: 220.4 kB / 425.2 MB, free: 11.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.1972, allocations: 83.23 kB / 425.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.1973, allocations: 65.69 kB / 425.4 MB, free: 10.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002105/0.1975, allocations: 350.7 kB / 425.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005007/0.198, allocations: 143.9 kB / 425.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006277/0.1987, allocations: 298.1 kB / 426.2 MB, free: 10.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.1997, allocations: 377.9 kB / 426.5 MB, free: 9.617 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1997, allocations: 0 / 426.5 MB, free: 9.617 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001345/0.2011, allocations: 460.9 kB / 427 MB, free: 9.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.2011, allocations: 11.94 kB / 427 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.2011, allocations: 320 / 427 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/0.2011, allocations: 8 kB / 427 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004102/0.2015, allocations: 87.88 kB / 427.1 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.2015, allocations: 4 kB / 427.1 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003239/0.2019, allocations: 47.81 kB / 427.1 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/0.2019, allocations: 15.92 kB / 427.1 MB, free: 8.988 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: 4 (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.0002363/0.2021, allocations: 161.7 kB / 427.3 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.2023, allocations: 47.8 kB / 427.4 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003321/0.2056, allocations: 2.012 MB / 429.4 MB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.729e-05/0.2056, allocations: 27.95 kB / 429.4 MB, free: 6.727 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2056, allocations: 0 / 429.4 MB, free: 6.727 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.2056, allocations: 3.984 kB / 429.4 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.2069, allocations: 0.8602 MB / 430.3 MB, free: 5.824 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.2069, allocations: 4 kB / 430.3 MB, free: 5.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003987/0.2073, allocations: 83.86 kB / 430.3 MB, free: 5.738 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.2073, allocations: 0 / 430.3 MB, free: 5.738 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.2073, allocations: 8 kB / 430.3 MB, free: 5.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.2073, allocations: 4 kB / 430.4 MB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2074, allocations: 0 / 430.4 MB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002041/0.2094, allocations: 1.142 MB / 431.5 MB, free: 4.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.2095, allocations: 87.11 kB / 431.6 MB, free: 4.484 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.8e-05/0.2096, allocations: 23.89 kB / 431.6 MB, free: 4.461 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003165/0.2099, allocations: 23.97 kB / 431.6 MB, free: 4.438 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.21, allocations: 35.8 kB / 431.7 MB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.309e-05/0.2101, allocations: 15.98 kB / 431.7 MB, free: 4.387 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004023/0.2105, allocations: 303.1 kB / 432 MB, free: 4.094 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2105, allocations: 4 kB / 432 MB, free: 4.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003057/0.2135, allocations: 1.01 MB / 433 MB, free: 3.078 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: 18 ($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) * 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.00546/0.219, allocations: 1.313 MB / 434.3 MB, free: 1.762 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001558/0.2206, allocations: 0.6106 MB / 434.9 MB, free: 1.152 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2206, allocations: 0 / 434.9 MB, free: 1.152 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008194/0.2214, allocations: 429 kB / 435.3 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.2226, allocations: 217.6 kB / 435.5 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1431/0.3657, allocations: 1.543 MB / 437.1 MB, free: 94.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.3661, allocations: 372.1 kB / 437.4 MB, free: 94.83 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004675/0.3665, allocations: 265.8 kB / 437.7 MB, free: 94.83 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.3666, allocations: 41.08 kB / 437.7 MB, free: 94.82 MB / 362.7 MB Notification: Performance of SimCode: time 1.333e-06/0.3666, allocations: 0 / 437.7 MB, free: 94.82 MB / 362.7 MB Notification: Performance of Templates: time 0.04321/0.4099, allocations: 39.51 MB / 477.3 MB, free: 61.43 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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.56587991991546]