Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001911/0.001911, allocations: 74.11 kB / 19.93 MB, free: 1.77 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.002266/0.002266, allocations: 171.2 kB / 23.22 MB, free: 4.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 158.6 MB / 185 MB, free: 6.406 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2218/0.2218, allocations: 32.37 MB / 269.6 MB, free: 2.73 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 407.4 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.3e-05/3.487e-05, allocations: 2.281 kB / 407.4 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03506/0.0351, allocations: 25.64 MB / 433 MB, free: 7.082 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01824/0.05334, allocations: 11.77 MB / 444.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000501/0.05384, allocations: 15.81 kB / 444.8 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009411/0.05478, allocations: 230.3 kB / 445 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01208/0.06686, allocations: 3.678 MB / 448.7 MB, free: 7.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009542/0.0764, allocations: 2.411 MB / 451.1 MB, free: 4.922 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002065/0.07847, allocations: 0.9079 MB / 452 MB, free: 4.008 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006578/0.07913, allocations: 208.9 kB / 452.2 MB, free: 3.801 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001494/0.08062, allocations: 0.5451 MB / 452.8 MB, free: 3.254 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004275/0.08105, allocations: 243.3 kB / 453 MB, free: 3.016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.107e-05/0.08112, allocations: 32 kB / 453 MB, free: 2.984 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3088/0.3899, allocations: 6.889 MB / 459.9 MB, free: 21.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002586/0.3901, allocations: 107.8 kB / 460 MB, free: 21.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004013/0.3905, allocations: 159.5 kB / 460.2 MB, free: 21.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01804/0.4086, allocations: 5.533 MB / 465.7 MB, free: 20.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4086, allocations: 1.062 kB / 465.7 MB, free: 20.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4086, allocations: 0 / 465.7 MB, free: 20.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.4086, allocations: 2.594 kB / 465.7 MB, free: 20.98 MB / 382.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.00471/0.4133, allocations: 1.191 MB / 466.9 MB, free: 20.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.4134, allocations: 11.22 kB / 466.9 MB, free: 20.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00184/0.4152, allocations: 207.5 kB / 467.1 MB, free: 20.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006246/0.4158, allocations: 320 kB / 467.4 MB, free: 20.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.506e-05/0.4159, allocations: 26.75 kB / 467.5 MB, free: 20.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.34e-05/0.4159, allocations: 26.47 kB / 467.5 MB, free: 20.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/0.4176, allocations: 0.7443 MB / 468.2 MB, free: 19.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.4177, allocations: 1.5 kB / 468.2 MB, free: 19.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.239e-05/0.4177, allocations: 20.83 kB / 468.3 MB, free: 19.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.4177, allocations: 10 kB / 468.3 MB, free: 19.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/0.4195, allocations: 0.5362 MB / 468.8 MB, free: 19.83 MB / 382.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.003013/0.4225, allocations: 1.843 MB / 470.6 MB, free: 18.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.4242, allocations: 447.5 kB / 471.1 MB, free: 18.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005372/0.4248, allocations: 188.6 kB / 471.3 MB, free: 18.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04673/0.4715, allocations: 12.72 MB / 484 MB, free: 16.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.136e-05/0.4716, allocations: 38.88 kB / 484 MB, free: 16.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 2.745e-06/0.4716, allocations: 1.641 kB / 484 MB, free: 16.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.003083/0.4746, allocations: 0.8144 MB / 484.8 MB, free: 16.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.4747, allocations: 109.2 kB / 484.9 MB, free: 16.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/0.475, allocations: 279.7 kB / 485.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.475, allocations: 32.14 kB / 485.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.4751, allocations: 213.9 kB / 485.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.78e-05/0.4752, allocations: 90.92 kB / 485.5 MB, free: 15.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.4753, allocations: 71.22 kB / 485.6 MB, free: 15.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.731e-05/0.4754, allocations: 342.3 kB / 485.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004136/0.4758, allocations: 148.6 kB / 486.1 MB, free: 15.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005024/0.4763, allocations: 293.7 kB / 486.4 MB, free: 15.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000899/0.4772, allocations: 385.3 kB / 486.8 MB, free: 14.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.4772, allocations: 2.812 kB / 486.8 MB, free: 14.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001065/0.4783, allocations: 440.9 kB / 487.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.4783, allocations: 6.938 kB / 487.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.4783, allocations: 7.969 kB / 487.2 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.701e-05/0.4783, allocations: 3.938 kB / 487.2 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/0.4787, allocations: 92.02 kB / 487.3 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.4787, allocations: 7.469 kB / 487.3 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003459/0.4791, allocations: 45.53 kB / 487.4 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.4791, allocations: 14.19 kB / 487.4 MB, free: 14.74 MB / 382.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.0002266/0.4794, allocations: 170 kB / 487.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.224e-05/0.4794, allocations: 31.47 kB / 487.6 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002691/0.4821, allocations: 2.007 MB / 489.6 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.898e-05/0.4822, allocations: 33.47 kB / 489.6 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.4822, allocations: 0 / 489.6 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.4822, allocations: 0 / 489.6 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009577/0.4831, allocations: 0.8684 MB / 490.5 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.4831, allocations: 2.625 kB / 490.5 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003489/0.4835, allocations: 75.5 kB / 490.5 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.4835, allocations: 3.938 kB / 490.6 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.4835, allocations: 10.52 kB / 490.6 MB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.536e-06/0.4835, allocations: 8.781 kB / 490.6 MB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.4835, allocations: 3.938 kB / 490.6 MB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/0.4849, allocations: 1.126 MB / 491.7 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.896e-05/0.485, allocations: 91.14 kB / 491.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.679e-05/0.4851, allocations: 22.41 kB / 491.8 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/0.4854, allocations: 26.97 kB / 491.8 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.4855, allocations: 35.75 kB / 491.9 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/0.4855, allocations: 8 kB / 491.9 MB, free: 12.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002805/0.4858, allocations: 309.8 kB / 492.2 MB, free: 12.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4858, allocations: 0 / 492.2 MB, free: 12.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004849/0.4906, allocations: 0.998 MB / 493.2 MB, free: 11.59 MB / 382.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.006812/0.4975, allocations: 1.315 MB / 494.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001391/0.4988, allocations: 0.6127 MB / 495.1 MB, free: 9.781 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4989, allocations: 0 / 495.1 MB, free: 9.781 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005855/0.4994, allocations: 432.6 kB / 495.5 MB, free: 9.367 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.5007, allocations: 196.3 kB / 495.7 MB, free: 9.188 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.5026, allocations: 1.525 MB / 497.2 MB, free: 7.641 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.5029, allocations: 374.2 kB / 497.6 MB, free: 7.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003894/0.5032, allocations: 267.1 kB / 497.9 MB, free: 6.996 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.5034, allocations: 41.8 kB / 497.9 MB, free: 6.957 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5034, allocations: 4 kB / 497.9 MB, free: 6.953 MB / 382.1 MB Notification: Performance of Templates: time 0.06195/0.5653, allocations: 39.31 MB / 0.5246 GB, free: 15.73 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 8.14506808668375]