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.001919/0.001919, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.002535/0.002535, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.49/1.49, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.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.2158/0.2158, allocations: 34.27 MB / 294.9 MB, free: 14.57 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 2.254e-06/2.254e-06, allocations: 0 / 442.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.703e-05/2.928e-05, allocations: 2.281 kB / 442.7 MB, free: 5.391 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.1984/0.1984, allocations: 25.76 MB / 468.4 MB, free: 4.445 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01461/0.213, allocations: 11.79 MB / 480.2 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000394/0.2134, allocations: 12.88 kB / 480.2 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007997/0.2142, allocations: 233.1 kB / 480.5 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01133/0.2255, allocations: 3.696 MB / 484.2 MB, free: 9.727 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007058/0.2326, allocations: 2.389 MB / 486.6 MB, free: 7.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001393/0.234, allocations: 0.9163 MB / 487.5 MB, free: 7.441 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004063/0.2344, allocations: 222.5 kB / 487.7 MB, free: 7.285 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009661/0.2353, allocations: 0.5418 MB / 488.2 MB, free: 6.949 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003915/0.2357, allocations: 238.7 kB / 488.5 MB, free: 6.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.688e-05/0.2358, allocations: 34.5 kB / 488.5 MB, free: 6.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01504/0.2508, allocations: 6.923 MB / 495.4 MB, free: 1.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002131/0.2511, allocations: 107.6 kB / 495.5 MB, free: 1.531 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003937/0.2514, allocations: 159.7 kB / 495.7 MB, free: 1.375 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01356/0.265, allocations: 5.547 MB / 0.4895 GB, free: 11.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.265, allocations: 3.984 kB / 0.4895 GB, free: 11.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.265, allocations: 4 kB / 0.4895 GB, free: 11.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.265, allocations: 0 / 0.4895 GB, free: 11.81 MB / 398.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.004184/0.2692, allocations: 1.184 MB / 0.4906 GB, free: 10.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.2693, allocations: 12.03 kB / 0.4907 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001908/0.2712, allocations: 220.4 kB / 0.4909 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006177/0.2718, allocations: 312.5 kB / 0.4912 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.571e-05/0.2718, allocations: 30.47 kB / 0.4912 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.22e-05/0.2719, allocations: 32.38 kB / 0.4912 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/0.2737, allocations: 0.7374 MB / 0.4919 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.2737, allocations: 384 / 0.4919 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.28e-05/0.2738, allocations: 19.94 kB / 0.492 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.2738, allocations: 11.98 kB / 0.492 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/0.2756, allocations: 0.541 MB / 0.4925 GB, free: 8.586 MB / 398.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.003278/0.2789, allocations: 1.848 MB / 0.4943 GB, free: 6.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.2807, allocations: 450.7 kB / 0.4947 GB, free: 6.219 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005113/0.2812, allocations: 184.7 kB / 0.4949 GB, free: 6.035 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04929/0.3305, allocations: 13.2 MB / 0.5078 GB, free: 8.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.3305, allocations: 34.56 kB / 0.5078 GB, free: 8.777 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 2.053e-06/0.3305, allocations: 0 / 0.5078 GB, free: 8.777 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.003237/0.3337, allocations: 0.8189 MB / 0.5086 GB, free: 7.953 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.264e-05/0.3338, allocations: 110.8 kB / 0.5087 GB, free: 7.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003398/0.3342, allocations: 276.5 kB / 0.509 GB, free: 7.543 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.3342, allocations: 33.7 kB / 0.509 GB, free: 7.504 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.3344, allocations: 208.5 kB / 0.5092 GB, free: 7.297 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.932e-05/0.3345, allocations: 87.22 kB / 0.5093 GB, free: 7.211 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.3346, allocations: 69.69 kB / 0.5094 GB, free: 7.137 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.3348, allocations: 346.8 kB / 0.5097 GB, free: 6.789 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000482/0.3352, allocations: 143.9 kB / 0.5099 GB, free: 6.648 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005924/0.3358, allocations: 297.1 kB / 0.5101 GB, free: 6.309 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009908/0.3368, allocations: 393.1 kB / 0.5105 GB, free: 5.891 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3368, allocations: 0 / 0.5105 GB, free: 5.891 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001194/0.338, allocations: 433 kB / 0.5109 GB, free: 5.461 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.338, allocations: 10.66 kB / 0.5109 GB, free: 5.453 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.338, allocations: 4 kB / 0.5109 GB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.3381, allocations: 4 kB / 0.5109 GB, free: 5.445 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004083/0.3385, allocations: 91.88 kB / 0.511 GB, free: 5.355 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.3385, allocations: 11.92 kB / 0.511 GB, free: 5.344 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/0.3388, allocations: 47.75 kB / 0.5111 GB, free: 5.297 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.67e-05/0.3388, allocations: 16 kB / 0.5111 GB, free: 5.281 MB / 414.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.0002313/0.3391, allocations: 165.7 kB / 0.5113 GB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.96e-05/0.3392, allocations: 31.81 kB / 0.5113 GB, free: 5.078 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002871/0.342, allocations: 1.997 MB / 0.5132 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-05/0.3421, allocations: 31.89 kB / 0.5133 GB, free: 3.043 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3421, allocations: 0 / 0.5133 GB, free: 3.043 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.3421, allocations: 3.984 kB / 0.5133 GB, free: 3.039 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.3431, allocations: 0.8718 MB / 0.5141 GB, free: 2.129 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3431, allocations: 0 / 0.5141 GB, free: 2.129 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003776/0.3435, allocations: 79.92 kB / 0.5142 GB, free: 2.051 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.3435, allocations: 0 / 0.5142 GB, free: 2.051 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.3435, allocations: 11.94 kB / 0.5142 GB, free: 2.039 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.3435, allocations: 3.984 kB / 0.5142 GB, free: 2.035 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3435, allocations: 4.875 kB / 0.5142 GB, free: 2.031 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.3453, allocations: 1.134 MB / 0.5153 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.3454, allocations: 79.22 kB / 0.5154 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.261e-05/0.3454, allocations: 27.81 kB / 0.5154 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/0.3457, allocations: 31.91 kB / 0.5155 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.3459, allocations: 35.94 kB / 0.5155 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/0.3459, allocations: 8 kB / 0.5155 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003919/0.3463, allocations: 303.1 kB / 0.5158 GB, free: 420 kB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3463, allocations: 4 kB / 0.5158 GB, free: 416 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.004141/0.3504, allocations: 1.01 MB / 0.5168 GB, free: 15.39 MB / 430.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.00503/0.3554, allocations: 1.309 MB / 0.5181 GB, free: 14.08 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001471/0.3569, allocations: 0.6151 MB / 0.5187 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3569, allocations: 0 / 0.5187 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007338/0.3577, allocations: 432.8 kB / 0.5191 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.3588, allocations: 197.1 kB / 0.5193 GB, free: 12.85 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.3612, allocations: 1.518 MB / 0.5207 GB, free: 11.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.3616, allocations: 374.1 kB / 0.5211 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000468/0.3621, allocations: 286 kB / 0.5214 GB, free: 10.63 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.3622, allocations: 40.5 kB / 0.5214 GB, free: 10.59 MB / 430.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3622, allocations: 0 / 0.5214 GB, free: 10.59 MB / 430.1 MB Notification: Performance of Templates: time 0.06007/0.4223, allocations: 39.39 MB / 0.5599 GB, free: 3.355 MB / 462.1 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.681046564131975]