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.001674/0.001674, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.002074/0.002074, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 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 1.514/1.514, allocations: 230.6 MB / 258.2 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] 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.2255/0.2255, allocations: 46.96 MB / 361.6 MB, free: 4.039 MB / 286.1 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.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_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.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_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002237/0.002237, allocations: 71.89 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3318, allocations: 66.03 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.0333/0.3651, allocations: 25.91 MB / 0.5871 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01708/0.3821, allocations: 11.77 MB / 0.5986 GB, free: 14.35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000536/0.3827, allocations: 19.81 kB / 0.5986 GB, free: 14.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008931/0.3836, allocations: 234.5 kB / 0.5989 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01108/0.3946, allocations: 3.647 MB / 0.6024 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006442/0.4011, allocations: 2.36 MB / 0.6047 GB, free: 8.098 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001317/0.4024, allocations: 0.9041 MB / 0.6056 GB, free: 7.191 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004122/0.4028, allocations: 220.8 kB / 0.6058 GB, free: 6.969 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008814/0.4037, allocations: 442.2 kB / 0.6062 GB, free: 6.535 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003839/0.4041, allocations: 266.8 kB / 0.6065 GB, free: 6.273 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.381e-05/0.4041, allocations: 36 kB / 0.6065 GB, free: 6.238 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01475/0.4189, allocations: 6.899 MB / 0.6133 GB, free: 15.33 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002917/0.4192, allocations: 99.67 kB / 0.6134 GB, free: 15.23 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004219/0.4196, allocations: 195.2 kB / 0.6135 GB, free: 15.04 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01172/0.4313, allocations: 4.42 MB / 0.6179 GB, free: 10.61 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.4313, allocations: 0 / 0.6179 GB, free: 10.61 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.4313, allocations: 0 / 0.6179 GB, free: 10.61 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.4313, allocations: 4 kB / 0.6179 GB, free: 10.61 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.4348, allocations: 1.199 MB / 0.619 GB, free: 9.371 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.4348, allocations: 16.03 kB / 0.619 GB, free: 9.355 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/0.4365, allocations: 208.5 kB / 0.6192 GB, free: 9.152 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006671/0.4372, allocations: 317.2 kB / 0.6195 GB, free: 8.812 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.818e-05/0.4372, allocations: 21.03 kB / 0.6196 GB, free: 8.793 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.124e-05/0.4373, allocations: 32.38 kB / 0.6196 GB, free: 8.762 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.439, allocations: 0.7446 MB / 0.6203 GB, free: 7.941 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.439, allocations: 7.938 kB / 0.6203 GB, free: 7.934 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.024e-05/0.439, allocations: 12 kB / 0.6203 GB, free: 7.922 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.439, allocations: 8 kB / 0.6204 GB, free: 7.914 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001653/0.4407, allocations: 0.541 MB / 0.6209 GB, free: 7.371 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.002909/0.4436, allocations: 1.856 MB / 0.6227 GB, free: 5.445 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.4452, allocations: 450.1 kB / 0.6231 GB, free: 4.996 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005056/0.4457, allocations: 188.7 kB / 0.6233 GB, free: 4.809 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04737/0.4931, allocations: 13.2 MB / 0.6362 GB, free: 7.59 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.147e-05/0.4931, allocations: 34.56 kB / 0.6362 GB, free: 7.547 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 2.565e-06/0.4931, allocations: 3.938 kB / 0.6362 GB, free: 7.543 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003039/0.4962, allocations: 0.817 MB / 0.637 GB, free: 6.719 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.309e-05/0.4962, allocations: 110.7 kB / 0.6371 GB, free: 6.586 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.4966, allocations: 276.5 kB / 0.6374 GB, free: 6.312 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/0.4966, allocations: 29.7 kB / 0.6374 GB, free: 6.277 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.4968, allocations: 224.4 kB / 0.6376 GB, free: 6.055 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.957e-05/0.4969, allocations: 79.27 kB / 0.6377 GB, free: 5.977 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.497, allocations: 69.69 kB / 0.6378 GB, free: 5.902 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.4971, allocations: 338.8 kB / 0.6381 GB, free: 5.562 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004367/0.4976, allocations: 147.9 kB / 0.6382 GB, free: 5.418 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005431/0.4981, allocations: 299.2 kB / 0.6385 GB, free: 5.074 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008933/0.499, allocations: 377.9 kB / 0.6389 GB, free: 4.672 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.499, allocations: 3.938 kB / 0.6389 GB, free: 4.668 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001104/0.5001, allocations: 453.1 kB / 0.6393 GB, free: 4.219 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.5001, allocations: 8 kB / 0.6393 GB, free: 4.211 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.5001, allocations: 0 / 0.6393 GB, free: 4.211 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.5002, allocations: 4 kB / 0.6393 GB, free: 4.207 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003627/0.5005, allocations: 87.88 kB / 0.6394 GB, free: 4.121 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.5005, allocations: 7.938 kB / 0.6394 GB, free: 4.113 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002794/0.5008, allocations: 47.94 kB / 0.6395 GB, free: 4.066 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.5008, allocations: 15.98 kB / 0.6395 GB, free: 4.051 MB / 478.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.0002068/0.501, allocations: 161.7 kB / 0.6396 GB, free: 3.883 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.205e-05/0.5011, allocations: 31.8 kB / 0.6397 GB, free: 3.852 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002696/0.5038, allocations: 1.998 MB / 0.6416 GB, free: 1.844 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.519e-05/0.5039, allocations: 27.95 kB / 0.6417 GB, free: 1.816 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.5039, allocations: 3.938 kB / 0.6417 GB, free: 1.812 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.5039, allocations: 3.984 kB / 0.6417 GB, free: 1.809 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009977/0.5049, allocations: 0.8672 MB / 0.6425 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.5049, allocations: 0 / 0.6425 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003579/0.5052, allocations: 75.86 kB / 0.6426 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.5053, allocations: 0 / 0.6426 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.5053, allocations: 15.94 kB / 0.6426 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.5053, allocations: 0 / 0.6426 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5053, allocations: 0 / 0.6426 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.507, allocations: 1.136 MB / 0.6437 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.5071, allocations: 83.16 kB / 0.6438 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.938e-05/0.5072, allocations: 27.78 kB / 0.6438 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.5074, allocations: 35.91 kB / 0.6438 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.5075, allocations: 43.81 kB / 0.6439 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.5076, allocations: 11.98 kB / 0.6439 GB, free: 15.46 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003444/0.5079, allocations: 303.1 kB / 0.6442 GB, free: 15.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5079, allocations: 0 / 0.6442 GB, free: 15.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002873/0.5108, allocations: 1.01 MB / 0.6452 GB, free: 14.15 MB / 494.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.00431/0.5151, allocations: 1.172 MB / 0.6463 GB, free: 12.98 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001431/0.5165, allocations: 0.6108 MB / 0.6469 GB, free: 12.37 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.5165, allocations: 0 / 0.6469 GB, free: 12.37 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007233/0.5172, allocations: 433.2 kB / 0.6473 GB, free: 11.94 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.5183, allocations: 198.7 kB / 0.6475 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.5207, allocations: 1.594 MB / 0.6491 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.5211, allocations: 374.1 kB / 0.6494 GB, free: 9.73 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.5212, allocations: 39.44 kB / 0.6495 GB, free: 9.691 MB / 494.1 MB Notification: Performance of SimCode: time 8.31e-07/0.5212, allocations: 0 / 0.6495 GB, free: 9.691 MB / 494.1 MB Notification: Performance of Templates: time 0.03841/0.5596, allocations: 24.18 MB / 0.6731 GB, free: 1.516 MB / 0.4981 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.723880097270012]