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.0007591/0.0007591, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001205/0.001964, allocations: 457.8 kB / 10.45 MB, free: 244 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.001085/0.001085, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001163/0.002248, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9888/0.9888, allocations: 177.5 MB / 190 MB, free: 4.781 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1201/1.109, allocations: 53.86 MB / 243.9 MB, free: 14.85 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.2729/0.2729, allocations: 34.88 MB / 279.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02531/0.2982, allocations: 13.24 MB / 292.8 MB, free: 6.379 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.874e-06/1.874e-06, allocations: 0 / 294.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.934e-05/2.121e-05, allocations: 2.859 kB / 294.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.01991/0.01993, allocations: 14.91 MB / 309 MB, free: 6.109 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0129/0.03283, allocations: 11.94 MB / 321 MB, free: 10.12 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002233/0.03305, allocations: 11.88 kB / 321 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003281/0.03338, allocations: 146.9 kB / 321.1 MB, free: 9.961 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005968/0.03935, allocations: 3.33 MB / 324.4 MB, free: 6.617 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003561/0.04291, allocations: 1.947 MB / 326.4 MB, free: 4.664 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007039/0.04362, allocations: 0.9391 MB / 327.3 MB, free: 3.723 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002612/0.04388, allocations: 229 kB / 327.6 MB, free: 3.496 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006055/0.04448, allocations: 0.5695 MB / 328.1 MB, free: 2.926 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.04469, allocations: 231.3 kB / 328.4 MB, free: 2.699 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.897e-05/0.04473, allocations: 36 kB / 328.4 MB, free: 2.664 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008814/0.05354, allocations: 7.271 MB / 335.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.05367, allocations: 83.67 kB / 335.7 MB, free: 11.3 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.05379, allocations: 131.8 kB / 335.9 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005745/0.05953, allocations: 3.992 MB / 339.9 MB, free: 7.176 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/0.05954, allocations: 4 kB / 339.9 MB, free: 7.172 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.05954, allocations: 0 / 339.9 MB, free: 7.172 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.05955, allocations: 0 / 339.9 MB, free: 7.172 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.002/0.06155, allocations: 1.527 MB / 341.4 MB, free: 5.598 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001308/0.06168, allocations: 8.922 kB / 341.4 MB, free: 5.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009286/0.06261, allocations: 339.8 kB / 341.7 MB, free: 5.258 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.06291, allocations: 280.5 kB / 342 MB, free: 4.961 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.06294, allocations: 29.03 kB / 342 MB, free: 4.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.06297, allocations: 28.38 kB / 342.1 MB, free: 4.902 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007347/0.0637, allocations: 0.6783 MB / 342.7 MB, free: 4.148 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.06371, allocations: 4.125 kB / 342.7 MB, free: 4.145 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.06374, allocations: 19.94 kB / 342.8 MB, free: 4.125 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.06374, allocations: 8 kB / 342.8 MB, free: 4.117 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004754/0.06422, allocations: 313.8 kB / 343.1 MB, free: 3.809 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.00118/0.0654, allocations: 1.537 MB / 344.6 MB, free: 2.215 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005829/0.06598, allocations: 348.8 kB / 345 MB, free: 1.867 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.599e-05/0.06605, allocations: 56.83 kB / 345 MB, free: 1.809 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1178/0.1839, allocations: 72.55 MB / 417.6 MB, free: 9.176 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.1839, allocations: 42.56 kB / 417.6 MB, free: 9.125 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.134e-06/0.1839, allocations: 0 / 417.6 MB, free: 9.125 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001158/0.1851, allocations: 0.52 MB / 418.1 MB, free: 8.598 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.1851, allocations: 55.41 kB / 418.2 MB, free: 8.531 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.1853, allocations: 262.9 kB / 418.4 MB, free: 8.262 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.1853, allocations: 29.7 kB / 418.5 MB, free: 8.227 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.478e-05/0.1854, allocations: 192.8 kB / 418.7 MB, free: 8.035 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.334e-05/0.1854, allocations: 87.25 kB / 418.7 MB, free: 7.949 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.009e-05/0.1855, allocations: 69.62 kB / 418.8 MB, free: 7.875 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.144e-05/0.1856, allocations: 338.8 kB / 419.1 MB, free: 7.535 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.503e-05/0.1857, allocations: 51.94 kB / 419.2 MB, free: 7.484 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.1858, allocations: 205 kB / 419.4 MB, free: 7.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.186, allocations: 222.1 kB / 419.6 MB, free: 6.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.186, allocations: 0 / 419.6 MB, free: 6.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002259/0.1862, allocations: 219.1 kB / 419.8 MB, free: 6.762 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1862, allocations: 4.312 kB / 419.8 MB, free: 6.758 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.1862, allocations: 8 kB / 419.8 MB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1862, allocations: 4 kB / 419.8 MB, free: 6.746 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.1864, allocations: 87.88 kB / 419.9 MB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.1864, allocations: 4 kB / 419.9 MB, free: 6.656 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.1865, allocations: 39.77 kB / 420 MB, free: 6.617 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.1866, allocations: 12 kB / 420 MB, free: 6.605 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.000106/0.1867, allocations: 136.5 kB / 420.1 MB, free: 6.461 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/0.1867, allocations: 31.92 kB / 420.1 MB, free: 6.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.1878, allocations: 1.107 MB / 421.2 MB, free: 5.312 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/0.1878, allocations: 35.94 kB / 421.3 MB, free: 5.277 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-06/0.1878, allocations: 0 / 421.3 MB, free: 5.277 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1878, allocations: 7.984 kB / 421.3 MB, free: 5.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004176/0.1882, allocations: 0.5385 MB / 421.8 MB, free: 4.711 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.1882, allocations: 4 kB / 421.8 MB, free: 4.707 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.1884, allocations: 67.89 kB / 421.9 MB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.185e-05/0.1884, allocations: 87.14 kB / 422 MB, free: 4.555 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.1884, allocations: 7.938 kB / 422 MB, free: 4.547 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.1884, allocations: 8 kB / 422 MB, free: 4.539 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1884, allocations: 4 kB / 422 MB, free: 4.535 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1884, allocations: 3.984 kB / 422 MB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004366/0.1889, allocations: 0.6482 MB / 422.7 MB, free: 3.863 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/0.1889, allocations: 27.78 kB / 422.7 MB, free: 3.836 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.189, allocations: 19.98 kB / 422.7 MB, free: 3.816 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/0.1891, allocations: 31.94 kB / 422.7 MB, free: 3.785 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.1891, allocations: 11.94 kB / 422.7 MB, free: 3.773 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001008/0.1892, allocations: 156.7 kB / 422.9 MB, free: 3.613 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1892, allocations: 0 / 422.9 MB, free: 3.613 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002028/0.1912, allocations: 1.01 MB / 423.9 MB, free: 2.602 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.002728/0.1939, allocations: 1.363 MB / 425.3 MB, free: 1.227 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003047/0.1942, allocations: 270.6 kB / 425.5 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.254e-05/0.1943, allocations: 12 kB / 425.5 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001897/0.1944, allocations: 215.1 kB / 425.8 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000793/0.1952, allocations: 1.096 MB / 426.8 MB, free: 15.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004832/0.2001, allocations: 1.358 MB / 428.2 MB, free: 14.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.2002, allocations: 181.5 kB / 428.4 MB, free: 13.88 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002778/0.2005, allocations: 261.6 kB / 428.6 MB, free: 13.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003147/0.2008, allocations: 205.2 kB / 428.8 MB, free: 13.42 MB / 426.7 MB Notification: Performance of SimCode: time 8.52e-07/0.2008, allocations: 3.938 kB / 428.8 MB, free: 13.42 MB / 426.7 MB Notification: Performance of Templates: time 0.1651/0.3658, allocations: 39.46 MB / 468.3 MB, free: 100.7 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.128762937150896]