Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009566/0.0009566, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001025/0.001025, allocations: 169.9 kB / 24.91 MB, free: 9.18 MB / 18.57 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 0.9174/0.9174, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2246/0.2246, allocations: 32.8 MB / 294.6 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.[0-9,]+..m_flow|SourceP1.ports.[0-9,]+..p|SourceP1.ports.[0-9,]+..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|SinkP1.ports.[0-9,]+..m_flow|SinkP1.ports.[0-9,]+..p|SinkP1.ports.[0-9,]+..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|SourceP1.ports.[0-9,]+..m_flow|SourceP1.ports.[0-9,]+..p|SourceP1.ports.[0-9,]+..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|SinkP1.ports.[0-9,]+..m_flow|SinkP1.ports.[0-9,]+..p|SinkP1.ports.[0-9,]+..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 323.3 MB, free: 9.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251e-05/1.38e-05, allocations: 5.859 kB / 323.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.01261/0.01263, allocations: 14.85 MB / 338.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009516/0.02214, allocations: 11.86 MB / 350 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.02231, allocations: 15.88 kB / 350 MB, free: 14.84 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003692/0.02268, allocations: 135 kB / 350.1 MB, free: 14.71 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005023/0.0277, allocations: 3.353 MB / 353.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003133/0.03084, allocations: 1.941 MB / 355.4 MB, free: 9.395 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006649/0.0315, allocations: 0.939 MB / 356.4 MB, free: 8.453 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002668/0.03177, allocations: 235.7 kB / 356.6 MB, free: 8.223 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005809/0.03235, allocations: 0.5455 MB / 357.1 MB, free: 7.676 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.03256, allocations: 227.3 kB / 357.4 MB, free: 7.453 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.015e-05/0.0326, allocations: 36 kB / 357.4 MB, free: 7.418 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008046/0.04065, allocations: 7.254 MB / 364.6 MB, free: 160 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.108e-05/0.04074, allocations: 103.7 kB / 364.7 MB, free: 56 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.04087, allocations: 163.6 kB / 364.9 MB, free: 15.89 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00463/0.0455, allocations: 5.235 MB / 370.1 MB, free: 10.65 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.0455, allocations: 3.938 kB / 370.1 MB, free: 10.64 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.0455, allocations: 4 kB / 370.2 MB, free: 10.64 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.04551, allocations: 4 kB / 370.2 MB, free: 10.64 MB / 346.7 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.001515/0.04702, allocations: 1.112 MB / 371.3 MB, free: 9.496 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.83e-05/0.04705, allocations: 8.031 kB / 371.3 MB, free: 9.488 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.04811, allocations: 335.9 kB / 371.6 MB, free: 9.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.04844, allocations: 296.4 kB / 371.9 MB, free: 8.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.931e-05/0.04847, allocations: 29.03 kB / 371.9 MB, free: 8.812 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.0485, allocations: 28.38 kB / 371.9 MB, free: 8.785 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008075/0.0493, allocations: 0.6715 MB / 372.6 MB, free: 8.031 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.04932, allocations: 4.125 kB / 372.6 MB, free: 8.027 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.04934, allocations: 19.94 kB / 372.6 MB, free: 8.008 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.04935, allocations: 8 kB / 372.7 MB, free: 8 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005621/0.04991, allocations: 321.8 kB / 373 MB, free: 7.688 MB / 346.7 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.001247/0.05116, allocations: 1.518 MB / 374.5 MB, free: 6.109 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006771/0.05184, allocations: 340 kB / 374.8 MB, free: 5.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.244e-05/0.05192, allocations: 60.83 kB / 374.9 MB, free: 5.707 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2573/0.3092, allocations: 72.56 MB / 447.4 MB, free: 104.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.3092, allocations: 38.84 kB / 447.5 MB, free: 104.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.043e-06/0.3092, allocations: 0 / 447.5 MB, free: 104.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001105/0.3103, allocations: 0.5322 MB / 448 MB, free: 104.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/0.3103, allocations: 105.6 kB / 448.1 MB, free: 104 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.3105, allocations: 258.4 kB / 448.4 MB, free: 103.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.3105, allocations: 29.64 kB / 448.4 MB, free: 103.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.272e-05/0.3105, allocations: 192.4 kB / 448.6 MB, free: 103.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.3106, allocations: 87.8 kB / 448.7 MB, free: 103.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.984e-05/0.3106, allocations: 61.95 kB / 448.7 MB, free: 103.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.64e-05/0.3107, allocations: 344.4 kB / 449.1 MB, free: 103.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.739e-05/0.3107, allocations: 45.33 kB / 449.1 MB, free: 103.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.822e-05/0.3108, allocations: 206.5 kB / 449.3 MB, free: 103.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.311, allocations: 217.2 kB / 449.5 MB, free: 103.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.311, allocations: 0 / 449.5 MB, free: 103.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001866/0.3112, allocations: 220.7 kB / 449.7 MB, free: 103.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.3112, allocations: 7.797 kB / 449.7 MB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.3112, allocations: 6.406 kB / 449.7 MB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.3112, allocations: 3.312 kB / 449.7 MB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.3114, allocations: 83.42 kB / 449.8 MB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.3114, allocations: 3.188 kB / 449.8 MB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.3115, allocations: 37.33 kB / 449.9 MB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.3115, allocations: 10.81 kB / 449.9 MB, free: 103.1 MB / 410.7 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_a.phase,V1.state_b.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 8.169e-05/0.3116, allocations: 136.7 kB / 450 MB, free: 103 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.3116, allocations: 33.2 kB / 450 MB, free: 103 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006914/0.3123, allocations: 1.116 MB / 451.2 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/0.3123, allocations: 30.39 kB / 451.2 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.3123, allocations: 0 / 451.2 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3123, allocations: 3.891 kB / 451.2 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003578/0.3127, allocations: 0.5455 MB / 451.7 MB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.3127, allocations: 3.438 kB / 451.7 MB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.3128, allocations: 62.75 kB / 451.8 MB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3128, allocations: 6.875 kB / 451.8 MB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.3128, allocations: 3.438 kB / 451.8 MB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3128, allocations: 3.312 kB / 451.8 MB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3128, allocations: 1.422 kB / 451.8 MB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003714/0.3132, allocations: 0.6608 MB / 452.5 MB, free: 102.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.885e-05/0.3132, allocations: 88.52 kB / 452.6 MB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.3133, allocations: 23.84 kB / 452.6 MB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.831e-05/0.3134, allocations: 19.67 kB / 452.6 MB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.413e-05/0.3134, allocations: 36.33 kB / 452.6 MB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.3134, allocations: 9.938 kB / 452.7 MB, free: 102.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.797e-05/0.3135, allocations: 160.4 kB / 452.8 MB, free: 102.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3135, allocations: 0 / 452.8 MB, free: 102.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001679/0.3152, allocations: 1.012 MB / 453.8 MB, free: 102.3 MB / 410.7 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.002277/0.3175, allocations: 1.35 MB / 455.2 MB, free: 102.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002622/0.3177, allocations: 249.5 kB / 455.4 MB, free: 102.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.3178, allocations: 7.375 kB / 455.4 MB, free: 102.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.3179, allocations: 200.6 kB / 455.6 MB, free: 102.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004866/0.3184, allocations: 230.3 kB / 455.8 MB, free: 102.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.3196, allocations: 1.334 MB / 457.2 MB, free: 101.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.26e-05/0.3197, allocations: 178.7 kB / 457.4 MB, free: 101.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002279/0.32, allocations: 261.5 kB / 457.6 MB, free: 101.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002775/0.3202, allocations: 198.7 kB / 457.8 MB, free: 101.4 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/0.3202, allocations: 0 / 457.8 MB, free: 101.4 MB / 410.7 MB Notification: Performance of Templates: time 0.03305/0.3533, allocations: 44.43 MB / 0.4905 GB, free: 59.99 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.665521077346057]