Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001364/0.001364, allocations: 71.28 kB / 21.24 MB, free: 0.5469 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.001437/0.001437, allocations: 158.6 kB / 24.5 MB, free: 3.723 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.426/1.426, allocations: 177.2 MB / 204.9 MB, free: 9.031 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1962/0.1962, allocations: 32.81 MB / 294.1 MB, free: 48 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 63.91 kB / 440.6 MB, free: 9.438 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3205, allocations: 65.43 MB / 0.4941 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.02322/0.3437, allocations: 25.93 MB / 0.5195 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01487/0.3586, allocations: 11.77 MB / 0.531 GB, free: 6.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003465/0.3589, allocations: 14.28 kB / 0.531 GB, free: 6.492 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008308/0.3597, allocations: 228.4 kB / 0.5312 GB, free: 6.371 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01077/0.3705, allocations: 3.652 MB / 0.5348 GB, free: 4.918 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006419/0.3769, allocations: 2.35 MB / 0.537 GB, free: 3.762 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001394/0.3783, allocations: 0.9162 MB / 0.5379 GB, free: 3.324 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003876/0.3787, allocations: 205.7 kB / 0.5381 GB, free: 3.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007971/0.3795, allocations: 451.2 kB / 0.5386 GB, free: 3.035 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003565/0.3799, allocations: 263.7 kB / 0.5388 GB, free: 2.934 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.57e-05/0.3799, allocations: 33.41 kB / 0.5389 GB, free: 2.934 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01449/0.3944, allocations: 6.907 MB / 0.5456 GB, free: 108 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001996/0.3946, allocations: 105.1 kB / 0.5457 GB, free: 24 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000398/0.395, allocations: 183.2 kB / 0.5459 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01113/0.4061, allocations: 4.426 MB / 0.5502 GB, free: 13.12 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.4061, allocations: 0 / 0.5502 GB, free: 13.12 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4061, allocations: 1.094 kB / 0.5502 GB, free: 13.12 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.856e-06/0.4062, allocations: 0 / 0.5502 GB, free: 13.12 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.004066/0.4102, allocations: 1.202 MB / 0.5514 GB, free: 12.27 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.4103, allocations: 8.844 kB / 0.5514 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001843/0.4121, allocations: 219 kB / 0.5516 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006776/0.4128, allocations: 311.2 kB / 0.5519 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.911e-05/0.4128, allocations: 27.19 kB / 0.5519 GB, free: 11.9 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.217e-05/0.4129, allocations: 30.81 kB / 0.5519 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.4147, allocations: 0.7448 MB / 0.5527 GB, free: 11.31 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.4147, allocations: 1.188 kB / 0.5527 GB, free: 11.31 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.138e-05/0.4147, allocations: 13 kB / 0.5527 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.4147, allocations: 7.438 kB / 0.5527 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/0.4165, allocations: 0.5467 MB / 0.5532 GB, free: 11.04 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.002989/0.4195, allocations: 1.851 MB / 0.555 GB, free: 9.469 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.4211, allocations: 459.1 kB / 0.5555 GB, free: 9.234 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004817/0.4216, allocations: 188.6 kB / 0.5556 GB, free: 9.137 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04994/0.4716, allocations: 13.21 MB / 0.5685 GB, free: 12.51 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.4716, allocations: 30.56 kB / 0.5686 GB, free: 12.47 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 1.823e-06/0.4716, allocations: 0 / 0.5686 GB, free: 12.47 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003124/0.4747, allocations: 0.8248 MB / 0.5694 GB, free: 11.64 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.443e-05/0.4748, allocations: 106.8 kB / 0.5695 GB, free: 11.51 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003598/0.4752, allocations: 276.5 kB / 0.5697 GB, free: 11.23 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.639e-05/0.4752, allocations: 33.7 kB / 0.5698 GB, free: 11.19 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.4754, allocations: 216.3 kB / 0.57 GB, free: 10.98 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.451e-05/0.4755, allocations: 83.28 kB / 0.5701 GB, free: 10.89 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.4756, allocations: 69.69 kB / 0.5701 GB, free: 10.82 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.4757, allocations: 342.8 kB / 0.5705 GB, free: 10.48 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004458/0.4762, allocations: 147.9 kB / 0.5706 GB, free: 10.33 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005764/0.4768, allocations: 287.9 kB / 0.5709 GB, free: 10 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009494/0.4777, allocations: 385 kB / 0.5712 GB, free: 9.59 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.4777, allocations: 0 / 0.5712 GB, free: 9.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001615/0.4793, allocations: 449.7 kB / 0.5717 GB, free: 9.145 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.4794, allocations: 4 kB / 0.5717 GB, free: 9.141 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.4794, allocations: 4 kB / 0.5717 GB, free: 9.137 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.4794, allocations: 4 kB / 0.5717 GB, free: 9.133 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003851/0.4798, allocations: 88.19 kB / 0.5718 GB, free: 9.047 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.4798, allocations: 15.92 kB / 0.5718 GB, free: 9.031 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/0.4801, allocations: 43.81 kB / 0.5718 GB, free: 8.988 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.103e-05/0.4802, allocations: 12 kB / 0.5718 GB, free: 8.977 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.0002319/0.4804, allocations: 161.7 kB / 0.572 GB, free: 8.809 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.635e-05/0.4805, allocations: 31.81 kB / 0.572 GB, free: 8.777 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00308/0.4836, allocations: 2.013 MB / 0.574 GB, free: 6.758 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.467e-05/0.4836, allocations: 39.89 kB / 0.574 GB, free: 6.719 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.4836, allocations: 3.938 kB / 0.574 GB, free: 6.715 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.4836, allocations: 3.984 kB / 0.574 GB, free: 6.711 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.4847, allocations: 0.868 MB / 0.5749 GB, free: 5.809 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.4847, allocations: 0 / 0.5749 GB, free: 5.809 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/0.4851, allocations: 79.86 kB / 0.575 GB, free: 5.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.4851, allocations: 0 / 0.575 GB, free: 5.73 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.4851, allocations: 8 kB / 0.575 GB, free: 5.723 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.4851, allocations: 4 kB / 0.575 GB, free: 5.719 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4851, allocations: 0 / 0.575 GB, free: 5.719 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/0.4869, allocations: 1.134 MB / 0.5761 GB, free: 4.562 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.487, allocations: 87.16 kB / 0.5762 GB, free: 4.477 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.739e-05/0.487, allocations: 27.78 kB / 0.5762 GB, free: 4.449 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/0.4873, allocations: 31.95 kB / 0.5762 GB, free: 4.418 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.612e-05/0.4874, allocations: 35.88 kB / 0.5762 GB, free: 4.383 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/0.4875, allocations: 12 kB / 0.5763 GB, free: 4.371 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000362/0.4878, allocations: 303.1 kB / 0.5765 GB, free: 4.078 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4878, allocations: 0 / 0.5765 GB, free: 4.078 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003399/0.4912, allocations: 1.006 MB / 0.5775 GB, free: 3.07 MB / 478.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.004676/0.4959, allocations: 1.176 MB / 0.5787 GB, free: 1.883 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001466/0.4974, allocations: 0.6105 MB / 0.5793 GB, free: 1.273 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4974, allocations: 0 / 0.5793 GB, free: 1.273 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007537/0.4981, allocations: 437.5 kB / 0.5797 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.4993, allocations: 202.2 kB / 0.5799 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/0.5016, allocations: 1.55 MB / 0.5814 GB, free: 15.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.502, allocations: 378.2 kB / 0.5818 GB, free: 14.68 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004651/0.5024, allocations: 262.8 kB / 0.582 GB, free: 14.42 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.5025, allocations: 44.48 kB / 0.5821 GB, free: 14.38 MB / 494.1 MB Notification: Performance of SimCode: time 6.92e-07/0.5025, allocations: 7.938 kB / 0.5821 GB, free: 14.37 MB / 494.1 MB Notification: Performance of Templates: time 0.06035/0.5629, allocations: 39.33 MB / 0.6205 GB, free: 7.211 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.676903553074226]