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.001386/0.001386, allocations: 84.34 kB / 20.95 MB, free: 3.453 MB / 18.57 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.00145/0.00145, allocations: 169.3 kB / 24.27 MB, free: 144 kB / 18.57 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.504/1.504, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 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.3359/0.3359, allocations: 34.26 MB / 295.3 MB, free: 0.6875 MB / 266.7 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 2.494e-06/2.494e-06, allocations: 0 / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.657e-05/3.906e-05, allocations: 2.312 kB / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.04032/0.04035, allocations: 25.77 MB / 403.1 MB, free: 9.094 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01965/0.06, allocations: 11.78 MB / 414.8 MB, free: 13.27 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003938/0.0604, allocations: 15.88 kB / 414.9 MB, free: 13.26 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008363/0.06123, allocations: 226.4 kB / 415.1 MB, free: 13.04 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01071/0.07194, allocations: 3.705 MB / 418.8 MB, free: 9.316 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007198/0.07914, allocations: 2.384 MB / 421.2 MB, free: 6.922 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001465/0.0806, allocations: 0.9156 MB / 422.1 MB, free: 6 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004278/0.08103, allocations: 217.1 kB / 422.3 MB, free: 5.785 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.08209, allocations: 0.5529 MB / 422.8 MB, free: 5.23 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003838/0.08248, allocations: 235.3 kB / 423.1 MB, free: 5 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.964e-05/0.08255, allocations: 39.94 kB / 423.1 MB, free: 4.961 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01519/0.09773, allocations: 6.906 MB / 430 MB, free: 14.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002105/0.09794, allocations: 103.6 kB / 430.1 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003407/0.09828, allocations: 159.7 kB / 430.3 MB, free: 13.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01312/0.1114, allocations: 5.562 MB / 435.8 MB, free: 8.215 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.1114, allocations: 4 kB / 435.8 MB, free: 8.211 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1114, allocations: 0 / 435.8 MB, free: 8.211 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.1114, allocations: 0 / 435.8 MB, free: 8.211 MB / 410.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.003664/0.1151, allocations: 1.192 MB / 437 MB, free: 6.984 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.1151, allocations: 8.031 kB / 437 MB, free: 6.977 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001902/0.117, allocations: 319.6 kB / 437.4 MB, free: 6.664 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000705/0.1177, allocations: 324.5 kB / 437.7 MB, free: 6.324 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.913e-05/0.1178, allocations: 33.03 kB / 437.7 MB, free: 6.293 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.288e-05/0.1178, allocations: 28.38 kB / 437.7 MB, free: 6.266 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/0.1197, allocations: 0.7374 MB / 438.5 MB, free: 5.449 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.1197, allocations: 4.125 kB / 438.5 MB, free: 5.445 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.043e-05/0.1198, allocations: 23.94 kB / 438.5 MB, free: 5.422 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.1198, allocations: 8 kB / 438.5 MB, free: 5.414 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/0.1216, allocations: 0.5449 MB / 439 MB, free: 4.871 MB / 410.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.003153/0.1247, allocations: 1.852 MB / 440.9 MB, free: 2.949 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.1265, allocations: 450.1 kB / 441.3 MB, free: 2.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005263/0.127, allocations: 184.7 kB / 441.5 MB, free: 2.316 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1914/0.3184, allocations: 13.19 MB / 454.7 MB, free: 102.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.3184, allocations: 33.59 kB / 454.7 MB, free: 102.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.893e-06/0.3184, allocations: 0 / 454.7 MB, free: 102.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.00268/0.3211, allocations: 0.8661 MB / 455.6 MB, free: 102.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.3211, allocations: 110.5 kB / 455.7 MB, free: 102.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.3214, allocations: 276.6 kB / 456 MB, free: 102.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.3214, allocations: 33.7 kB / 456 MB, free: 102.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.428e-05/0.3215, allocations: 217.7 kB / 456.2 MB, free: 101.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.3215, allocations: 87.78 kB / 456.3 MB, free: 101.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.032e-05/0.3216, allocations: 69.33 kB / 456.4 MB, free: 101.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.399e-05/0.3217, allocations: 339.8 kB / 456.7 MB, free: 101.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003744/0.322, allocations: 155.2 kB / 456.9 MB, free: 101.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004207/0.3225, allocations: 301.7 kB / 457.2 MB, free: 101.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007401/0.3232, allocations: 375.3 kB / 457.5 MB, free: 101.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3232, allocations: 0 / 457.5 MB, free: 101.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009329/0.3241, allocations: 458.8 kB / 458 MB, free: 100.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.3242, allocations: 6.688 kB / 458 MB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3242, allocations: 0 / 458 MB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.3242, allocations: 6.781 kB / 458 MB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003444/0.3245, allocations: 89.03 kB / 458.1 MB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3245, allocations: 3.219 kB / 458.1 MB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.3248, allocations: 56.08 kB / 458.1 MB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.3248, allocations: 20.34 kB / 458.2 MB, free: 100.9 MB / 410.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_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.0001356/0.325, allocations: 164.4 kB / 458.3 MB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.945e-05/0.325, allocations: 35.59 kB / 458.4 MB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002042/0.3271, allocations: 2.003 MB / 460.4 MB, free: 99.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.972e-05/0.3271, allocations: 27.62 kB / 460.4 MB, free: 99.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3271, allocations: 3.156 kB / 460.4 MB, free: 99.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3271, allocations: 0 / 460.4 MB, free: 99.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006607/0.3278, allocations: 0.8683 MB / 461.3 MB, free: 99.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3278, allocations: 4 kB / 461.3 MB, free: 99.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003063/0.3281, allocations: 82.11 kB / 461.3 MB, free: 99.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3281, allocations: 0 / 461.3 MB, free: 99.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.3281, allocations: 8.219 kB / 461.3 MB, free: 99.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.3281, allocations: 3 kB / 461.4 MB, free: 99.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3281, allocations: 0 / 461.4 MB, free: 99.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.3294, allocations: 1.153 MB / 462.5 MB, free: 98.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-05/0.3295, allocations: 88.41 kB / 462.6 MB, free: 98.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.613e-05/0.3295, allocations: 26.47 kB / 462.6 MB, free: 98.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/0.3298, allocations: 33.91 kB / 462.6 MB, free: 98.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.735e-05/0.3299, allocations: 33.88 kB / 462.7 MB, free: 98.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.3299, allocations: 9.781 kB / 462.7 MB, free: 98.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002537/0.3302, allocations: 301.4 kB / 463 MB, free: 98.63 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3302, allocations: 0 / 463 MB, free: 98.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002419/0.3326, allocations: 1.02 MB / 464 MB, free: 98.46 MB / 410.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.003568/0.3361, allocations: 1.303 MB / 465.3 MB, free: 98.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001165/0.3373, allocations: 0.606 MB / 465.9 MB, free: 97.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3373, allocations: 0 / 465.9 MB, free: 97.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006128/0.3379, allocations: 437.7 kB / 466.3 MB, free: 97.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.3391, allocations: 224.2 kB / 466.6 MB, free: 97.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.3412, allocations: 1.537 MB / 468.1 MB, free: 96.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.3415, allocations: 378.4 kB / 468.5 MB, free: 96.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004408/0.342, allocations: 269.7 kB / 468.7 MB, free: 96.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.3421, allocations: 44.91 kB / 468.8 MB, free: 96.83 MB / 410.7 MB Notification: Performance of SimCode: time 1.833e-06/0.3421, allocations: 0 / 468.8 MB, free: 96.83 MB / 410.7 MB Notification: Performance of Templates: time 0.04669/0.3888, allocations: 39.56 MB / 0.4964 GB, free: 69.21 MB / 410.7 MB " [Timeout remaining time 660] 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: 7.779790328000672]