Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001046/0.001046, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00169/0.002736, allocations: 449.7 kB / 10.37 MB, free: 328 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.0008234/0.0008234, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009708/0.001794, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9922/0.9922, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09554/1.088, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2928/0.2928, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02773/0.3205, allocations: 12.53 MB / 289.3 MB, free: 8.668 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.[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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.686e-05/1.875e-05, allocations: 4.203 kB / 290.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.01926/0.01928, allocations: 14.91 MB / 305.5 MB, free: 9.348 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01164/0.03092, allocations: 11.93 MB / 317.4 MB, free: 13.37 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001916/0.03111, allocations: 11.88 kB / 317.5 MB, free: 13.36 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002992/0.03141, allocations: 139 kB / 317.6 MB, free: 13.22 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006296/0.03771, allocations: 3.346 MB / 320.9 MB, free: 9.859 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003901/0.04161, allocations: 1.938 MB / 322.9 MB, free: 7.914 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0011/0.04271, allocations: 0.943 MB / 323.8 MB, free: 6.969 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003654/0.04308, allocations: 236.9 kB / 324.1 MB, free: 6.734 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001111/0.04419, allocations: 0.5696 MB / 324.6 MB, free: 6.164 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000304/0.04449, allocations: 235.3 kB / 324.9 MB, free: 5.934 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.539e-05/0.04454, allocations: 32 kB / 324.9 MB, free: 5.902 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009932/0.05447, allocations: 7.269 MB / 332.2 MB, free: 14.62 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.05459, allocations: 79.73 kB / 332.2 MB, free: 14.55 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.05474, allocations: 131.8 kB / 332.4 MB, free: 14.42 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005738/0.06048, allocations: 4.016 MB / 336.4 MB, free: 10.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.324e-05/0.06049, allocations: 0 / 336.4 MB, free: 10.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.06049, allocations: 0 / 336.4 MB, free: 10.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.06051, allocations: 0 / 336.4 MB, free: 10.39 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.06292, allocations: 1.527 MB / 337.9 MB, free: 8.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.06295, allocations: 8.031 kB / 337.9 MB, free: 8.812 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008748/0.06382, allocations: 335.9 kB / 338.2 MB, free: 8.484 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.06413, allocations: 280.5 kB / 338.5 MB, free: 8.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.06415, allocations: 36.97 kB / 338.5 MB, free: 8.141 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/0.06432, allocations: 28.38 kB / 338.6 MB, free: 8.113 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007146/0.06503, allocations: 0.6794 MB / 339.3 MB, free: 7.355 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.06504, allocations: 192 / 339.3 MB, free: 7.355 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.06506, allocations: 15.94 kB / 339.3 MB, free: 7.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.06507, allocations: 8 kB / 339.3 MB, free: 7.332 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004715/0.06554, allocations: 323.6 kB / 339.6 MB, free: 7.012 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.00119/0.06673, allocations: 1.533 MB / 341.1 MB, free: 5.422 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000612/0.06734, allocations: 338.2 kB / 341.5 MB, free: 5.082 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.022e-05/0.06741, allocations: 49.5 kB / 341.5 MB, free: 5.031 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1168/0.1842, allocations: 72.57 MB / 414.1 MB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.1842, allocations: 30.56 kB / 414.1 MB, free: 12.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.594e-06/0.1842, allocations: 0 / 414.1 MB, free: 12.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001143/0.1854, allocations: 0.5297 MB / 414.6 MB, free: 11.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.1854, allocations: 55.41 kB / 414.7 MB, free: 11.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.1856, allocations: 258.9 kB / 414.9 MB, free: 11.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.1856, allocations: 29.7 kB / 415 MB, free: 11.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.631e-05/0.1857, allocations: 192.8 kB / 415.2 MB, free: 11.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.587e-05/0.1857, allocations: 87.25 kB / 415.2 MB, free: 11.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.496e-05/0.1858, allocations: 69.61 kB / 415.3 MB, free: 11.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.459e-05/0.1859, allocations: 346.7 kB / 415.6 MB, free: 10.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.76e-05/0.186, allocations: 51.89 kB / 415.7 MB, free: 10.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.1861, allocations: 204.9 kB / 415.9 MB, free: 10.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.1863, allocations: 221.3 kB / 416.1 MB, free: 10.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1863, allocations: 4 kB / 416.1 MB, free: 10.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002275/0.1865, allocations: 217.5 kB / 416.3 MB, free: 9.969 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1866, allocations: 8 kB / 416.3 MB, free: 9.961 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.1866, allocations: 4 kB / 416.3 MB, free: 9.957 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.1866, allocations: 7.984 kB / 416.4 MB, free: 9.949 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.1868, allocations: 83.89 kB / 416.4 MB, free: 9.867 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.1868, allocations: 4 kB / 416.4 MB, free: 9.863 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.1869, allocations: 35.83 kB / 416.5 MB, free: 9.828 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/0.1869, allocations: 15.98 kB / 416.5 MB, free: 9.812 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.000102/0.187, allocations: 132.6 kB / 416.6 MB, free: 9.672 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/0.1871, allocations: 35.91 kB / 416.7 MB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008161/0.1879, allocations: 1.105 MB / 417.8 MB, free: 8.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-05/0.1879, allocations: 31.95 kB / 417.8 MB, free: 8.488 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.1879, allocations: 0 / 417.8 MB, free: 8.488 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1879, allocations: 0 / 417.8 MB, free: 8.488 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007296/0.1886, allocations: 0.5502 MB / 418.3 MB, free: 7.922 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.1886, allocations: 0 / 418.3 MB, free: 7.922 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.1888, allocations: 67.89 kB / 418.4 MB, free: 7.855 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.352e-05/0.1888, allocations: 87.16 kB / 418.5 MB, free: 7.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.1888, allocations: 7.938 kB / 418.5 MB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.1889, allocations: 7.984 kB / 418.5 MB, free: 7.754 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.1889, allocations: 0 / 418.5 MB, free: 7.754 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1889, allocations: 3.938 kB / 418.5 MB, free: 7.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005008/0.1894, allocations: 0.6638 MB / 419.2 MB, free: 7.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/0.1894, allocations: 27.78 kB / 419.2 MB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.1895, allocations: 23.98 kB / 419.2 MB, free: 7.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.045e-05/0.1896, allocations: 31.88 kB / 419.3 MB, free: 6.988 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.1896, allocations: 8 kB / 419.3 MB, free: 6.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001115/0.1897, allocations: 156.7 kB / 419.4 MB, free: 6.824 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1897, allocations: 0 / 419.4 MB, free: 6.824 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002163/0.1919, allocations: 1.006 MB / 420.4 MB, free: 5.816 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.002497/0.1944, allocations: 1.376 MB / 421.8 MB, free: 4.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002869/0.1946, allocations: 250.1 kB / 422 MB, free: 4.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/0.1947, allocations: 8 kB / 422.1 MB, free: 4.172 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.1948, allocations: 204.5 kB / 422.3 MB, free: 3.973 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005498/0.1954, allocations: 269.5 kB / 422.5 MB, free: 3.723 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004609/0.2, allocations: 1.351 MB / 423.9 MB, free: 2.332 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.2001, allocations: 181.5 kB / 424 MB, free: 2.137 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002572/0.2003, allocations: 256.3 kB / 424.3 MB, free: 1.887 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/0.2006, allocations: 209.2 kB / 424.5 MB, free: 1.68 MB / 410.7 MB Notification: Performance of SimCode: time 7.71e-07/0.2006, allocations: 0 / 424.5 MB, free: 1.68 MB / 410.7 MB Notification: Performance of Templates: time 0.1826/0.3833, allocations: 44.74 MB / 469.2 MB, free: 103.1 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.816871200688183]