Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001772/0.001772, allocations: 79.58 kB / 20.52 MB, free: 1.281 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.002014/0.002014, allocations: 163.5 kB / 23.76 MB, free: 4.469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 158.6 MB / 185.5 MB, free: 6.207 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2271/0.2271, allocations: 32.38 MB / 270.1 MB, free: 2.691 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002283/0.002283, allocations: 67.91 kB / 407.8 MB, free: 5.512 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1167, allocations: 61.04 MB / 468.8 MB, free: 8.289 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.2386/0.3553, allocations: 25.8 MB / 494.6 MB, free: 36.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01106/0.3663, allocations: 11.76 MB / 0.4945 GB, free: 28.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002403/0.3666, allocations: 14.22 kB / 0.4945 GB, free: 28.67 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006164/0.3672, allocations: 233.8 kB / 0.4947 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008642/0.3758, allocations: 3.639 MB / 0.4983 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005801/0.3816, allocations: 2.335 MB / 0.5006 GB, free: 25.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009569/0.3826, allocations: 0.91 MB / 0.5014 GB, free: 25.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003136/0.3829, allocations: 216.6 kB / 0.5017 GB, free: 25.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006163/0.3835, allocations: 440.1 kB / 0.5021 GB, free: 25.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002978/0.3838, allocations: 267.6 kB / 0.5023 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.304e-05/0.3839, allocations: 33.06 kB / 0.5024 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01471/0.3986, allocations: 6.885 MB / 0.5091 GB, free: 23.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.3987, allocations: 99.06 kB / 0.5092 GB, free: 23.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002781/0.399, allocations: 189.4 kB / 0.5094 GB, free: 23.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01171/0.4107, allocations: 4.407 MB / 0.5137 GB, free: 22.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.4107, allocations: 5.156 kB / 0.5137 GB, free: 22.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4107, allocations: 0 / 0.5137 GB, free: 22.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.4108, allocations: 0 / 0.5137 GB, free: 22.16 MB / 446.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.004515/0.4153, allocations: 1.192 MB / 0.5148 GB, free: 21.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.4153, allocations: 9.438 kB / 0.5148 GB, free: 21.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/0.4171, allocations: 223.8 kB / 0.5151 GB, free: 21.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005361/0.4176, allocations: 319.7 kB / 0.5154 GB, free: 21.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.517e-05/0.4176, allocations: 26.78 kB / 0.5154 GB, free: 21.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.551e-05/0.4177, allocations: 38.31 kB / 0.5154 GB, free: 21.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.4192, allocations: 0.7426 MB / 0.5161 GB, free: 20.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.4192, allocations: 5.312 kB / 0.5162 GB, free: 20.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.91e-05/0.4193, allocations: 16.12 kB / 0.5162 GB, free: 20.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.4193, allocations: 9 kB / 0.5162 GB, free: 20.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/0.4209, allocations: 0.542 MB / 0.5167 GB, free: 20.43 MB / 446.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.002441/0.4234, allocations: 1.848 MB / 0.5185 GB, free: 18.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.4249, allocations: 449.6 kB / 0.5189 GB, free: 18.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004485/0.4253, allocations: 184.7 kB / 0.5191 GB, free: 18.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04569/0.471, allocations: 12.72 MB / 0.5315 GB, free: 13.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.471, allocations: 34.39 kB / 0.5316 GB, free: 13.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 1.854e-06/0.471, allocations: 0 / 0.5316 GB, free: 13.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=25): time 0.003105/0.4741, allocations: 0.8144 MB / 0.5324 GB, free: 12.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.4742, allocations: 106.8 kB / 0.5325 GB, free: 12.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.4744, allocations: 280.5 kB / 0.5327 GB, free: 12.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.4744, allocations: 29.7 kB / 0.5328 GB, free: 12.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.062e-05/0.4745, allocations: 216.4 kB / 0.533 GB, free: 12.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.807e-05/0.4746, allocations: 91.25 kB / 0.5331 GB, free: 12.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.801e-05/0.4746, allocations: 73.64 kB / 0.5331 GB, free: 12.06 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.298e-05/0.4747, allocations: 338.8 kB / 0.5334 GB, free: 11.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004422/0.4751, allocations: 151.8 kB / 0.5336 GB, free: 11.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000469/0.4756, allocations: 302.1 kB / 0.5339 GB, free: 11.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007605/0.4764, allocations: 378.6 kB / 0.5342 GB, free: 10.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4764, allocations: 4 kB / 0.5342 GB, free: 10.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009352/0.4773, allocations: 441.8 kB / 0.5347 GB, free: 10.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.4773, allocations: 4 kB / 0.5347 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.4773, allocations: 4 kB / 0.5347 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.4774, allocations: 4.312 kB / 0.5347 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003503/0.4777, allocations: 91.86 kB / 0.5348 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.4777, allocations: 11.88 kB / 0.5348 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002913/0.478, allocations: 43.81 kB / 0.5348 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.849e-05/0.478, allocations: 16 kB / 0.5348 GB, free: 10.21 MB / 446.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.0001396/0.4782, allocations: 161.9 kB / 0.535 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.878e-05/0.4782, allocations: 31.81 kB / 0.535 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001979/0.4802, allocations: 2 MB / 0.537 GB, free: 7.996 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.151e-05/0.4802, allocations: 38 kB / 0.537 GB, free: 7.961 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.4802, allocations: 7.938 kB / 0.537 GB, free: 7.953 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.4802, allocations: 0 / 0.537 GB, free: 7.953 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006362/0.4809, allocations: 0.8563 MB / 0.5379 GB, free: 7.062 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.4809, allocations: 4.672 kB / 0.5379 GB, free: 7.059 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003138/0.4812, allocations: 79.88 kB / 0.5379 GB, free: 6.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.4812, allocations: 4 kB / 0.5379 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.4812, allocations: 7.984 kB / 0.5379 GB, free: 6.969 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.4812, allocations: 6.5 kB / 0.538 GB, free: 6.965 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4812, allocations: 0 / 0.538 GB, free: 6.965 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.4825, allocations: 1.138 MB / 0.5391 GB, free: 5.812 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.361e-05/0.4826, allocations: 87.16 kB / 0.5391 GB, free: 5.727 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.331e-05/0.4826, allocations: 27.77 kB / 0.5392 GB, free: 5.699 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002686/0.4829, allocations: 31.97 kB / 0.5392 GB, free: 5.668 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.523e-05/0.483, allocations: 31.94 kB / 0.5392 GB, free: 5.637 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.483, allocations: 15.94 kB / 0.5392 GB, free: 5.621 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002308/0.4832, allocations: 303.1 kB / 0.5395 GB, free: 5.324 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4832, allocations: 4 kB / 0.5395 GB, free: 5.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004834/0.4881, allocations: 1.006 MB / 0.5405 GB, free: 4.312 MB / 446.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.007797/0.4959, allocations: 1.173 MB / 0.5417 GB, free: 3.145 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001249/0.4971, allocations: 0.6183 MB / 0.5423 GB, free: 2.523 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.4971, allocations: 4 kB / 0.5423 GB, free: 2.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005595/0.4977, allocations: 425 kB / 0.5427 GB, free: 2.102 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.4987, allocations: 192.9 kB / 0.5429 GB, free: 1.922 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.5004, allocations: 1.558 MB / 0.5444 GB, free: 348 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.5007, allocations: 374.2 kB / 0.5447 GB, free: 15.95 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004822/0.5011, allocations: 277.2 kB / 0.545 GB, free: 15.68 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.5013, allocations: 40.44 kB / 0.545 GB, free: 15.64 MB / 462.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5013, allocations: 0 / 0.545 GB, free: 15.64 MB / 462.1 MB Notification: Performance of Templates: time 0.07788/0.5791, allocations: 39.25 MB / 0.5834 GB, free: 8.379 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.736952064093202]