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.001367/0.001367, allocations: 120.9 kB / 19.13 MB, free: 3.902 MB / 14.72 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.001404/0.001404, allocations: 210.6 kB / 22.08 MB, free: 0.9531 MB / 14.72 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 1.476/1.476, allocations: 227.4 MB / 252.3 MB, free: 52 kB / 190.1 MB " [Timeout remaining time 178] 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.2363/0.2363, allocations: 46.17 MB / 351.8 MB, free: 14.28 MB / 286.1 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.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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002248, allocations: 84.86 kB / 490.9 MB, free: 28.26 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1326, allocations: 62.45 MB / 0.5403 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03346/0.1661, allocations: 28.27 MB / 0.568 GB, free: 7.996 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01701/0.1832, allocations: 13.3 MB / 0.5809 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004313/0.1836, allocations: 15.88 kB / 0.581 GB, free: 10.63 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008111/0.1845, allocations: 246.4 kB / 0.5812 GB, free: 10.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01027/0.1948, allocations: 3.674 MB / 0.5848 GB, free: 6.715 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007802/0.2026, allocations: 2.362 MB / 0.5871 GB, free: 4.355 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001596/0.2043, allocations: 0.9002 MB / 0.588 GB, free: 3.453 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004275/0.2047, allocations: 260.7 kB / 0.5882 GB, free: 3.195 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008561/0.2056, allocations: 442.2 kB / 0.5886 GB, free: 2.762 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003661/0.206, allocations: 266.9 kB / 0.5889 GB, free: 2.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.563e-05/0.206, allocations: 32 kB / 0.5889 GB, free: 2.469 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01464/0.2207, allocations: 7.231 MB / 0.596 GB, free: 11.23 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002156/0.2209, allocations: 103.6 kB / 0.5961 GB, free: 11.13 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003523/0.2213, allocations: 223 kB / 0.5963 GB, free: 10.91 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.2324, allocations: 4.427 MB / 0.6006 GB, free: 6.473 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.2325, allocations: 4 kB / 0.6006 GB, free: 6.469 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2325, allocations: 3.938 kB / 0.6006 GB, free: 6.465 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.2325, allocations: 0 / 0.6006 GB, free: 6.465 MB / 462.1 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.003434/0.2359, allocations: 1.278 MB / 0.6019 GB, free: 5.137 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.236, allocations: 12.03 kB / 0.6019 GB, free: 5.125 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001692/0.2377, allocations: 212.5 kB / 0.6021 GB, free: 4.918 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006265/0.2383, allocations: 387.4 kB / 0.6025 GB, free: 4.5 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.115e-05/0.2384, allocations: 25.03 kB / 0.6025 GB, free: 4.477 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.518e-05/0.2384, allocations: 32.31 kB / 0.6025 GB, free: 4.445 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.2401, allocations: 0.5938 MB / 0.6031 GB, free: 3.809 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.2401, allocations: 4 kB / 0.6031 GB, free: 3.805 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.125e-05/0.2401, allocations: 12 kB / 0.6031 GB, free: 3.793 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.2402, allocations: 8 kB / 0.6031 GB, free: 3.785 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001683/0.2419, allocations: 0.5484 MB / 0.6037 GB, free: 3.238 MB / 462.1 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.003184/0.245, allocations: 2.633 MB / 0.6062 GB, free: 376 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2887/0.5338, allocations: 464.9 kB / 0.6067 GB, free: 61.74 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005847/0.5344, allocations: 203.4 kB / 0.6069 GB, free: 61.73 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04933/0.5837, allocations: 26.87 MB / 0.6331 GB, free: 43.45 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.5838, allocations: 37.67 kB / 0.6331 GB, free: 43.41 MB / 462.1 MB Notification: Performance of pre-optimization done (n=25): time 2.335e-06/0.5838, allocations: 1.5 kB / 0.6331 GB, free: 43.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=25): time 0.002878/0.5867, allocations: 0.82 MB / 0.6339 GB, free: 43.04 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.5867, allocations: 105.4 kB / 0.634 GB, free: 42.91 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/0.587, allocations: 316.6 kB / 0.6343 GB, free: 42.71 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.5871, allocations: 27.2 kB / 0.6344 GB, free: 42.68 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.5872, allocations: 206.3 kB / 0.6346 GB, free: 42.53 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.273e-05/0.5872, allocations: 95.14 kB / 0.6347 GB, free: 42.46 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.5873, allocations: 65.69 kB / 0.6347 GB, free: 42.42 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.255e-05/0.5874, allocations: 350.4 kB / 0.6351 GB, free: 42.07 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004083/0.5878, allocations: 143.9 kB / 0.6352 GB, free: 42.01 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004543/0.5883, allocations: 244.2 kB / 0.6354 GB, free: 41.82 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009033/0.5892, allocations: 379.1 kB / 0.6358 GB, free: 41.58 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.5892, allocations: 2.766 kB / 0.6358 GB, free: 41.58 MB / 462.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001008/0.5902, allocations: 452.9 kB / 0.6362 GB, free: 41.35 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.5903, allocations: 6.312 kB / 0.6362 GB, free: 41.35 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.5903, allocations: 2.875 kB / 0.6362 GB, free: 41.35 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.5903, allocations: 4.656 kB / 0.6362 GB, free: 41.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003344/0.5906, allocations: 85 kB / 0.6363 GB, free: 41.33 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.5906, allocations: 4.469 kB / 0.6363 GB, free: 41.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002773/0.5909, allocations: 53.94 kB / 0.6364 GB, free: 41.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.591, allocations: 23.44 kB / 0.6364 GB, free: 41.29 MB / 462.1 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.0001407/0.5911, allocations: 157.7 kB / 0.6365 GB, free: 41.15 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.266e-05/0.5912, allocations: 37.02 kB / 0.6366 GB, free: 41.13 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/0.5935, allocations: 1.915 MB / 0.6384 GB, free: 40.06 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.521e-05/0.5935, allocations: 31.89 kB / 0.6385 GB, free: 40.04 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5935, allocations: 1.281 kB / 0.6385 GB, free: 40.04 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.5936, allocations: 7.984 kB / 0.6385 GB, free: 40.03 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008473/0.5944, allocations: 1.024 MB / 0.6395 GB, free: 39.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.5944, allocations: 1.219 kB / 0.6395 GB, free: 39.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000318/0.5947, allocations: 79.83 kB / 0.6396 GB, free: 39.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.5948, allocations: 1.375 kB / 0.6396 GB, free: 39.29 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.5948, allocations: 6.75 kB / 0.6396 GB, free: 39.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.5948, allocations: 1.375 kB / 0.6396 GB, free: 39.29 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5948, allocations: 0 / 0.6396 GB, free: 39.29 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.5961, allocations: 1.109 MB / 0.6407 GB, free: 38.63 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.068e-05/0.5962, allocations: 163.5 kB / 0.6408 GB, free: 38.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.942e-05/0.5962, allocations: 25.98 kB / 0.6408 GB, free: 38.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.5965, allocations: 38.11 kB / 0.6409 GB, free: 38.46 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.838e-05/0.5966, allocations: 34.59 kB / 0.6409 GB, free: 38.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.5966, allocations: 11.66 kB / 0.6409 GB, free: 38.44 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000277/0.5969, allocations: 330.2 kB / 0.6412 GB, free: 38.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5969, allocations: 0 / 0.6412 GB, free: 38.25 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002464/0.5994, allocations: 1.006 MB / 0.6422 GB, free: 38.1 MB / 462.1 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.003708/0.6031, allocations: 1.192 MB / 0.6434 GB, free: 37.72 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.6043, allocations: 0.6103 MB / 0.644 GB, free: 37.43 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.6043, allocations: 0 / 0.644 GB, free: 37.43 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006299/0.6049, allocations: 0.5125 MB / 0.6445 GB, free: 37.15 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.606, allocations: 220 kB / 0.6447 GB, free: 37.05 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.6078, allocations: 1.567 MB / 0.6462 GB, free: 35.89 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.608, allocations: 0.9638 MB / 0.6472 GB, free: 34.89 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.6082, allocations: 47.38 kB / 0.6472 GB, free: 34.84 MB / 462.1 MB Notification: Performance of SimCode: time 6.21e-07/0.6082, allocations: 0 / 0.6472 GB, free: 34.84 MB / 462.1 MB Notification: Performance of Templates: time 0.0289/0.6371, allocations: 24.16 MB / 0.6708 GB, free: 10.72 MB / 462.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 10.746055774041452]