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.00178/0.00178, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.002185/0.002185, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.42/1.42, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.2257/0.2257, allocations: 46.93 MB / 361.6 MB, free: 4.242 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.00193/0.00193, allocations: 75.83 kB / 0.4974 GB, free: 7.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3405, allocations: 66.03 MB / 0.5619 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03354/0.374, allocations: 28.67 MB / 0.5899 GB, free: 7.625 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01753/0.3915, allocations: 13.38 MB / 0.6029 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004206/0.3919, allocations: 15.88 kB / 0.603 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007923/0.3927, allocations: 250.4 kB / 0.6032 GB, free: 9.934 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01064/0.4034, allocations: 3.682 MB / 0.6068 GB, free: 6.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007361/0.4107, allocations: 2.395 MB / 0.6091 GB, free: 3.859 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001517/0.4123, allocations: 0.9158 MB / 0.61 GB, free: 2.941 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005261/0.4128, allocations: 212.9 kB / 0.6102 GB, free: 2.727 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.4139, allocations: 466.1 kB / 0.6107 GB, free: 2.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005462/0.4144, allocations: 270.9 kB / 0.6109 GB, free: 2.004 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.92e-05/0.4145, allocations: 36 kB / 0.611 GB, free: 1.969 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01541/0.4299, allocations: 7.27 MB / 0.6181 GB, free: 10.69 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002393/0.4301, allocations: 103.6 kB / 0.6182 GB, free: 10.59 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004362/0.4306, allocations: 227 kB / 0.6184 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01127/0.4418, allocations: 4.427 MB / 0.6227 GB, free: 5.926 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.4419, allocations: 7.938 kB / 0.6227 GB, free: 5.918 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4419, allocations: 0 / 0.6227 GB, free: 5.918 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.243e-05/0.4419, allocations: 0 / 0.6227 GB, free: 5.918 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.003943/0.4458, allocations: 1.211 MB / 0.6239 GB, free: 4.672 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.4459, allocations: 8.031 kB / 0.6239 GB, free: 4.664 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001861/0.4477, allocations: 208.5 kB / 0.6241 GB, free: 4.461 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007667/0.4485, allocations: 309.3 kB / 0.6244 GB, free: 4.129 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/0.4485, allocations: 25.03 kB / 0.6244 GB, free: 4.105 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.573e-05/0.4486, allocations: 28.38 kB / 0.6244 GB, free: 4.078 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.4503, allocations: 0.594 MB / 0.625 GB, free: 3.445 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.4503, allocations: 4 kB / 0.625 GB, free: 3.441 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.462e-05/0.4503, allocations: 16 kB / 0.625 GB, free: 3.426 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.4503, allocations: 12 kB / 0.6251 GB, free: 3.414 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001697/0.452, allocations: 0.541 MB / 0.6256 GB, free: 2.871 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.003506/0.4555, allocations: 2.527 MB / 0.6281 GB, free: 136 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/0.4571, allocations: 462 kB / 0.6285 GB, free: 15.67 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004742/0.4576, allocations: 188.7 kB / 0.6287 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04767/0.5053, allocations: 13.15 MB / 0.6415 GB, free: 2.316 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/0.5053, allocations: 42.55 kB / 0.6416 GB, free: 2.266 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 2.825e-06/0.5053, allocations: 3.938 kB / 0.6416 GB, free: 2.262 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003146/0.5085, allocations: 0.817 MB / 0.6424 GB, free: 1.438 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.032e-05/0.5086, allocations: 106.8 kB / 0.6425 GB, free: 1.309 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004492/0.509, allocations: 312.5 kB / 0.6428 GB, free: 1 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.197e-05/0.5091, allocations: 29.7 kB / 0.6428 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.5093, allocations: 212.5 kB / 0.643 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.5094, allocations: 95.2 kB / 0.6431 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.5095, allocations: 57.7 kB / 0.6431 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.5097, allocations: 350.8 kB / 0.6435 GB, free: 252 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004297/0.5101, allocations: 143.9 kB / 0.6436 GB, free: 108 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005444/0.5106, allocations: 239.9 kB / 0.6438 GB, free: 15.83 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009406/0.5116, allocations: 378 kB / 0.6442 GB, free: 15.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.5116, allocations: 4 kB / 0.6442 GB, free: 15.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001149/0.5127, allocations: 449.1 kB / 0.6446 GB, free: 14.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.5128, allocations: 8.062 kB / 0.6446 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.5128, allocations: 4 kB / 0.6446 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.5128, allocations: 7.938 kB / 0.6446 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003674/0.5132, allocations: 91.86 kB / 0.6447 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.5132, allocations: 7.938 kB / 0.6447 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003246/0.5135, allocations: 51.69 kB / 0.6448 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.68e-05/0.5135, allocations: 20 kB / 0.6448 GB, free: 14.79 MB / 494.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.0002355/0.5138, allocations: 161.7 kB / 0.645 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.5139, allocations: 39.77 kB / 0.645 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002942/0.5168, allocations: 1.976 MB / 0.6469 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.639e-05/0.5169, allocations: 39.88 kB / 0.647 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.5169, allocations: 0 / 0.647 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.5169, allocations: 3.938 kB / 0.647 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.5181, allocations: 1.015 MB / 0.648 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.5181, allocations: 0 / 0.648 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003497/0.5184, allocations: 75.92 kB / 0.648 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.5184, allocations: 3.938 kB / 0.648 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.5184, allocations: 8 kB / 0.648 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.5185, allocations: 7.938 kB / 0.6481 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5185, allocations: 0 / 0.6481 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.5202, allocations: 1.132 MB / 0.6492 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.5204, allocations: 91.11 kB / 0.6492 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-05/0.5205, allocations: 31.77 kB / 0.6493 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003216/0.5208, allocations: 39.91 kB / 0.6493 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.5209, allocations: 31.94 kB / 0.6493 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.5209, allocations: 12 kB / 0.6494 GB, free: 10.04 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004201/0.5213, allocations: 331.1 kB / 0.6497 GB, free: 9.723 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5213, allocations: 0 / 0.6497 GB, free: 9.723 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003046/0.5244, allocations: 0.9981 MB / 0.6506 GB, free: 8.723 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.005046/0.5294, allocations: 1.168 MB / 0.6518 GB, free: 7.543 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00152/0.531, allocations: 0.6066 MB / 0.6524 GB, free: 6.938 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.531, allocations: 0.625 kB / 0.6524 GB, free: 6.938 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007879/0.5318, allocations: 440.8 kB / 0.6528 GB, free: 6.508 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/0.533, allocations: 217.9 kB / 0.653 GB, free: 6.297 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/0.5356, allocations: 1.599 MB / 0.6546 GB, free: 4.664 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006859/0.5363, allocations: 0.9677 MB / 0.6555 GB, free: 3.668 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.5365, allocations: 43.44 kB / 0.6556 GB, free: 3.625 MB / 494.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5365, allocations: 0 / 0.6556 GB, free: 3.625 MB / 494.1 MB Notification: Performance of Templates: time 0.04059/0.5771, allocations: 24.18 MB / 0.6792 GB, free: 11.46 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 -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: 10.270863425917923]