Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001098/0.001098, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001663/0.002762, 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.0008013/0.0008013, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001195/0.001996, 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.9277/0.9277, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.111/1.039, allocations: 53.65 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2831/0.2831, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02612/0.3092, allocations: 13.1 MB / 291.3 MB, free: 7.363 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 292.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.581e-05, allocations: 5.328 kB / 292.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.01515/0.01517, allocations: 14.92 MB / 307.5 MB, free: 7.332 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01173/0.02691, allocations: 11.92 MB / 319.5 MB, free: 11.36 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002458/0.02715, allocations: 15.88 kB / 319.5 MB, free: 11.34 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003598/0.02751, allocations: 138.9 kB / 319.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006523/0.03404, allocations: 3.342 MB / 323 MB, free: 7.852 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003723/0.03776, allocations: 1.942 MB / 324.9 MB, free: 5.902 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008092/0.03857, allocations: 0.943 MB / 325.8 MB, free: 4.957 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003049/0.03887, allocations: 228.9 kB / 326.1 MB, free: 4.73 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007031/0.03958, allocations: 0.5851 MB / 326.7 MB, free: 4.145 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002401/0.03982, allocations: 223.3 kB / 326.9 MB, free: 3.926 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.31e-05/0.03986, allocations: 36 kB / 326.9 MB, free: 3.891 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009151/0.04901, allocations: 7.264 MB / 334.2 MB, free: 12.62 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.04911, allocations: 79.72 kB / 334.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.04924, allocations: 135.8 kB / 334.4 MB, free: 12.41 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005393/0.05463, allocations: 4.008 MB / 338.4 MB, free: 8.395 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.44e-05/0.05465, allocations: 0 / 338.4 MB, free: 8.395 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.05465, allocations: 0 / 338.4 MB, free: 8.395 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.672e-05/0.05467, allocations: 0 / 338.4 MB, free: 8.395 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.001923/0.05659, allocations: 1.531 MB / 339.9 MB, free: 6.816 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.05663, allocations: 12.03 kB / 339.9 MB, free: 6.805 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009527/0.05759, allocations: 339.8 kB / 340.3 MB, free: 6.473 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.05793, allocations: 284.5 kB / 340.5 MB, free: 6.164 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.05795, allocations: 25.03 kB / 340.6 MB, free: 6.137 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/0.05799, allocations: 28.38 kB / 340.6 MB, free: 6.109 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007546/0.05874, allocations: 0.6818 MB / 341.3 MB, free: 5.352 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.05875, allocations: 192 / 341.3 MB, free: 5.352 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.05877, allocations: 15.94 kB / 341.3 MB, free: 5.336 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.05878, allocations: 12 kB / 341.3 MB, free: 5.324 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004918/0.05928, allocations: 317.8 kB / 341.6 MB, free: 5.008 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.001592/0.06087, allocations: 1.541 MB / 343.2 MB, free: 3.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006089/0.06148, allocations: 339.6 kB / 343.5 MB, free: 3.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.041e-05/0.06155, allocations: 57.47 kB / 343.5 MB, free: 3.012 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1193/0.1808, allocations: 72.56 MB / 416.1 MB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.1809, allocations: 38.5 kB / 416.1 MB, free: 10.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.615e-06/0.1809, allocations: 0 / 416.1 MB, free: 10.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001084/0.182, allocations: 0.5219 MB / 416.7 MB, free: 9.793 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.182, allocations: 51.41 kB / 416.7 MB, free: 9.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.1822, allocations: 262.9 kB / 417 MB, free: 9.465 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.1822, allocations: 33.7 kB / 417 MB, free: 9.426 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.408e-05/0.1823, allocations: 192.8 kB / 417.2 MB, free: 9.234 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.1823, allocations: 83.25 kB / 417.3 MB, free: 9.152 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.814e-05/0.1824, allocations: 65.62 kB / 417.3 MB, free: 9.082 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.992e-05/0.1825, allocations: 346.7 kB / 417.7 MB, free: 8.734 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.311e-05/0.1825, allocations: 51.89 kB / 417.7 MB, free: 8.684 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.1827, allocations: 202.5 kB / 417.9 MB, free: 8.434 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.1828, allocations: 218.8 kB / 418.1 MB, free: 8.188 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1828, allocations: 4 kB / 418.1 MB, free: 8.184 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002249/0.183, allocations: 221.2 kB / 418.4 MB, free: 7.961 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1831, allocations: 4 kB / 418.4 MB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1831, allocations: 4 kB / 418.4 MB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.1831, allocations: 4 kB / 418.4 MB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.1833, allocations: 87.88 kB / 418.5 MB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1833, allocations: 4 kB / 418.5 MB, free: 7.859 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.1834, allocations: 40.08 kB / 418.5 MB, free: 7.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.1834, allocations: 16 kB / 418.5 MB, free: 7.805 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 9.641e-05/0.1835, allocations: 132.5 kB / 418.6 MB, free: 7.664 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.155e-05/0.1835, allocations: 35.84 kB / 418.7 MB, free: 7.629 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007981/0.1843, allocations: 1.106 MB / 419.8 MB, free: 6.508 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.1844, allocations: 31.95 kB / 419.8 MB, free: 6.477 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.1844, allocations: 0 / 419.8 MB, free: 6.477 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1844, allocations: 3.984 kB / 419.8 MB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004312/0.1848, allocations: 0.5463 MB / 420.4 MB, free: 5.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.1848, allocations: 4 kB / 420.4 MB, free: 5.906 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.1849, allocations: 71.89 kB / 420.4 MB, free: 5.836 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.223e-05/0.185, allocations: 83.16 kB / 420.5 MB, free: 5.754 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.185, allocations: 7.938 kB / 420.5 MB, free: 5.746 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.185, allocations: 4 kB / 420.5 MB, free: 5.742 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.185, allocations: 0 / 420.5 MB, free: 5.742 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.185, allocations: 8 kB / 420.5 MB, free: 5.734 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004471/0.1855, allocations: 0.6482 MB / 421.2 MB, free: 5.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.859e-05/0.1855, allocations: 27.78 kB / 421.2 MB, free: 5.043 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.88e-05/0.1856, allocations: 23.92 kB / 421.2 MB, free: 5.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.1857, allocations: 27.94 kB / 421.3 MB, free: 4.992 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.1857, allocations: 11.98 kB / 421.3 MB, free: 4.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001081/0.1858, allocations: 160.7 kB / 421.4 MB, free: 4.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1858, allocations: 0 / 421.4 MB, free: 4.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001852/0.1876, allocations: 1.01 MB / 422.4 MB, free: 3.809 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.002468/0.1901, allocations: 1.37 MB / 423.8 MB, free: 2.426 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002758/0.1904, allocations: 253.7 kB / 424.1 MB, free: 2.172 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/0.1904, allocations: 8 kB / 424.1 MB, free: 2.164 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.1905, allocations: 196.5 kB / 424.3 MB, free: 1.973 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005351/0.1911, allocations: 272.1 kB / 424.5 MB, free: 1.715 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004663/0.1957, allocations: 1.355 MB / 425.9 MB, free: 328 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.1958, allocations: 185.5 kB / 426.1 MB, free: 124 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000285/0.1961, allocations: 259.2 kB / 426.3 MB, free: 15.87 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002927/0.1964, allocations: 201.1 kB / 426.5 MB, free: 15.67 MB / 426.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1964, allocations: 0 / 426.5 MB, free: 15.67 MB / 426.7 MB Notification: Performance of Templates: time 0.1576/0.354, allocations: 44.75 MB / 471.3 MB, free: 98.88 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.576073520816863]