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.001492/0.001492, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001776/0.001776, allocations: 165.3 kB / 23.8 MB, free: 0.7773 MB / 18.57 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 0.9397/0.9397, allocations: 158.6 MB / 185.7 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] 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.1323/0.1323, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] 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.[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_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.[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_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.6e-05, allocations: 10.25 kB / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.02078/0.02081, allocations: 14.74 MB / 362.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01206/0.03287, allocations: 11.87 MB / 374.3 MB, free: 14.72 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002373/0.0331, allocations: 11.88 kB / 374.3 MB, free: 14.71 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003829/0.03349, allocations: 146.9 kB / 374.4 MB, free: 14.57 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007499/0.04099, allocations: 3.682 MB / 378.1 MB, free: 10.87 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004392/0.04538, allocations: 2.074 MB / 380.2 MB, free: 8.789 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009367/0.04632, allocations: 0.9391 MB / 381.1 MB, free: 7.848 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003472/0.04666, allocations: 233 kB / 381.4 MB, free: 7.617 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006989/0.04736, allocations: 0.5336 MB / 381.9 MB, free: 7.082 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000256/0.04762, allocations: 243.3 kB / 382.1 MB, free: 6.844 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.317e-05/0.04766, allocations: 36 kB / 382.2 MB, free: 6.809 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0103/0.05796, allocations: 6.761 MB / 388.9 MB, free: 40 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001635/0.05812, allocations: 103.6 kB / 389 MB, free: 15.94 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002377/0.05836, allocations: 159.7 kB / 389.2 MB, free: 15.78 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01117/0.06953, allocations: 5.223 MB / 394.4 MB, free: 10.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.06953, allocations: 3.938 kB / 394.4 MB, free: 10.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.346e-06/0.06954, allocations: 4 kB / 394.4 MB, free: 10.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.06955, allocations: 0 / 394.4 MB, free: 10.54 MB / 330.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.002564/0.07211, allocations: 1.225 MB / 395.6 MB, free: 9.273 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.07215, allocations: 12.03 kB / 395.7 MB, free: 9.262 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009425/0.07309, allocations: 299.7 kB / 396 MB, free: 8.969 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004158/0.07351, allocations: 339.2 kB / 396.3 MB, free: 8.605 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.07354, allocations: 25.03 kB / 396.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.894e-05/0.07358, allocations: 28.38 kB / 396.3 MB, free: 8.555 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009062/0.07448, allocations: 0.7099 MB / 397 MB, free: 7.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.0745, allocations: 192 / 397 MB, free: 7.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.07453, allocations: 19.94 kB / 397.1 MB, free: 7.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.07454, allocations: 8 kB / 397.1 MB, free: 7.723 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005965/0.07513, allocations: 371.4 kB / 397.4 MB, free: 7.363 MB / 330.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.00211/0.07724, allocations: 2.273 MB / 399.7 MB, free: 5.004 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007598/0.078, allocations: 366.5 kB / 400.1 MB, free: 4.633 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.07812, allocations: 79.64 kB / 400.1 MB, free: 4.551 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02204/0.1002, allocations: 12.72 MB / 412.9 MB, free: 7.809 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.1002, allocations: 45.38 kB / 412.9 MB, free: 7.754 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 1.803e-06/0.1002, allocations: 0 / 412.9 MB, free: 7.754 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.001558/0.1018, allocations: 0.5924 MB / 413.5 MB, free: 7.156 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/0.1018, allocations: 114.7 kB / 413.6 MB, free: 7.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.102, allocations: 318.2 kB / 413.9 MB, free: 6.688 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.1021, allocations: 33.7 kB / 414 MB, free: 6.648 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.1022, allocations: 255.2 kB / 414.2 MB, free: 6.395 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.51e-05/0.1022, allocations: 91.17 kB / 414.3 MB, free: 6.305 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.675e-05/0.1023, allocations: 71.34 kB / 414.4 MB, free: 6.227 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1025, allocations: 0.5195 MB / 414.9 MB, free: 5.695 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.329e-05/0.1025, allocations: 63.94 kB / 415 MB, free: 5.633 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.1027, allocations: 251 kB / 415.2 MB, free: 5.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.103, allocations: 261.1 kB / 415.5 MB, free: 5.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.103, allocations: 4 kB / 415.5 MB, free: 5.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003433/0.1033, allocations: 305 kB / 415.8 MB, free: 4.711 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1033, allocations: 8 kB / 415.8 MB, free: 4.703 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.1033, allocations: 4 kB / 415.8 MB, free: 4.699 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1033, allocations: 4 kB / 415.8 MB, free: 4.695 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.1035, allocations: 75.89 kB / 415.8 MB, free: 4.621 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.1035, allocations: 12.25 kB / 415.9 MB, free: 4.609 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.1036, allocations: 31.81 kB / 415.9 MB, free: 4.578 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.1037, allocations: 19.94 kB / 415.9 MB, free: 4.559 MB / 346.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_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.0001192/0.1038, allocations: 176.5 kB / 416.1 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.101e-05/0.1038, allocations: 43.77 kB / 416.1 MB, free: 4.332 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009766/0.1048, allocations: 1.228 MB / 417.3 MB, free: 3.094 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.925e-05/0.1048, allocations: 27.95 kB / 417.4 MB, free: 3.066 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1048, allocations: 7.984 kB / 417.4 MB, free: 3.059 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1048, allocations: 0 / 417.4 MB, free: 3.059 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005002/0.1053, allocations: 0.6643 MB / 418 MB, free: 2.359 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1053, allocations: 4 kB / 418.1 MB, free: 2.355 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.1055, allocations: 59.89 kB / 418.1 MB, free: 2.297 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1055, allocations: 0 / 418.1 MB, free: 2.297 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.1055, allocations: 12 kB / 418.1 MB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.1055, allocations: 0 / 418.1 MB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1055, allocations: 3.938 kB / 418.1 MB, free: 2.281 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006202/0.1061, allocations: 0.8265 MB / 419 MB, free: 1.434 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.83e-05/0.1062, allocations: 91.16 kB / 419 MB, free: 1.344 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.373e-05/0.1062, allocations: 31.77 kB / 419.1 MB, free: 1.312 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.99e-05/0.1063, allocations: 16 kB / 419.1 MB, free: 1.297 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.176e-05/0.1064, allocations: 43.78 kB / 419.1 MB, free: 1.254 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.1064, allocations: 8 kB / 419.1 MB, free: 1.246 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001874/0.1066, allocations: 307 kB / 419.4 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1066, allocations: 0 / 419.4 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00265/0.1092, allocations: 1.002 MB / 420.4 MB, free: 15.94 MB / 362.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.003683/0.1129, allocations: 1.288 MB / 421.7 MB, free: 14.65 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005042/0.1134, allocations: 312.5 kB / 422 MB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1134, allocations: 0 / 422 MB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002227/0.1136, allocations: 259.4 kB / 422.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006437/0.1143, allocations: 220.3 kB / 422.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.1159, allocations: 1.352 MB / 423.9 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.116, allocations: 185.5 kB / 424 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003009/0.1163, allocations: 262.1 kB / 424.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.107e-05/0.1164, allocations: 48.48 kB / 424.3 MB, free: 11.99 MB / 362.7 MB Notification: Performance of SimCode: time 1.373e-06/0.1164, allocations: 3.938 kB / 424.3 MB, free: 11.98 MB / 362.7 MB Notification: Performance of Templates: time 0.1751/0.2915, allocations: 46.34 MB / 470.7 MB, free: 50.41 MB / 362.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.735359285026789]