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.001563/0.001563, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 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.001513/0.001513, allocations: 210.1 kB / 25.13 MB, free: 3.605 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.443/1.443, allocations: 230.4 MB / 258.7 MB, free: 8.035 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.2371/0.2371, allocations: 46.94 MB / 362 MB, free: 4.234 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.002453/0.002453, allocations: 83.84 kB / 0.4978 GB, free: 7.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3284, allocations: 66.09 MB / 0.5623 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03403/0.3624, allocations: 28.34 MB / 0.59 GB, free: 7.816 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01825/0.3806, allocations: 13.27 MB / 0.603 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004341/0.3811, allocations: 11.88 kB / 0.603 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008586/0.3819, allocations: 262.4 kB / 0.6032 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01024/0.3922, allocations: 3.665 MB / 0.6068 GB, free: 6.566 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006524/0.3987, allocations: 2.406 MB / 0.6092 GB, free: 4.164 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001489/0.4002, allocations: 0.9119 MB / 0.6101 GB, free: 3.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004264/0.4006, allocations: 216.8 kB / 0.6103 GB, free: 3.031 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008866/0.4015, allocations: 462.2 kB / 0.6107 GB, free: 2.578 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003832/0.4019, allocations: 282.9 kB / 0.611 GB, free: 2.301 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.671e-05/0.4019, allocations: 36 kB / 0.611 GB, free: 2.266 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01387/0.4158, allocations: 7.184 MB / 0.618 GB, free: 11.07 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000213/0.416, allocations: 103.6 kB / 0.6181 GB, free: 10.97 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003734/0.4164, allocations: 223 kB / 0.6183 GB, free: 10.75 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01023/0.4266, allocations: 4.427 MB / 0.6227 GB, free: 6.312 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4266, allocations: 0 / 0.6227 GB, free: 6.312 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4266, allocations: 0 / 0.6227 GB, free: 6.312 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.4266, allocations: 0 / 0.6227 GB, free: 6.312 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.003258/0.4299, allocations: 1.199 MB / 0.6238 GB, free: 5.078 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.4299, allocations: 11.97 kB / 0.6238 GB, free: 5.066 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001779/0.4317, allocations: 216.5 kB / 0.624 GB, free: 4.855 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006048/0.4323, allocations: 309.3 kB / 0.6243 GB, free: 4.523 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.105e-05/0.4324, allocations: 29.03 kB / 0.6244 GB, free: 4.496 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.447e-05/0.4324, allocations: 24.38 kB / 0.6244 GB, free: 4.473 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/0.4341, allocations: 0.7486 MB / 0.6251 GB, free: 3.648 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.4342, allocations: 3.938 kB / 0.6251 GB, free: 3.645 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.552e-05/0.4342, allocations: 19.94 kB / 0.6251 GB, free: 3.625 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.4342, allocations: 8 kB / 0.6251 GB, free: 3.617 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.4359, allocations: 0.5448 MB / 0.6257 GB, free: 3.07 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.003341/0.4393, allocations: 2.519 MB / 0.6281 GB, free: 348 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/0.441, allocations: 454.2 kB / 0.6286 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004878/0.4415, allocations: 193.4 kB / 0.6288 GB, free: 15.7 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04674/0.4882, allocations: 13.14 MB / 0.6416 GB, free: 2.531 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/0.4883, allocations: 34.56 kB / 0.6416 GB, free: 2.488 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 2.344e-06/0.4883, allocations: 4 kB / 0.6416 GB, free: 2.484 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003079/0.4913, allocations: 0.8247 MB / 0.6424 GB, free: 1.652 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.249e-05/0.4914, allocations: 106.8 kB / 0.6425 GB, free: 1.523 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003996/0.4918, allocations: 312.4 kB / 0.6428 GB, free: 1.215 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.154e-05/0.4919, allocations: 33.7 kB / 0.6429 GB, free: 1.176 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.4921, allocations: 204.6 kB / 0.6431 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9e-05/0.4921, allocations: 91.2 kB / 0.6432 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.4923, allocations: 69.69 kB / 0.6432 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.4924, allocations: 342.8 kB / 0.6435 GB, free: 476 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004648/0.4929, allocations: 147.9 kB / 0.6437 GB, free: 328 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005935/0.4935, allocations: 299.2 kB / 0.644 GB, free: 15.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009392/0.4944, allocations: 381 kB / 0.6443 GB, free: 15.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.4944, allocations: 0 / 0.6443 GB, free: 15.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001154/0.4956, allocations: 437.8 kB / 0.6448 GB, free: 15.14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.4956, allocations: 8 kB / 0.6448 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.4956, allocations: 11.94 kB / 0.6448 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.4957, allocations: 7.938 kB / 0.6448 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003821/0.496, allocations: 91.81 kB / 0.6449 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.4961, allocations: 12.3 kB / 0.6449 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/0.4964, allocations: 47.75 kB / 0.6449 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.315e-05/0.4964, allocations: 16 kB / 0.6449 GB, free: 14.95 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.0002283/0.4966, allocations: 161.9 kB / 0.6451 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.755e-05/0.4967, allocations: 35.77 kB / 0.6451 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002766/0.4995, allocations: 1.995 MB / 0.6471 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-05/0.4995, allocations: 31.89 kB / 0.6471 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.4995, allocations: 3.984 kB / 0.6471 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.4995, allocations: 0 / 0.6471 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.5008, allocations: 1.015 MB / 0.6481 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.5008, allocations: 0 / 0.6481 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003437/0.5012, allocations: 75.92 kB / 0.6482 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.5012, allocations: 0 / 0.6482 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.5012, allocations: 12 kB / 0.6482 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.5012, allocations: 7.875 kB / 0.6482 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5012, allocations: 0 / 0.6482 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.5029, allocations: 1.132 MB / 0.6493 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.5031, allocations: 91.11 kB / 0.6494 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.776e-05/0.5031, allocations: 23.78 kB / 0.6494 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002866/0.5034, allocations: 31.91 kB / 0.6494 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.5036, allocations: 39.92 kB / 0.6495 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.5036, allocations: 12 kB / 0.6495 GB, free: 10.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004223/0.504, allocations: 331.1 kB / 0.6498 GB, free: 9.871 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.504, allocations: 3.938 kB / 0.6498 GB, free: 9.867 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002922/0.5069, allocations: 1.006 MB / 0.6508 GB, free: 8.859 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.004092/0.511, allocations: 1.167 MB / 0.6519 GB, free: 7.684 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001474/0.5125, allocations: 0.6105 MB / 0.6525 GB, free: 7.074 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.5125, allocations: 0 / 0.6525 GB, free: 7.074 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007974/0.5133, allocations: 433 kB / 0.6529 GB, free: 6.652 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.5145, allocations: 208.9 kB / 0.6531 GB, free: 6.449 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.5169, allocations: 1.566 MB / 0.6547 GB, free: 4.852 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006025/0.5175, allocations: 0.9677 MB / 0.6556 GB, free: 3.855 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005262/0.518, allocations: 277.6 kB / 0.6559 GB, free: 3.582 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.5181, allocations: 39.44 kB / 0.6559 GB, free: 3.543 MB / 494.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5181, allocations: 0 / 0.6559 GB, free: 3.543 MB / 494.1 MB Notification: Performance of Templates: time 0.05971/0.5778, allocations: 40.36 MB / 0.6953 GB, free: 11.23 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 -s gbode -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/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-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: 8.14131656801328]