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.00172/0.00172, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.002225/0.002225, allocations: 218.8 kB / 24.49 MB, free: 3.934 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.427/1.427, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2242/0.2242, allocations: 46.97 MB / 361.6 MB, free: 4.012 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 0.002022/0.002022, allocations: 63.91 kB / 0.4973 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.309, allocations: 66.03 MB / 0.5618 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03327/0.3423, allocations: 25.91 MB / 0.5871 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01714/0.3594, allocations: 11.77 MB / 0.5986 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004812/0.3599, allocations: 19.81 kB / 0.5986 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007832/0.3607, allocations: 226.5 kB / 0.5989 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009548/0.3702, allocations: 3.647 MB / 0.6024 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006183/0.3764, allocations: 2.352 MB / 0.6047 GB, free: 8.074 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001276/0.3777, allocations: 0.9119 MB / 0.6056 GB, free: 7.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003959/0.3781, allocations: 220.9 kB / 0.6058 GB, free: 6.938 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008128/0.3789, allocations: 442.2 kB / 0.6062 GB, free: 6.504 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003738/0.3793, allocations: 290.8 kB / 0.6065 GB, free: 6.219 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.814e-05/0.3793, allocations: 32 kB / 0.6065 GB, free: 6.188 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01337/0.3927, allocations: 7.188 MB / 0.6136 GB, free: 14.99 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001953/0.3929, allocations: 103.7 kB / 0.6137 GB, free: 14.89 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002812/0.3932, allocations: 191.2 kB / 0.6138 GB, free: 14.7 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009778/0.403, allocations: 4.42 MB / 0.6182 GB, free: 10.27 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.403, allocations: 0 / 0.6182 GB, free: 10.27 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.403, allocations: 4 kB / 0.6182 GB, free: 10.27 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.403, allocations: 0 / 0.6182 GB, free: 10.27 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.003373/0.4064, allocations: 1.203 MB / 0.6193 GB, free: 9.027 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.4064, allocations: 12.03 kB / 0.6194 GB, free: 9.016 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00182/0.4082, allocations: 208.5 kB / 0.6196 GB, free: 8.812 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006403/0.4089, allocations: 313.2 kB / 0.6199 GB, free: 8.477 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.884e-05/0.4089, allocations: 25.03 kB / 0.6199 GB, free: 8.453 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.434e-05/0.409, allocations: 40.31 kB / 0.6199 GB, free: 8.414 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.4107, allocations: 0.7408 MB / 0.6206 GB, free: 7.598 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.4108, allocations: 7.938 kB / 0.6206 GB, free: 7.59 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.684e-05/0.4108, allocations: 15.98 kB / 0.6207 GB, free: 7.574 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.4108, allocations: 8 kB / 0.6207 GB, free: 7.566 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/0.4126, allocations: 0.541 MB / 0.6212 GB, free: 7.023 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.002946/0.4156, allocations: 1.856 MB / 0.623 GB, free: 5.098 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/0.4173, allocations: 450.1 kB / 0.6234 GB, free: 4.648 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000499/0.4178, allocations: 184.7 kB / 0.6236 GB, free: 4.465 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04758/0.4654, allocations: 13.2 MB / 0.6365 GB, free: 7.242 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.4654, allocations: 42.44 kB / 0.6365 GB, free: 7.191 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 5.591e-06/0.4654, allocations: 3.984 kB / 0.6366 GB, free: 7.188 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003196/0.4686, allocations: 0.8171 MB / 0.6374 GB, free: 6.363 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/0.4687, allocations: 102.8 kB / 0.6374 GB, free: 6.238 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003402/0.469, allocations: 276.5 kB / 0.6377 GB, free: 5.965 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.4691, allocations: 33.7 kB / 0.6377 GB, free: 5.926 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.4692, allocations: 220.4 kB / 0.638 GB, free: 5.707 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.504e-05/0.4693, allocations: 83.25 kB / 0.638 GB, free: 5.625 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.4694, allocations: 77.62 kB / 0.6381 GB, free: 5.543 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.4696, allocations: 338.8 kB / 0.6384 GB, free: 5.203 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004679/0.4701, allocations: 147.9 kB / 0.6386 GB, free: 5.059 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005792/0.4707, allocations: 291.3 kB / 0.6388 GB, free: 4.723 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009955/0.4716, allocations: 385.9 kB / 0.6392 GB, free: 4.312 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.4717, allocations: 0 / 0.6392 GB, free: 4.312 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00119/0.4728, allocations: 440.9 kB / 0.6396 GB, free: 3.875 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.4729, allocations: 8 kB / 0.6396 GB, free: 3.867 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.4729, allocations: 320 / 0.6396 GB, free: 3.867 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.4729, allocations: 8 kB / 0.6397 GB, free: 3.859 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003933/0.4733, allocations: 91.86 kB / 0.6397 GB, free: 3.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.4733, allocations: 7.938 kB / 0.6397 GB, free: 3.762 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002872/0.4736, allocations: 43.81 kB / 0.6398 GB, free: 3.719 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/0.4736, allocations: 12 kB / 0.6398 GB, free: 3.707 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.0002048/0.4738, allocations: 169.6 kB / 0.64 GB, free: 3.531 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.18e-05/0.4739, allocations: 31.81 kB / 0.64 GB, free: 3.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002805/0.4767, allocations: 1.979 MB / 0.6419 GB, free: 1.516 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.4767, allocations: 3.984 kB / 0.6419 GB, free: 1.512 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4767, allocations: 0 / 0.6419 GB, free: 1.512 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.4768, allocations: 91.09 kB / 0.642 GB, free: 1.422 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.828e-05/0.4769, allocations: 27.78 kB / 0.642 GB, free: 1.395 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003487/0.4773, allocations: 51.94 kB / 0.6421 GB, free: 1.344 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.351e-05/0.4773, allocations: 35.88 kB / 0.6421 GB, free: 1.309 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001753/0.4791, allocations: 1.113 MB / 0.6432 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001746/0.4808, allocations: 1.193 MB / 0.6444 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000677/0.4815, allocations: 405.2 kB / 0.6448 GB, free: 14.58 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003518/0.4819, allocations: 311.1 kB / 0.6451 GB, free: 14.27 MB / 494.1 MB Notification: Performance of Backend: time 3.81e-07/0.4819, allocations: 0 / 0.6451 GB, free: 14.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00644/0.4883, allocations: 1.672 MB / 0.6467 GB, free: 12.6 MB / 494.1 MB Notification: Performance of SimCode: time 0.002088/0.4904, allocations: 1.6 MB / 0.6483 GB, free: 10.95 MB / 494.1 MB Notification: Performance of Templates: time 0.06288/0.5533, allocations: 44.66 MB / 0.6919 GB, free: 14.38 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins1/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.727974407003785]