Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008361/0.0008361, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00104/0.001876, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007892/0.0007892, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009329/0.001722, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9376/0.9376, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09488/1.033, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2714/0.2714, allocations: 34.85 MB / 279.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02767/0.2991, allocations: 13.23 MB / 292.6 MB, free: 6.465 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,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_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,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_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 293.8 MB, free: 5.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005e-05/1.15e-05, allocations: 6.312 kB / 293.9 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.013/0.01301, allocations: 14.91 MB / 308.8 MB, free: 6.234 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01082/0.02383, allocations: 11.94 MB / 320.7 MB, free: 10.25 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000281/0.02411, allocations: 19.88 kB / 320.7 MB, free: 10.23 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000351/0.02446, allocations: 139 kB / 320.9 MB, free: 10.09 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006722/0.03119, allocations: 3.342 MB / 324.2 MB, free: 6.738 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004179/0.03536, allocations: 1.935 MB / 326.1 MB, free: 4.797 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00094/0.0363, allocations: 0.9392 MB / 327.1 MB, free: 3.852 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003337/0.03664, allocations: 232.9 kB / 327.3 MB, free: 3.621 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006895/0.03733, allocations: 0.5696 MB / 327.9 MB, free: 3.051 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.03757, allocations: 231.3 kB / 328.1 MB, free: 2.824 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.023e-05/0.03761, allocations: 36 kB / 328.1 MB, free: 2.789 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00967/0.04728, allocations: 7.269 MB / 335.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.04739, allocations: 83.72 kB / 335.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.04754, allocations: 135.8 kB / 335.6 MB, free: 11.3 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007232/0.05477, allocations: 4.008 MB / 339.6 MB, free: 7.285 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-05/0.05479, allocations: 0 / 339.6 MB, free: 7.285 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.05479, allocations: 7.938 kB / 339.6 MB, free: 7.277 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.967e-05/0.05481, allocations: 0 / 339.6 MB, free: 7.277 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.002575/0.05738, allocations: 1.535 MB / 341.2 MB, free: 5.695 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.05742, allocations: 8.922 kB / 341.2 MB, free: 5.688 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009164/0.05834, allocations: 331.9 kB / 341.5 MB, free: 5.363 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.05868, allocations: 288.5 kB / 341.8 MB, free: 5.055 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.05871, allocations: 29.02 kB / 341.8 MB, free: 5.023 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.19e-05/0.05874, allocations: 32.31 kB / 341.8 MB, free: 4.992 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000759/0.0595, allocations: 0.679 MB / 342.5 MB, free: 4.234 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.05951, allocations: 192 / 342.5 MB, free: 4.234 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.05954, allocations: 23.94 kB / 342.5 MB, free: 4.211 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.05954, allocations: 4 kB / 342.5 MB, free: 4.207 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005011/0.06005, allocations: 321.7 kB / 342.9 MB, free: 3.887 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.001307/0.06135, allocations: 1.525 MB / 344.4 MB, free: 2.305 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006265/0.06198, allocations: 338.8 kB / 344.7 MB, free: 1.965 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.058e-05/0.06205, allocations: 56.84 kB / 344.8 MB, free: 1.906 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.129/0.191, allocations: 72.56 MB / 417.3 MB, free: 9.262 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.587e-05/0.1911, allocations: 38.56 kB / 417.4 MB, free: 9.215 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.845e-06/0.1911, allocations: 0 / 417.4 MB, free: 9.215 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.00149/0.1926, allocations: 0.5332 MB / 417.9 MB, free: 8.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.1926, allocations: 55.41 kB / 418 MB, free: 8.613 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.1928, allocations: 254.9 kB / 418.2 MB, free: 8.355 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.1928, allocations: 33.7 kB / 418.2 MB, free: 8.316 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.1929, allocations: 188.8 kB / 418.4 MB, free: 8.129 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6e-05/0.193, allocations: 95.17 kB / 418.5 MB, free: 8.035 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.252e-05/0.1931, allocations: 65.61 kB / 418.6 MB, free: 7.965 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.982e-05/0.1932, allocations: 338.8 kB / 418.9 MB, free: 7.625 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.199e-05/0.1933, allocations: 43.95 kB / 419 MB, free: 7.582 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.1934, allocations: 213 kB / 419.2 MB, free: 7.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/0.1937, allocations: 210.1 kB / 419.4 MB, free: 7.082 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1937, allocations: 0 / 419.4 MB, free: 7.082 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00029/0.194, allocations: 224.2 kB / 419.6 MB, free: 6.859 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.194, allocations: 6.5 kB / 419.6 MB, free: 6.855 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.194, allocations: 4 kB / 419.6 MB, free: 6.852 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.194, allocations: 4 kB / 419.6 MB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.1942, allocations: 96.19 kB / 419.7 MB, free: 6.754 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.1942, allocations: 7.938 kB / 419.7 MB, free: 6.746 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.1944, allocations: 31.83 kB / 419.7 MB, free: 6.715 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.1944, allocations: 15.98 kB / 419.7 MB, free: 6.699 MB / 410.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_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.0001237/0.1945, allocations: 132.5 kB / 419.9 MB, free: 6.559 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.572e-05/0.1946, allocations: 31.91 kB / 419.9 MB, free: 6.527 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.1956, allocations: 1.108 MB / 421 MB, free: 5.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.53e-05/0.1957, allocations: 31.95 kB / 421 MB, free: 5.379 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.1957, allocations: 3.938 kB / 421 MB, free: 5.375 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.1957, allocations: 0 / 421 MB, free: 5.375 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005762/0.1963, allocations: 0.5424 MB / 421.6 MB, free: 4.816 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1963, allocations: 0 / 421.6 MB, free: 4.816 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.1964, allocations: 63.95 kB / 421.7 MB, free: 4.754 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.058e-05/0.1965, allocations: 95.09 kB / 421.7 MB, free: 4.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.1965, allocations: 3.938 kB / 421.8 MB, free: 4.656 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.1965, allocations: 7.984 kB / 421.8 MB, free: 4.648 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.1965, allocations: 4 kB / 421.8 MB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1965, allocations: 0 / 421.8 MB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005892/0.1971, allocations: 0.6559 MB / 422.4 MB, free: 3.965 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.032e-05/0.1972, allocations: 27.78 kB / 422.4 MB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.1973, allocations: 15.98 kB / 422.5 MB, free: 3.922 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.335e-05/0.1974, allocations: 39.94 kB / 422.5 MB, free: 3.883 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.1974, allocations: 8 kB / 422.5 MB, free: 3.875 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000148/0.1976, allocations: 152.7 kB / 422.7 MB, free: 3.719 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1976, allocations: 4 kB / 422.7 MB, free: 3.715 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002239/0.1998, allocations: 1.01 MB / 423.7 MB, free: 2.703 MB / 410.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.003186/0.203, allocations: 1.374 MB / 425 MB, free: 1.316 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003701/0.2034, allocations: 249.8 kB / 425.3 MB, free: 1.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.451e-05/0.2034, allocations: 8 kB / 425.3 MB, free: 1.062 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002143/0.2036, allocations: 209.1 kB / 425.5 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006954/0.2043, allocations: 258.8 kB / 425.8 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006301/0.2106, allocations: 1.36 MB / 427.1 MB, free: 15.22 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.2107, allocations: 181.5 kB / 427.3 MB, free: 15.02 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003377/0.2111, allocations: 259 kB / 427.5 MB, free: 14.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003735/0.2114, allocations: 197.2 kB / 427.7 MB, free: 14.57 MB / 426.7 MB Notification: Performance of SimCode: time 1.132e-06/0.2114, allocations: 4 kB / 427.7 MB, free: 14.57 MB / 426.7 MB Notification: Performance of Templates: time 0.1762/0.3876, allocations: 44.74 MB / 472.5 MB, free: 96.72 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.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.50414215773344]