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.001923/0.001923, allocations: 111 kB / 21.19 MB, free: 0.6758 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.002324/0.002324, allocations: 215.5 kB / 24.48 MB, free: 3.98 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.489/1.489, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.226/0.226, allocations: 46.96 MB / 361.6 MB, free: 4.055 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.002068/0.002068, allocations: 63.91 kB / 0.4973 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.274, allocations: 66.04 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03168/0.3057, allocations: 25.91 MB / 0.5871 GB, free: 10.19 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01625/0.3219, allocations: 11.77 MB / 0.5986 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002645/0.3222, allocations: 19.81 kB / 0.5986 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007171/0.3229, allocations: 238.5 kB / 0.5989 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009267/0.3322, allocations: 3.642 MB / 0.6024 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006258/0.3384, allocations: 2.353 MB / 0.6047 GB, free: 8.133 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001191/0.3396, allocations: 0.908 MB / 0.6056 GB, free: 7.223 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003951/0.34, allocations: 216.9 kB / 0.6058 GB, free: 7.004 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008099/0.3408, allocations: 446.2 kB / 0.6062 GB, free: 6.566 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003559/0.3412, allocations: 286.8 kB / 0.6065 GB, free: 6.285 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.152e-05/0.3413, allocations: 32 kB / 0.6065 GB, free: 6.254 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01299/0.3542, allocations: 7.192 MB / 0.6136 GB, free: 15.05 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.3544, allocations: 99.66 kB / 0.6137 GB, free: 14.96 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003119/0.3547, allocations: 191.2 kB / 0.6138 GB, free: 14.77 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008691/0.3634, allocations: 4.423 MB / 0.6182 GB, free: 10.33 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3634, allocations: 4 kB / 0.6182 GB, free: 10.33 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3634, allocations: 0 / 0.6182 GB, free: 10.33 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.3634, allocations: 0 / 0.6182 GB, free: 10.33 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.003086/0.3665, allocations: 1.203 MB / 0.6193 GB, free: 9.09 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.3666, allocations: 12.03 kB / 0.6193 GB, free: 9.078 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001814/0.3684, allocations: 208.5 kB / 0.6195 GB, free: 8.875 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006825/0.3691, allocations: 317.2 kB / 0.6198 GB, free: 8.535 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/0.3691, allocations: 25.03 kB / 0.6199 GB, free: 8.512 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.841e-05/0.3692, allocations: 32.31 kB / 0.6199 GB, free: 8.48 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.3709, allocations: 0.7447 MB / 0.6206 GB, free: 7.66 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.3709, allocations: 7.922 kB / 0.6206 GB, free: 7.652 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.172e-05/0.3709, allocations: 12 kB / 0.6206 GB, free: 7.641 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.371, allocations: 8 kB / 0.6207 GB, free: 7.633 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/0.3727, allocations: 0.5449 MB / 0.6212 GB, free: 7.086 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.002885/0.3756, allocations: 1.849 MB / 0.623 GB, free: 5.168 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/0.3773, allocations: 450.1 kB / 0.6234 GB, free: 4.719 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000503/0.3778, allocations: 192.7 kB / 0.6236 GB, free: 4.527 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0483/0.4261, allocations: 13.21 MB / 0.6365 GB, free: 7.301 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.626e-05/0.4261, allocations: 38.5 kB / 0.6365 GB, free: 7.254 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 2.836e-06/0.4261, allocations: 0 / 0.6365 GB, free: 7.254 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003107/0.4292, allocations: 0.8093 MB / 0.6373 GB, free: 6.438 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.553e-05/0.4293, allocations: 118.7 kB / 0.6374 GB, free: 6.297 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/0.4296, allocations: 272.5 kB / 0.6377 GB, free: 6.027 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/0.4297, allocations: 33.7 kB / 0.6377 GB, free: 5.988 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.4298, allocations: 212.4 kB / 0.6379 GB, free: 5.777 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.961e-05/0.4299, allocations: 87.25 kB / 0.638 GB, free: 5.691 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.43, allocations: 69.62 kB / 0.6381 GB, free: 5.617 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.4302, allocations: 342.8 kB / 0.6384 GB, free: 5.273 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004538/0.4306, allocations: 147.9 kB / 0.6386 GB, free: 5.129 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000587/0.4312, allocations: 295.2 kB / 0.6388 GB, free: 4.789 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000968/0.4322, allocations: 381.9 kB / 0.6392 GB, free: 4.383 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.4322, allocations: 0 / 0.6392 GB, free: 4.383 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001127/0.4333, allocations: 444.9 kB / 0.6396 GB, free: 3.941 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.4333, allocations: 8 kB / 0.6396 GB, free: 3.934 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4333, allocations: 0 / 0.6396 GB, free: 3.934 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.4334, allocations: 4 kB / 0.6396 GB, free: 3.93 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/0.4337, allocations: 91.88 kB / 0.6397 GB, free: 3.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.4338, allocations: 8.25 kB / 0.6397 GB, free: 3.832 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.434, allocations: 51.75 kB / 0.6398 GB, free: 3.781 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.76e-05/0.4341, allocations: 19.98 kB / 0.6398 GB, free: 3.762 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.0001994/0.4343, allocations: 161.7 kB / 0.64 GB, free: 3.594 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.535e-05/0.4344, allocations: 35.8 kB / 0.64 GB, free: 3.559 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002758/0.4371, allocations: 1.967 MB / 0.6419 GB, free: 1.582 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.229e-05/0.4372, allocations: 27.95 kB / 0.6419 GB, free: 1.555 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.4372, allocations: 7.938 kB / 0.6419 GB, free: 1.547 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.4372, allocations: 7.984 kB / 0.642 GB, free: 1.539 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.4382, allocations: 0.8633 MB / 0.6428 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.4382, allocations: 0 / 0.6428 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003716/0.4385, allocations: 79.86 kB / 0.6429 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.4385, allocations: 4 kB / 0.6429 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.4386, allocations: 8 kB / 0.6429 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.4386, allocations: 4 kB / 0.6429 GB, free: 0.543 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.4386, allocations: 7.984 kB / 0.6429 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.4403, allocations: 1.132 MB / 0.644 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.4404, allocations: 91.09 kB / 0.6441 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.688e-05/0.4404, allocations: 23.84 kB / 0.6441 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002876/0.4407, allocations: 27.97 kB / 0.6441 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.4408, allocations: 39.88 kB / 0.6442 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/0.4409, allocations: 11.98 kB / 0.6442 GB, free: 15.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000349/0.4412, allocations: 307.1 kB / 0.6445 GB, free: 14.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4412, allocations: 0 / 0.6445 GB, free: 14.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002676/0.4439, allocations: 1.014 MB / 0.6455 GB, free: 13.88 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.0037/0.4476, allocations: 1.161 MB / 0.6466 GB, free: 12.71 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.4489, allocations: 0.6144 MB / 0.6472 GB, free: 12.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4489, allocations: 0 / 0.6472 GB, free: 12.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007045/0.4496, allocations: 441.5 kB / 0.6476 GB, free: 11.66 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.4507, allocations: 202 kB / 0.6478 GB, free: 11.47 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.4529, allocations: 1.547 MB / 0.6493 GB, free: 9.898 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.4532, allocations: 374.1 kB / 0.6497 GB, free: 9.504 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004354/0.4537, allocations: 266.8 kB / 0.6499 GB, free: 9.242 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.4538, allocations: 39.44 kB / 0.65 GB, free: 9.203 MB / 494.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4538, allocations: 0 / 0.65 GB, free: 9.203 MB / 494.1 MB Notification: Performance of Templates: time 0.05737/0.5111, allocations: 40.55 MB / 0.6896 GB, free: 0.8281 MB / 0.5137 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 -s gbode -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.608576471000561]