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.001011/0.001011, allocations: 84.25 kB / 22.21 MB, free: 2.281 MB / 18.57 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.0009575/0.0009575, allocations: 169.4 kB / 25.61 MB, free: 8.574 MB / 18.57 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.958/0.958, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.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.1726/0.1726, allocations: 34.88 MB / 297.4 MB, free: 13.32 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 2.104e-06/2.104e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.655e-05/1.866e-05, allocations: 2.312 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.01164/0.01166, allocations: 14.68 MB / 394.7 MB, free: 7.992 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009524/0.02118, allocations: 11.69 MB / 406.4 MB, free: 12.26 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002529/0.02143, allocations: 15.81 kB / 406.4 MB, free: 12.24 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004523/0.02189, allocations: 131 kB / 406.5 MB, free: 12.11 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007065/0.02895, allocations: 3.707 MB / 410.2 MB, free: 8.391 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004224/0.03318, allocations: 2.074 MB / 412.3 MB, free: 6.309 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008988/0.03407, allocations: 0.9391 MB / 413.2 MB, free: 5.367 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003071/0.03438, allocations: 225 kB / 413.5 MB, free: 5.145 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006909/0.03507, allocations: 0.5494 MB / 414 MB, free: 4.594 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002566/0.03533, allocations: 243.3 kB / 414.3 MB, free: 4.355 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.231e-05/0.03537, allocations: 32 kB / 414.3 MB, free: 4.324 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008412/0.04378, allocations: 6.77 MB / 421.1 MB, free: 13.55 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.04389, allocations: 103.6 kB / 421.2 MB, free: 13.45 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.04403, allocations: 159.7 kB / 421.3 MB, free: 13.29 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005269/0.04929, allocations: 5.242 MB / 426.6 MB, free: 8.035 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.0493, allocations: 0 / 426.6 MB, free: 8.035 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.0493, allocations: 0 / 426.6 MB, free: 8.035 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.04931, allocations: 0 / 426.6 MB, free: 8.035 MB / 346.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.001655/0.05096, allocations: 1.245 MB / 427.8 MB, free: 6.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.051, allocations: 12.02 kB / 427.8 MB, free: 6.738 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009002/0.0519, allocations: 303.7 kB / 428.1 MB, free: 6.441 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003411/0.05224, allocations: 319.3 kB / 428.4 MB, free: 6.102 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.05227, allocations: 29.02 kB / 428.4 MB, free: 6.074 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.671e-05/0.05231, allocations: 36.31 kB / 428.5 MB, free: 6.039 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008001/0.05311, allocations: 0.6903 MB / 429.2 MB, free: 5.254 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.05312, allocations: 192 / 429.2 MB, free: 5.254 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/0.05315, allocations: 15.94 kB / 429.2 MB, free: 5.238 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.05316, allocations: 8 kB / 429.2 MB, free: 5.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005491/0.05371, allocations: 340 kB / 429.5 MB, free: 4.898 MB / 346.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.001548/0.05526, allocations: 2.184 MB / 431.7 MB, free: 2.637 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006756/0.05593, allocations: 358.4 kB / 432.1 MB, free: 2.273 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.322e-05/0.05601, allocations: 64.31 kB / 432.1 MB, free: 2.207 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02048/0.07649, allocations: 11.43 MB / 443.5 MB, free: 6.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.07653, allocations: 41.39 kB / 443.6 MB, free: 6.719 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.315e-06/0.07653, allocations: 0 / 443.6 MB, free: 6.719 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001207/0.07774, allocations: 0.562 MB / 444.2 MB, free: 6.156 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.0778, allocations: 118.8 kB / 444.3 MB, free: 6.016 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.07801, allocations: 318.1 kB / 444.6 MB, free: 5.688 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.07804, allocations: 33.7 kB / 444.6 MB, free: 5.648 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.07817, allocations: 255.2 kB / 444.9 MB, free: 5.395 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.377e-05/0.07823, allocations: 87.22 kB / 444.9 MB, free: 5.309 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.313e-05/0.07831, allocations: 75.31 kB / 445 MB, free: 5.227 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.07846, allocations: 0.5195 MB / 445.5 MB, free: 4.695 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.282e-05/0.07854, allocations: 55.94 kB / 445.6 MB, free: 4.641 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.0787, allocations: 240.5 kB / 445.8 MB, free: 4.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004479/0.07915, allocations: 241.2 kB / 446.1 MB, free: 4.059 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.07915, allocations: 0 / 446.1 MB, free: 4.059 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003168/0.07946, allocations: 281 kB / 446.3 MB, free: 3.777 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.07948, allocations: 4 kB / 446.3 MB, free: 3.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.07949, allocations: 4 kB / 446.3 MB, free: 3.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.0795, allocations: 4 kB / 446.4 MB, free: 3.766 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.07968, allocations: 79.89 kB / 446.4 MB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.07968, allocations: 7.938 kB / 446.4 MB, free: 3.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.07981, allocations: 44.08 kB / 446.5 MB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.07983, allocations: 12 kB / 446.5 MB, free: 3.625 MB / 362.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.0001287/0.07996, allocations: 176.5 kB / 446.7 MB, free: 3.441 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-05/0.08002, allocations: 43.81 kB / 446.7 MB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009665/0.08098, allocations: 1.134 MB / 447.8 MB, free: 2.254 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.128e-05/0.081, allocations: 27.95 kB / 447.9 MB, free: 2.227 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.08101, allocations: 0 / 447.9 MB, free: 2.227 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.08101, allocations: 3.984 kB / 447.9 MB, free: 2.223 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004648/0.08148, allocations: 0.5985 MB / 448.5 MB, free: 1.598 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.08148, allocations: 0 / 448.5 MB, free: 1.598 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.08162, allocations: 63.89 kB / 448.5 MB, free: 1.535 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.08162, allocations: 0 / 448.5 MB, free: 1.535 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.08163, allocations: 8 kB / 448.5 MB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.08163, allocations: 4 kB / 448.5 MB, free: 1.523 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.08164, allocations: 4 kB / 448.5 MB, free: 1.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005792/0.08221, allocations: 0.7715 MB / 449.3 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.664e-05/0.08227, allocations: 91.14 kB / 449.4 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.955e-05/0.08231, allocations: 27.72 kB / 449.4 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.08242, allocations: 15.98 kB / 449.5 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.313e-05/0.08249, allocations: 39.8 kB / 449.5 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.08251, allocations: 8 kB / 449.5 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001585/0.08266, allocations: 283 kB / 449.8 MB, free: 280 kB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.08266, allocations: 4 kB / 449.8 MB, free: 276 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.002214/0.08488, allocations: 1.01 MB / 450.8 MB, free: 15.26 MB / 378.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.002656/0.08753, allocations: 1.314 MB / 452.1 MB, free: 13.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003333/0.08787, allocations: 273 kB / 452.4 MB, free: 13.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.08787, allocations: 0 / 452.4 MB, free: 13.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.08807, allocations: 235.3 kB / 452.6 MB, free: 13.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00063/0.0887, allocations: 223.3 kB / 452.8 MB, free: 13.22 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.09054, allocations: 1.32 MB / 454.1 MB, free: 11.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.09066, allocations: 185.5 kB / 454.3 MB, free: 11.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002613/0.09092, allocations: 258.8 kB / 454.6 MB, free: 11.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003227/0.09124, allocations: 246 kB / 454.8 MB, free: 11.17 MB / 378.7 MB Notification: Performance of SimCode: time 7.01e-07/0.09124, allocations: 0 / 454.8 MB, free: 11.17 MB / 378.7 MB Notification: Performance of Templates: time 0.2011/0.2924, allocations: 45.57 MB / 0.4886 GB, free: 98.7 MB / 410.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.935296182986349]