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.001462/0.001462, allocations: 113.2 kB / 20.43 MB, free: 1.309 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.001635/0.001635, allocations: 215.7 kB / 23.74 MB, free: 4.535 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.57/1.57, allocations: 230.6 MB / 257.5 MB, free: 8 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.238/0.238, allocations: 46.94 MB / 360.9 MB, free: 4.273 MB / 286.1 MB " [Timeout remaining time 179] 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.002065/0.002065, allocations: 55.91 kB / 0.4966 GB, free: 7.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3403, allocations: 66.04 MB / 0.5611 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03549/0.3757, allocations: 28.67 MB / 0.5891 GB, free: 7.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01851/0.3943, allocations: 13.39 MB / 0.6022 GB, free: 10.24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003303/0.3946, allocations: 11.88 kB / 0.6022 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007826/0.3954, allocations: 258.4 kB / 0.6025 GB, free: 9.977 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009814/0.4052, allocations: 3.67 MB / 0.606 GB, free: 6.305 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006887/0.4121, allocations: 2.406 MB / 0.6084 GB, free: 3.902 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001474/0.4135, allocations: 0.908 MB / 0.6093 GB, free: 2.992 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004263/0.414, allocations: 216.9 kB / 0.6095 GB, free: 2.773 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009198/0.4149, allocations: 462.2 kB / 0.6099 GB, free: 2.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004054/0.4153, allocations: 278.9 kB / 0.6102 GB, free: 2.047 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.365e-05/0.4153, allocations: 32 kB / 0.6102 GB, free: 2.016 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01593/0.4313, allocations: 7.27 MB / 0.6173 GB, free: 10.73 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002566/0.4315, allocations: 103.7 kB / 0.6174 GB, free: 10.63 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003924/0.4319, allocations: 222.9 kB / 0.6176 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01179/0.4437, allocations: 4.427 MB / 0.622 GB, free: 5.977 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.101e-05/0.4437, allocations: 3.984 kB / 0.622 GB, free: 5.973 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4437, allocations: 0 / 0.622 GB, free: 5.973 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.4437, allocations: 0 / 0.622 GB, free: 5.973 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.003669/0.4474, allocations: 1.219 MB / 0.6232 GB, free: 4.719 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.4474, allocations: 8.031 kB / 0.6232 GB, free: 4.711 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/0.4492, allocations: 208.5 kB / 0.6234 GB, free: 4.508 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007081/0.4499, allocations: 309.3 kB / 0.6237 GB, free: 4.176 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.698e-05/0.45, allocations: 29.03 kB / 0.6237 GB, free: 4.148 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.849e-05/0.45, allocations: 24.38 kB / 0.6237 GB, free: 4.125 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.4517, allocations: 0.5941 MB / 0.6243 GB, free: 3.492 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.4517, allocations: 3.938 kB / 0.6243 GB, free: 3.488 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.468e-05/0.4518, allocations: 16 kB / 0.6243 GB, free: 3.473 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.4518, allocations: 8 kB / 0.6243 GB, free: 3.465 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/0.4536, allocations: 0.541 MB / 0.6248 GB, free: 2.922 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.003473/0.4571, allocations: 2.543 MB / 0.6273 GB, free: 172 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/0.4588, allocations: 442.2 kB / 0.6277 GB, free: 15.72 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005026/0.4593, allocations: 188.7 kB / 0.6279 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04755/0.5069, allocations: 13.16 MB / 0.6408 GB, free: 2.363 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.9e-05/0.5069, allocations: 42.5 kB / 0.6408 GB, free: 2.312 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 1.783e-06/0.5069, allocations: 0 / 0.6408 GB, free: 2.312 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003126/0.51, allocations: 0.817 MB / 0.6416 GB, free: 1.488 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.313e-05/0.5101, allocations: 106.8 kB / 0.6417 GB, free: 1.359 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003917/0.5105, allocations: 316.4 kB / 0.642 GB, free: 1.047 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.5106, allocations: 29.7 kB / 0.642 GB, free: 1.012 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.5107, allocations: 204.6 kB / 0.6422 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.043e-05/0.5108, allocations: 95.2 kB / 0.6423 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.5109, allocations: 69.69 kB / 0.6424 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.5111, allocations: 338.8 kB / 0.6427 GB, free: 308 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000448/0.5116, allocations: 147.9 kB / 0.6429 GB, free: 160 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005668/0.5121, allocations: 243.8 kB / 0.6431 GB, free: 15.88 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009546/0.5131, allocations: 374 kB / 0.6434 GB, free: 15.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.5131, allocations: 0 / 0.6434 GB, free: 15.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001163/0.5142, allocations: 456.9 kB / 0.6439 GB, free: 15.03 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.5143, allocations: 4 kB / 0.6439 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.5143, allocations: 4 kB / 0.6439 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/0.5143, allocations: 7.938 kB / 0.6439 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003839/0.5147, allocations: 91.88 kB / 0.644 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.5147, allocations: 4 kB / 0.644 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003075/0.515, allocations: 55.91 kB / 0.644 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.006e-05/0.515, allocations: 15.98 kB / 0.6441 GB, free: 14.85 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.0002129/0.5153, allocations: 165.7 kB / 0.6442 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.468e-05/0.5153, allocations: 35.77 kB / 0.6442 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002822/0.5182, allocations: 1.984 MB / 0.6462 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.693e-05/0.5182, allocations: 31.89 kB / 0.6462 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.5182, allocations: 4 kB / 0.6462 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.5182, allocations: 3.984 kB / 0.6462 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/0.5194, allocations: 1.015 MB / 0.6472 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.5194, allocations: 3.938 kB / 0.6472 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003543/0.5198, allocations: 75.88 kB / 0.6473 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.5198, allocations: 4 kB / 0.6473 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.5198, allocations: 7.984 kB / 0.6473 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.297e-06/0.5198, allocations: 7.938 kB / 0.6473 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.5198, allocations: 4 kB / 0.6473 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.5215, allocations: 1.132 MB / 0.6484 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.5217, allocations: 95.09 kB / 0.6485 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.313e-05/0.5217, allocations: 27.78 kB / 0.6485 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.522, allocations: 31.91 kB / 0.6486 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.615e-05/0.5221, allocations: 31.94 kB / 0.6486 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.5221, allocations: 11.98 kB / 0.6486 GB, free: 10.09 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003925/0.5225, allocations: 331.1 kB / 0.6489 GB, free: 9.773 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5225, allocations: 4 kB / 0.6489 GB, free: 9.77 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002899/0.5254, allocations: 1.006 MB / 0.6499 GB, free: 8.762 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.004073/0.5295, allocations: 1.161 MB / 0.651 GB, free: 7.59 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001386/0.5309, allocations: 0.615 MB / 0.6516 GB, free: 6.977 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5309, allocations: 0 / 0.6516 GB, free: 6.977 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007218/0.5316, allocations: 432.8 kB / 0.6521 GB, free: 6.555 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.5328, allocations: 213.9 kB / 0.6523 GB, free: 6.348 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/0.5351, allocations: 1.562 MB / 0.6538 GB, free: 4.758 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006107/0.5358, allocations: 0.9677 MB / 0.6547 GB, free: 3.762 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004935/0.5363, allocations: 289 kB / 0.655 GB, free: 3.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.5364, allocations: 35.44 kB / 0.655 GB, free: 3.445 MB / 494.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5364, allocations: 0 / 0.655 GB, free: 3.445 MB / 494.1 MB Notification: Performance of Templates: time 0.06332/0.5997, allocations: 40.34 MB / 0.6944 GB, free: 11.17 MB / 0.5294 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.205390227027237]