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.00129/0.00129, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.001422/0.001422, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.532/1.532, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2355/0.2355, allocations: 46.92 MB / 357.1 MB, free: 10.35 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.002056/0.002056, allocations: 63.91 kB / 0.4914 GB, free: 7.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1296, allocations: 66 MB / 0.5559 GB, free: 5.395 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03696/0.1666, allocations: 28.44 MB / 0.5836 GB, free: 8.848 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2886/0.4552, allocations: 13.34 MB / 0.5966 GB, free: 4.309 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004028/0.4556, allocations: 14.69 kB / 0.5967 GB, free: 4.309 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007645/0.4564, allocations: 256.9 kB / 0.5969 GB, free: 4.305 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01005/0.4664, allocations: 3.671 MB / 0.6005 GB, free: 4.273 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007774/0.4742, allocations: 2.378 MB / 0.6028 GB, free: 4.215 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00156/0.4758, allocations: 0.8966 MB / 0.6037 GB, free: 4.215 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000463/0.4762, allocations: 226.5 kB / 0.6039 GB, free: 4.199 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009883/0.4772, allocations: 451.5 kB / 0.6043 GB, free: 4.199 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004543/0.4777, allocations: 281.1 kB / 0.6046 GB, free: 4.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.929e-05/0.4777, allocations: 33.38 kB / 0.6046 GB, free: 4.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01635/0.4941, allocations: 7.253 MB / 0.6117 GB, free: 4.074 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002472/0.4943, allocations: 115.7 kB / 0.6118 GB, free: 4.051 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004843/0.4948, allocations: 215 kB / 0.612 GB, free: 3.996 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01124/0.5061, allocations: 4.435 MB / 0.6164 GB, free: 2.754 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.5061, allocations: 0 / 0.6164 GB, free: 2.754 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5061, allocations: 0 / 0.6164 GB, free: 2.754 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.5061, allocations: 5.062 kB / 0.6164 GB, free: 2.75 MB / 446.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.004231/0.5103, allocations: 1.278 MB / 0.6176 GB, free: 1.883 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.5103, allocations: 10.03 kB / 0.6176 GB, free: 1.883 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001805/0.5122, allocations: 217.1 kB / 0.6178 GB, free: 1.805 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005546/0.5127, allocations: 380.8 kB / 0.6182 GB, free: 1.508 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.5127, allocations: 24.41 kB / 0.6182 GB, free: 1.508 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.249e-05/0.5128, allocations: 36.62 kB / 0.6183 GB, free: 1.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.5143, allocations: 0.5936 MB / 0.6188 GB, free: 1.234 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.5144, allocations: 0 / 0.6188 GB, free: 1.234 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.449e-05/0.5144, allocations: 12.34 kB / 0.6188 GB, free: 1.234 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.5144, allocations: 11.33 kB / 0.6189 GB, free: 1.234 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/0.5161, allocations: 0.5448 MB / 0.6194 GB, free: 1.012 MB / 446.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.003151/0.5193, allocations: 2.622 MB / 0.622 GB, free: 14.53 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/0.521, allocations: 452.2 kB / 0.6224 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005316/0.5216, allocations: 191.3 kB / 0.6226 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05801/0.5796, allocations: 26.88 MB / 0.6488 GB, free: 5.836 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.701e-05/0.5796, allocations: 42.55 kB / 0.6489 GB, free: 5.785 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 2.254e-06/0.5796, allocations: 0 / 0.6489 GB, free: 5.785 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003273/0.5829, allocations: 0.8175 MB / 0.6497 GB, free: 4.965 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.228e-05/0.583, allocations: 118.7 kB / 0.6498 GB, free: 4.824 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004101/0.5834, allocations: 312.5 kB / 0.6501 GB, free: 4.516 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.5834, allocations: 29.7 kB / 0.6501 GB, free: 4.48 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.5836, allocations: 208.6 kB / 0.6503 GB, free: 4.273 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.285e-05/0.5837, allocations: 86.39 kB / 0.6504 GB, free: 4.191 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.5838, allocations: 69.64 kB / 0.6504 GB, free: 4.117 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.584, allocations: 338.8 kB / 0.6508 GB, free: 3.777 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004857/0.5845, allocations: 157.4 kB / 0.6509 GB, free: 3.625 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006229/0.5851, allocations: 244.4 kB / 0.6511 GB, free: 3.348 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.5862, allocations: 385.2 kB / 0.6515 GB, free: 2.938 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.5862, allocations: 3.938 kB / 0.6515 GB, free: 2.934 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001254/0.5874, allocations: 437 kB / 0.6519 GB, free: 2.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.5874, allocations: 4 kB / 0.6519 GB, free: 2.496 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.5875, allocations: 4 kB / 0.6519 GB, free: 2.492 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.023e-05/0.5875, allocations: 4.312 kB / 0.6519 GB, free: 2.488 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004284/0.5879, allocations: 99.8 kB / 0.652 GB, free: 2.391 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.5879, allocations: 7.938 kB / 0.652 GB, free: 2.383 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003726/0.5883, allocations: 55.7 kB / 0.6521 GB, free: 2.328 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/0.5883, allocations: 12 kB / 0.6521 GB, free: 2.316 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.0002387/0.5886, allocations: 161.7 kB / 0.6523 GB, free: 2.148 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.135e-05/0.5887, allocations: 39.81 kB / 0.6523 GB, free: 2.109 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002899/0.5916, allocations: 1.908 MB / 0.6542 GB, free: 204 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.732e-05/0.5916, allocations: 37 kB / 0.6542 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.5916, allocations: 0 / 0.6542 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.5916, allocations: 0 / 0.6542 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.5928, allocations: 1.021 MB / 0.6552 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.5929, allocations: 0 / 0.6552 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003769/0.5932, allocations: 79.92 kB / 0.6553 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.5932, allocations: 7.875 kB / 0.6553 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.5933, allocations: 8 kB / 0.6553 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.5933, allocations: 4.625 kB / 0.6553 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.5933, allocations: 3.984 kB / 0.6553 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.5951, allocations: 1.1 MB / 0.6564 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.5952, allocations: 172.2 kB / 0.6565 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.926e-05/0.5953, allocations: 23.83 kB / 0.6566 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003155/0.5956, allocations: 35.72 kB / 0.6566 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.5957, allocations: 39.89 kB / 0.6566 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.5958, allocations: 8 kB / 0.6566 GB, free: 13.59 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004081/0.5962, allocations: 331.1 kB / 0.657 GB, free: 13.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5962, allocations: 0 / 0.657 GB, free: 13.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003979/0.6002, allocations: 1.006 MB / 0.6579 GB, free: 12.26 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.005163/0.6053, allocations: 1.166 MB / 0.6591 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001551/0.6069, allocations: 0.5943 MB / 0.6597 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.6069, allocations: 0 / 0.6597 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007621/0.6076, allocations: 421.6 kB / 0.6601 GB, free: 10.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.6089, allocations: 222 kB / 0.6603 GB, free: 9.969 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/0.6118, allocations: 1.531 MB / 0.6618 GB, free: 8.41 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007668/0.6126, allocations: 0.956 MB / 0.6627 GB, free: 7.43 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005375/0.6131, allocations: 280.7 kB / 0.663 GB, free: 7.164 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.6132, allocations: 43.42 kB / 0.663 GB, free: 7.121 MB / 494.1 MB Notification: Performance of SimCode: time 5.21e-07/0.6132, allocations: 0 / 0.663 GB, free: 7.121 MB / 494.1 MB Notification: Performance of Templates: time 0.06183/0.6751, allocations: 39.72 MB / 0.7018 GB, free: 15.5 MB / 0.5294 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins/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: 8.48324367403984]