Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001404/0.001404, allocations: 106.5 kB / 21.22 MB, free: 0.6797 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001667/0.001667, allocations: 209.3 kB / 24.54 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 230.3 MB / 258 MB, free: 8.238 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2267/0.2267, allocations: 46.89 MB / 361.3 MB, free: 4.453 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002466/0.002466, allocations: 75.88 kB / 0.497 GB, free: 7.602 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3897, allocations: 66.02 MB / 0.5615 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03777/0.4275, allocations: 28.67 MB / 0.5895 GB, free: 7.867 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01889/0.4464, allocations: 13.39 MB / 0.6026 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005009/0.4469, allocations: 11.88 kB / 0.6026 GB, free: 10.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009486/0.4478, allocations: 262.4 kB / 0.6029 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01224/0.4601, allocations: 3.674 MB / 0.6065 GB, free: 6.484 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007764/0.4678, allocations: 2.394 MB / 0.6088 GB, free: 4.094 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001592/0.4694, allocations: 0.9158 MB / 0.6097 GB, free: 3.176 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004302/0.4698, allocations: 212.9 kB / 0.6099 GB, free: 2.961 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009137/0.4708, allocations: 462.2 kB / 0.6103 GB, free: 2.508 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000396/0.4712, allocations: 282.9 kB / 0.6106 GB, free: 2.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.295e-05/0.4712, allocations: 32 kB / 0.6106 GB, free: 2.199 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01723/0.4884, allocations: 7.266 MB / 0.6177 GB, free: 10.92 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003014/0.4887, allocations: 99.67 kB / 0.6178 GB, free: 10.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004703/0.4892, allocations: 222.9 kB / 0.618 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01453/0.5037, allocations: 4.435 MB / 0.6224 GB, free: 6.16 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.5038, allocations: 0 / 0.6224 GB, free: 6.16 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.5038, allocations: 0 / 0.6224 GB, free: 6.16 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.499e-05/0.5038, allocations: 0 / 0.6224 GB, free: 6.16 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.004799/0.5086, allocations: 1.211 MB / 0.6235 GB, free: 4.914 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.5086, allocations: 8.031 kB / 0.6236 GB, free: 4.906 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002022/0.5107, allocations: 216.5 kB / 0.6238 GB, free: 4.695 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007629/0.5114, allocations: 309.3 kB / 0.6241 GB, free: 4.363 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.653e-05/0.5115, allocations: 25.03 kB / 0.6241 GB, free: 4.34 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.885e-05/0.5115, allocations: 32.36 kB / 0.6241 GB, free: 4.309 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001921/0.5134, allocations: 0.598 MB / 0.6247 GB, free: 3.672 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.5135, allocations: 3.938 kB / 0.6247 GB, free: 3.668 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.394e-05/0.5135, allocations: 12 kB / 0.6247 GB, free: 3.656 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.5135, allocations: 8 kB / 0.6247 GB, free: 3.648 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.5154, allocations: 0.5449 MB / 0.6253 GB, free: 3.102 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.003739/0.5191, allocations: 2.531 MB / 0.6277 GB, free: 368 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.5209, allocations: 455.4 kB / 0.6282 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005102/0.5214, allocations: 184.7 kB / 0.6283 GB, free: 15.72 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05006/0.5714, allocations: 13.15 MB / 0.6412 GB, free: 2.551 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.992e-05/0.5715, allocations: 42.5 kB / 0.6412 GB, free: 2.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 2.445e-06/0.5715, allocations: 4 kB / 0.6412 GB, free: 2.496 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003363/0.5748, allocations: 0.817 MB / 0.642 GB, free: 1.672 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.575, allocations: 106.8 kB / 0.6421 GB, free: 1.543 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004809/0.5754, allocations: 316.4 kB / 0.6424 GB, free: 1.23 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.147e-05/0.5755, allocations: 29.7 kB / 0.6425 GB, free: 1.195 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002138/0.5757, allocations: 208.6 kB / 0.6426 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.5758, allocations: 87.23 kB / 0.6427 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.576, allocations: 65.69 kB / 0.6428 GB, free: 0.832 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.5761, allocations: 342.8 kB / 0.6431 GB, free: 500 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004823/0.5766, allocations: 151.9 kB / 0.6433 GB, free: 348 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005372/0.5772, allocations: 239.9 kB / 0.6435 GB, free: 68 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009865/0.5782, allocations: 381.1 kB / 0.6439 GB, free: 15.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.5782, allocations: 0 / 0.6439 GB, free: 15.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001215/0.5794, allocations: 445.8 kB / 0.6443 GB, free: 15.22 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.5794, allocations: 4 kB / 0.6443 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.5794, allocations: 4 kB / 0.6443 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.5794, allocations: 7.938 kB / 0.6443 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/0.5798, allocations: 83.88 kB / 0.6444 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.5798, allocations: 8.297 kB / 0.6444 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000379/0.5802, allocations: 63.69 kB / 0.6444 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.5802, allocations: 12 kB / 0.6445 GB, free: 15.04 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.0002439/0.5805, allocations: 161.6 kB / 0.6446 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.5806, allocations: 43.77 kB / 0.6447 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003076/0.5837, allocations: 1.984 MB / 0.6466 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-05/0.5837, allocations: 35.88 kB / 0.6466 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.5837, allocations: 3.938 kB / 0.6466 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.5837, allocations: 0 / 0.6466 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/0.5852, allocations: 1.019 MB / 0.6476 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.5853, allocations: 0 / 0.6476 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000368/0.5856, allocations: 79.86 kB / 0.6477 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.016e-06/0.5856, allocations: 4 kB / 0.6477 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.5857, allocations: 8 kB / 0.6477 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/0.5857, allocations: 7.938 kB / 0.6477 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.5857, allocations: 0 / 0.6477 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/0.5876, allocations: 1.132 MB / 0.6488 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/0.5878, allocations: 91.11 kB / 0.6489 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.5879, allocations: 23.78 kB / 0.6489 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003258/0.5882, allocations: 35.89 kB / 0.649 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.5883, allocations: 35.94 kB / 0.649 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/0.5884, allocations: 8 kB / 0.649 GB, free: 10.29 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004606/0.5888, allocations: 335.1 kB / 0.6493 GB, free: 9.957 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5888, allocations: 0 / 0.6493 GB, free: 9.957 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003422/0.5923, allocations: 1.006 MB / 0.6503 GB, free: 8.949 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.006109/0.5984, allocations: 1.165 MB / 0.6515 GB, free: 7.773 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001675/0.6, allocations: 0.6113 MB / 0.652 GB, free: 7.164 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.6, allocations: 0 / 0.652 GB, free: 7.164 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008408/0.6009, allocations: 436.8 kB / 0.6525 GB, free: 6.738 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.6023, allocations: 220.2 kB / 0.6527 GB, free: 6.531 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002799/0.6051, allocations: 1.562 MB / 0.6542 GB, free: 4.938 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006703/0.6058, allocations: 0.9638 MB / 0.6551 GB, free: 3.945 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005574/0.6064, allocations: 274.5 kB / 0.6554 GB, free: 3.676 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.6065, allocations: 47.42 kB / 0.6554 GB, free: 3.629 MB / 494.1 MB Notification: Performance of SimCode: time 1.393e-06/0.6065, allocations: 0 / 0.6554 GB, free: 3.629 MB / 494.1 MB Notification: Performance of Templates: time 0.0674/0.6739, allocations: 40.34 MB / 0.6948 GB, free: 11.33 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.025979036465287]