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.001343/0.001343, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001517/0.001517, allocations: 207.7 kB / 23.73 MB, free: 4.379 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.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2277/0.2277, allocations: 46.96 MB / 360.9 MB, free: 4.051 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.002058/0.002058, allocations: 67.91 kB / 0.4966 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.314, allocations: 66.03 MB / 0.5611 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.0347/0.3487, allocations: 25.92 MB / 0.5864 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01757/0.3663, allocations: 11.77 MB / 0.5979 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004009/0.3667, allocations: 15.88 kB / 0.5979 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007802/0.3675, allocations: 234.4 kB / 0.5981 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009714/0.3772, allocations: 3.65 MB / 0.6017 GB, free: 10.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006849/0.384, allocations: 2.36 MB / 0.604 GB, free: 8.148 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001462/0.3855, allocations: 0.908 MB / 0.6049 GB, free: 7.238 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005157/0.386, allocations: 220.8 kB / 0.6051 GB, free: 7.016 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.387, allocations: 442.2 kB / 0.6055 GB, free: 6.582 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005711/0.3876, allocations: 282.8 kB / 0.6058 GB, free: 6.305 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.792e-05/0.3877, allocations: 36 kB / 0.6058 GB, free: 6.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01488/0.4026, allocations: 7.192 MB / 0.6128 GB, free: 15.07 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002414/0.4028, allocations: 103.7 kB / 0.6129 GB, free: 14.97 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004079/0.4032, allocations: 183.2 kB / 0.6131 GB, free: 14.79 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01106/0.4143, allocations: 4.431 MB / 0.6174 GB, free: 10.34 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4143, allocations: 0 / 0.6174 GB, free: 10.34 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4143, allocations: 0 / 0.6174 GB, free: 10.34 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.4143, allocations: 4 kB / 0.6174 GB, free: 10.34 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.00356/0.4179, allocations: 1.201 MB / 0.6186 GB, free: 9.105 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.4179, allocations: 12.03 kB / 0.6186 GB, free: 9.094 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001931/0.4198, allocations: 208.5 kB / 0.6188 GB, free: 8.891 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007416/0.4206, allocations: 317.2 kB / 0.6191 GB, free: 8.551 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.296e-05/0.4206, allocations: 25.03 kB / 0.6191 GB, free: 8.527 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.667e-05/0.4207, allocations: 28.38 kB / 0.6192 GB, free: 8.5 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/0.4226, allocations: 0.7369 MB / 0.6199 GB, free: 7.688 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.4226, allocations: 7.984 kB / 0.6199 GB, free: 7.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5e-05/0.4227, allocations: 15.94 kB / 0.6199 GB, free: 7.664 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.4227, allocations: 11.94 kB / 0.6199 GB, free: 7.652 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/0.4246, allocations: 0.5449 MB / 0.6205 GB, free: 7.105 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.003255/0.4279, allocations: 1.849 MB / 0.6223 GB, free: 5.188 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.4297, allocations: 450.1 kB / 0.6227 GB, free: 4.738 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005241/0.4302, allocations: 188.7 kB / 0.6229 GB, free: 4.551 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05109/0.4813, allocations: 13.21 MB / 0.6358 GB, free: 7.324 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.4813, allocations: 30.56 kB / 0.6358 GB, free: 7.285 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 1.993e-06/0.4813, allocations: 3.938 kB / 0.6358 GB, free: 7.281 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003336/0.4847, allocations: 0.817 MB / 0.6366 GB, free: 6.457 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.417e-05/0.4847, allocations: 110.7 kB / 0.6367 GB, free: 6.324 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004027/0.4851, allocations: 276.5 kB / 0.637 GB, free: 6.051 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.932e-05/0.4852, allocations: 37.7 kB / 0.637 GB, free: 6.008 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.4854, allocations: 212.4 kB / 0.6372 GB, free: 5.797 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.4855, allocations: 87.25 kB / 0.6373 GB, free: 5.711 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.4857, allocations: 65.69 kB / 0.6374 GB, free: 5.641 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.4858, allocations: 342.8 kB / 0.6377 GB, free: 5.297 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004872/0.4863, allocations: 143.9 kB / 0.6378 GB, free: 5.156 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006125/0.4869, allocations: 299.2 kB / 0.6381 GB, free: 4.812 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.488, allocations: 381.9 kB / 0.6385 GB, free: 4.406 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.488, allocations: 0 / 0.6385 GB, free: 4.406 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001245/0.4892, allocations: 453 kB / 0.6389 GB, free: 3.957 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.4893, allocations: 8 kB / 0.6389 GB, free: 3.949 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.4893, allocations: 3.938 kB / 0.6389 GB, free: 3.945 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.4893, allocations: 4 kB / 0.6389 GB, free: 3.941 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/0.4897, allocations: 87.88 kB / 0.639 GB, free: 3.855 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/0.4897, allocations: 7.938 kB / 0.639 GB, free: 3.848 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003303/0.49, allocations: 48.03 kB / 0.6391 GB, free: 3.801 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.144e-05/0.4901, allocations: 15.98 kB / 0.6391 GB, free: 3.785 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.0002493/0.4903, allocations: 161.7 kB / 0.6392 GB, free: 3.617 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.916e-05/0.4904, allocations: 27.81 kB / 0.6392 GB, free: 3.59 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003095/0.4935, allocations: 1.982 MB / 0.6412 GB, free: 1.602 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.215e-05/0.4936, allocations: 27.95 kB / 0.6412 GB, free: 1.574 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.4936, allocations: 3.938 kB / 0.6412 GB, free: 1.57 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.4936, allocations: 7.984 kB / 0.6412 GB, free: 1.562 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.4947, allocations: 0.8672 MB / 0.6421 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.4947, allocations: 0 / 0.6421 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003658/0.495, allocations: 79.86 kB / 0.6421 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.4951, allocations: 3.938 kB / 0.6421 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/0.4951, allocations: 8 kB / 0.6422 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.4951, allocations: 4 kB / 0.6422 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4951, allocations: 0 / 0.6422 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/0.497, allocations: 1.132 MB / 0.6433 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.4972, allocations: 83.16 kB / 0.6433 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.134e-05/0.4973, allocations: 27.84 kB / 0.6434 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.4976, allocations: 35.97 kB / 0.6434 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.4977, allocations: 43.8 kB / 0.6434 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/0.4977, allocations: 15.98 kB / 0.6435 GB, free: 15.21 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003936/0.4981, allocations: 303.1 kB / 0.6438 GB, free: 14.92 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4981, allocations: 3.938 kB / 0.6438 GB, free: 14.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00343/0.5015, allocations: 1.014 MB / 0.6447 GB, free: 13.9 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.005163/0.5067, allocations: 1.153 MB / 0.6459 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001536/0.5082, allocations: 0.6144 MB / 0.6465 GB, free: 12.12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.5082, allocations: 0 / 0.6465 GB, free: 12.12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008677/0.5091, allocations: 433.5 kB / 0.6469 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.5104, allocations: 190 kB / 0.6471 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002961/0.5133, allocations: 1.558 MB / 0.6486 GB, free: 9.93 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005094/0.5139, allocations: 382 kB / 0.649 GB, free: 9.527 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007697/0.5146, allocations: 266.9 kB / 0.6492 GB, free: 9.266 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.5148, allocations: 39.44 kB / 0.6492 GB, free: 9.227 MB / 494.1 MB Notification: Performance of SimCode: time 1.313e-06/0.5148, allocations: 3.938 kB / 0.6492 GB, free: 9.223 MB / 494.1 MB Notification: Performance of Templates: time 0.07949/0.5943, allocations: 40.54 MB / 0.6888 GB, free: 0.8516 MB / 0.5137 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/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_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.047381222248077]