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.00193/0.00193, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.002601/0.002601, allocations: 213.1 kB / 24.48 MB, free: 3.961 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.705/1.705, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.2371/0.2371, allocations: 46.96 MB / 361.6 MB, free: 4.008 MB / 286.1 MB " [Timeout remaining time 179] 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.001963/0.001963, allocations: 67.91 kB / 0.4973 GB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3553, allocations: 66.04 MB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03299/0.3883, allocations: 25.91 MB / 0.5871 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01702/0.4053, allocations: 11.78 MB / 0.5986 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003981/0.4057, allocations: 15.81 kB / 0.5986 GB, free: 14.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007976/0.4065, allocations: 230.5 kB / 0.5989 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0103/0.4168, allocations: 3.646 MB / 0.6024 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006933/0.4238, allocations: 2.352 MB / 0.6047 GB, free: 8.105 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001463/0.4252, allocations: 0.9158 MB / 0.6056 GB, free: 7.188 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004296/0.4257, allocations: 216.8 kB / 0.6058 GB, free: 6.969 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009197/0.4266, allocations: 442.3 kB / 0.6062 GB, free: 6.535 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000429/0.427, allocations: 282.8 kB / 0.6065 GB, free: 6.258 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.638e-05/0.4271, allocations: 36 kB / 0.6065 GB, free: 6.223 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01462/0.4417, allocations: 7.188 MB / 0.6136 GB, free: 15.03 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002474/0.4419, allocations: 99.66 kB / 0.6137 GB, free: 14.93 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003334/0.4423, allocations: 187.2 kB / 0.6138 GB, free: 14.75 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01413/0.4564, allocations: 4.427 MB / 0.6182 GB, free: 10.3 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.914e-06/0.4564, allocations: 0 / 0.6182 GB, free: 10.3 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4564, allocations: 0 / 0.6182 GB, free: 10.3 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.4564, allocations: 0 / 0.6182 GB, free: 10.3 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.003796/0.4602, allocations: 1.203 MB / 0.6193 GB, free: 9.066 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.4603, allocations: 12.02 kB / 0.6193 GB, free: 9.055 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001817/0.4621, allocations: 212.5 kB / 0.6195 GB, free: 8.848 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007152/0.4628, allocations: 309.2 kB / 0.6198 GB, free: 8.516 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.473e-05/0.4628, allocations: 37.02 kB / 0.6199 GB, free: 8.48 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.863e-05/0.4629, allocations: 24.38 kB / 0.6199 GB, free: 8.457 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001812/0.4647, allocations: 0.7446 MB / 0.6206 GB, free: 7.637 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.4647, allocations: 7.938 kB / 0.6206 GB, free: 7.629 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.637e-05/0.4648, allocations: 12 kB / 0.6206 GB, free: 7.617 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.494e-05/0.4648, allocations: 12 kB / 0.6207 GB, free: 7.605 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/0.4666, allocations: 0.541 MB / 0.6212 GB, free: 7.062 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.003098/0.4697, allocations: 1.864 MB / 0.623 GB, free: 5.129 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.4714, allocations: 449.9 kB / 0.6234 GB, free: 4.684 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004895/0.4719, allocations: 184.7 kB / 0.6236 GB, free: 4.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04784/0.5197, allocations: 13.2 MB / 0.6365 GB, free: 7.281 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.5198, allocations: 38.5 kB / 0.6365 GB, free: 7.234 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 2.275e-06/0.5198, allocations: 7.938 kB / 0.6365 GB, free: 7.227 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003071/0.5228, allocations: 0.8093 MB / 0.6373 GB, free: 6.41 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.6e-05/0.5229, allocations: 110.8 kB / 0.6374 GB, free: 6.277 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003305/0.5233, allocations: 276.5 kB / 0.6377 GB, free: 6.004 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.998e-05/0.5233, allocations: 29.7 kB / 0.6377 GB, free: 5.969 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.5235, allocations: 216.4 kB / 0.6379 GB, free: 5.754 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.495e-05/0.5236, allocations: 95.25 kB / 0.638 GB, free: 5.66 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.5237, allocations: 69.69 kB / 0.6381 GB, free: 5.586 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.5238, allocations: 338.8 kB / 0.6384 GB, free: 5.246 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000432/0.5243, allocations: 147.8 kB / 0.6386 GB, free: 5.102 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005495/0.5248, allocations: 295.3 kB / 0.6388 GB, free: 4.762 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009393/0.5258, allocations: 377.9 kB / 0.6392 GB, free: 4.359 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.5258, allocations: 4 kB / 0.6392 GB, free: 4.355 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001147/0.5269, allocations: 445.2 kB / 0.6396 GB, free: 3.914 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.5269, allocations: 8.062 kB / 0.6396 GB, free: 3.906 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.5269, allocations: 4 kB / 0.6396 GB, free: 3.902 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.527, allocations: 7.984 kB / 0.6396 GB, free: 3.895 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000395/0.5274, allocations: 83.88 kB / 0.6397 GB, free: 3.812 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.5274, allocations: 7.938 kB / 0.6397 GB, free: 3.805 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.5277, allocations: 43.81 kB / 0.6398 GB, free: 3.762 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.739e-05/0.5277, allocations: 16 kB / 0.6398 GB, free: 3.746 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.0002276/0.5279, allocations: 173.6 kB / 0.64 GB, free: 3.566 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.441e-05/0.528, allocations: 31.81 kB / 0.64 GB, free: 3.535 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002751/0.5308, allocations: 1.975 MB / 0.6419 GB, free: 1.551 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.409e-05/0.5308, allocations: 31.94 kB / 0.6419 GB, free: 1.52 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.5308, allocations: 3.938 kB / 0.642 GB, free: 1.516 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.5308, allocations: 0 / 0.642 GB, free: 1.516 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.5319, allocations: 0.875 MB / 0.6428 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/0.5319, allocations: 4 kB / 0.6428 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000368/0.5323, allocations: 75.88 kB / 0.6429 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.5323, allocations: 7.922 kB / 0.6429 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.5323, allocations: 8 kB / 0.6429 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.5323, allocations: 0 / 0.6429 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.5323, allocations: 0 / 0.6429 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.5341, allocations: 1.136 MB / 0.644 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.5342, allocations: 91.08 kB / 0.6441 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.227e-05/0.5343, allocations: 23.84 kB / 0.6441 GB, free: 15.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.5346, allocations: 27.97 kB / 0.6441 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.5347, allocations: 39.88 kB / 0.6442 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.5347, allocations: 12 kB / 0.6442 GB, free: 15.16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004274/0.5351, allocations: 307.1 kB / 0.6445 GB, free: 14.86 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5351, allocations: 0 / 0.6445 GB, free: 14.86 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003192/0.5383, allocations: 1.014 MB / 0.6455 GB, free: 13.85 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.00484/0.5432, allocations: 1.168 MB / 0.6466 GB, free: 12.67 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001461/0.5446, allocations: 0.615 MB / 0.6472 GB, free: 12.06 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.299e-06/0.5446, allocations: 0 / 0.6472 GB, free: 12.06 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007272/0.5454, allocations: 432.9 kB / 0.6476 GB, free: 11.63 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.5465, allocations: 192.2 kB / 0.6478 GB, free: 11.45 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.5488, allocations: 1.583 MB / 0.6494 GB, free: 9.828 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.5492, allocations: 378.1 kB / 0.6497 GB, free: 9.43 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.5494, allocations: 39.44 kB / 0.6498 GB, free: 9.391 MB / 494.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5494, allocations: 0 / 0.6498 GB, free: 9.391 MB / 494.1 MB Notification: Performance of Templates: time 0.03974/0.5891, allocations: 24.18 MB / 0.6734 GB, free: 1.223 MB / 0.4981 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: 11.057976094976766]