Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001531/0.001531, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.00176/0.00176, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.477/1.477, allocations: 230.3 MB / 258 MB, free: 8.188 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2273/0.2273, allocations: 46.94 MB / 361.4 MB, free: 4.391 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00236/0.00236, allocations: 87.84 kB / 0.4972 GB, free: 7.512 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3266, allocations: 66.04 MB / 0.5617 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.0333/0.3599, allocations: 28.67 MB / 0.5896 GB, free: 7.762 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01806/0.378, allocations: 13.39 MB / 0.6027 GB, free: 10.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005105/0.3785, allocations: 15.88 kB / 0.6027 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009325/0.3794, allocations: 246.4 kB / 0.603 GB, free: 10.06 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01053/0.39, allocations: 3.673 MB / 0.6066 GB, free: 6.391 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007674/0.3977, allocations: 2.402 MB / 0.6089 GB, free: 3.992 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001885/0.3995, allocations: 0.9158 MB / 0.6098 GB, free: 3.074 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004324/0.4, allocations: 212.9 kB / 0.61 GB, free: 2.859 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009604/0.4009, allocations: 462.2 kB / 0.6105 GB, free: 2.406 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003961/0.4013, allocations: 278.9 kB / 0.6107 GB, free: 2.133 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.119e-05/0.4014, allocations: 36 kB / 0.6108 GB, free: 2.098 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01484/0.4162, allocations: 7.266 MB / 0.6178 GB, free: 10.82 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002394/0.4165, allocations: 99.66 kB / 0.6179 GB, free: 10.72 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003538/0.4168, allocations: 226.9 kB / 0.6182 GB, free: 10.5 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01097/0.4278, allocations: 4.431 MB / 0.6225 GB, free: 6.059 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4278, allocations: 0 / 0.6225 GB, free: 6.059 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4278, allocations: 0 / 0.6225 GB, free: 6.059 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.4278, allocations: 0 / 0.6225 GB, free: 6.059 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.003709/0.4315, allocations: 1.215 MB / 0.6237 GB, free: 4.809 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.4316, allocations: 12.03 kB / 0.6237 GB, free: 4.797 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001769/0.4333, allocations: 208.5 kB / 0.6239 GB, free: 4.594 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006492/0.434, allocations: 313.2 kB / 0.6242 GB, free: 4.258 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.067e-05/0.434, allocations: 21.03 kB / 0.6242 GB, free: 4.238 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.181e-05/0.4341, allocations: 32.38 kB / 0.6242 GB, free: 4.207 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/0.4357, allocations: 0.5902 MB / 0.6248 GB, free: 3.578 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.4357, allocations: 4 kB / 0.6248 GB, free: 3.574 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.293e-05/0.4358, allocations: 12 kB / 0.6248 GB, free: 3.562 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.4358, allocations: 11.94 kB / 0.6248 GB, free: 3.551 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001714/0.4375, allocations: 0.541 MB / 0.6254 GB, free: 3.008 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.003884/0.4414, allocations: 2.535 MB / 0.6278 GB, free: 268 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/0.4431, allocations: 454.1 kB / 0.6283 GB, free: 15.81 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004707/0.4436, allocations: 189.6 kB / 0.6285 GB, free: 15.62 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04494/0.4885, allocations: 13.15 MB / 0.6413 GB, free: 2.449 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.048e-05/0.4886, allocations: 38.55 kB / 0.6413 GB, free: 2.402 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 2.294e-06/0.4886, allocations: 0 / 0.6413 GB, free: 2.402 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003131/0.4917, allocations: 0.8247 MB / 0.6421 GB, free: 1.57 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.566e-05/0.4918, allocations: 106.8 kB / 0.6422 GB, free: 1.441 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004726/0.4923, allocations: 320.5 kB / 0.6425 GB, free: 1.125 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.289e-05/0.4923, allocations: 29.7 kB / 0.6426 GB, free: 1.09 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.4925, allocations: 204.6 kB / 0.6428 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.683e-05/0.4926, allocations: 91.2 kB / 0.6429 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.4927, allocations: 65.69 kB / 0.6429 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.4929, allocations: 342.8 kB / 0.6432 GB, free: 392 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004357/0.4933, allocations: 147.9 kB / 0.6434 GB, free: 244 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005227/0.4938, allocations: 248 kB / 0.6436 GB, free: 15.95 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008849/0.4947, allocations: 373.1 kB / 0.644 GB, free: 15.55 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.4947, allocations: 0 / 0.644 GB, free: 15.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001111/0.4958, allocations: 445.8 kB / 0.6444 GB, free: 15.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.4958, allocations: 10.5 kB / 0.6444 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.4958, allocations: 4 kB / 0.6444 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.4959, allocations: 11.92 kB / 0.6444 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/0.4962, allocations: 88.19 kB / 0.6445 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.4963, allocations: 4 kB / 0.6445 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003031/0.4966, allocations: 51.58 kB / 0.6446 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.4966, allocations: 16 kB / 0.6446 GB, free: 14.94 MB / 494.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.000274/0.4969, allocations: 161.9 kB / 0.6447 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.705e-05/0.497, allocations: 35.77 kB / 0.6448 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002801/0.4998, allocations: 1.995 MB / 0.6467 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-05/0.4998, allocations: 35.83 kB / 0.6468 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.4998, allocations: 0 / 0.6468 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.4998, allocations: 0 / 0.6468 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.501, allocations: 1.011 MB / 0.6477 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.501, allocations: 3.984 kB / 0.6477 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003379/0.5014, allocations: 79.88 kB / 0.6478 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.5014, allocations: 0 / 0.6478 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.5014, allocations: 12 kB / 0.6478 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.772e-06/0.5014, allocations: 7.922 kB / 0.6478 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.5014, allocations: 0 / 0.6478 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/0.5031, allocations: 1.128 MB / 0.6489 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.5033, allocations: 99.09 kB / 0.649 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.217e-05/0.5033, allocations: 27.77 kB / 0.6491 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000295/0.5036, allocations: 31.91 kB / 0.6491 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.5038, allocations: 35.94 kB / 0.6491 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.5038, allocations: 12 kB / 0.6491 GB, free: 10.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000421/0.5042, allocations: 331 kB / 0.6495 GB, free: 9.855 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5042, allocations: 0 / 0.6495 GB, free: 9.855 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003108/0.5073, allocations: 1.006 MB / 0.6504 GB, free: 8.848 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.005093/0.5124, allocations: 1.157 MB / 0.6516 GB, free: 7.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001448/0.5139, allocations: 0.6224 MB / 0.6522 GB, free: 7.059 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.5139, allocations: 0 / 0.6522 GB, free: 7.059 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000726/0.5146, allocations: 425.3 kB / 0.6526 GB, free: 6.645 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.5158, allocations: 223.9 kB / 0.6528 GB, free: 6.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002431/0.5182, allocations: 1.57 MB / 0.6543 GB, free: 4.828 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006502/0.5189, allocations: 0.9599 MB / 0.6553 GB, free: 3.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005134/0.5194, allocations: 274.1 kB / 0.6555 GB, free: 3.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.5195, allocations: 47.42 kB / 0.6556 GB, free: 3.523 MB / 494.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5195, allocations: 0 / 0.6556 GB, free: 3.523 MB / 494.1 MB Notification: Performance of Templates: time 0.06399/0.5835, allocations: 40.34 MB / 0.695 GB, free: 11.22 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 7.909832503646612]