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.001692/0.001692, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002088/0.002088, allocations: 210.9 kB / 24.48 MB, free: 3.941 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.411/1.411, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.225/0.225, allocations: 46.96 MB / 361.6 MB, free: 4.035 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.002024/0.002024, allocations: 64.09 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3172, allocations: 66.04 MB / 0.5618 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03158/0.3488, allocations: 25.91 MB / 0.5871 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01625/0.365, allocations: 11.78 MB / 0.5986 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003024/0.3653, allocations: 19.81 kB / 0.5986 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007066/0.366, allocations: 226.5 kB / 0.5989 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008972/0.375, allocations: 3.642 MB / 0.6024 GB, free: 10.63 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005991/0.381, allocations: 2.352 MB / 0.6047 GB, free: 8.281 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001208/0.3822, allocations: 0.9119 MB / 0.6056 GB, free: 7.367 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003663/0.3826, allocations: 220.9 kB / 0.6058 GB, free: 7.145 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007513/0.3833, allocations: 446.2 kB / 0.6062 GB, free: 6.707 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003573/0.3837, allocations: 286.8 kB / 0.6065 GB, free: 6.426 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.563e-05/0.3838, allocations: 32 kB / 0.6065 GB, free: 6.395 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01416/0.3979, allocations: 7.188 MB / 0.6136 GB, free: 15.2 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002933/0.3982, allocations: 103.7 kB / 0.6137 GB, free: 15.1 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003287/0.3985, allocations: 187.2 kB / 0.6138 GB, free: 14.91 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009242/0.4078, allocations: 4.423 MB / 0.6182 GB, free: 10.48 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4078, allocations: 0 / 0.6182 GB, free: 10.48 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4078, allocations: 4 kB / 0.6182 GB, free: 10.47 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.4078, allocations: 0 / 0.6182 GB, free: 10.47 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.002976/0.4108, allocations: 1.203 MB / 0.6193 GB, free: 9.234 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.4108, allocations: 12.03 kB / 0.6193 GB, free: 9.223 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001749/0.4126, allocations: 204.5 kB / 0.6195 GB, free: 9.023 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006535/0.4132, allocations: 317.2 kB / 0.6198 GB, free: 8.684 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.735e-05/0.4133, allocations: 25.03 kB / 0.6199 GB, free: 8.66 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.862e-05/0.4133, allocations: 28.38 kB / 0.6199 GB, free: 8.633 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.4151, allocations: 0.7447 MB / 0.6206 GB, free: 7.812 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.4151, allocations: 7.875 kB / 0.6206 GB, free: 7.805 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.683e-05/0.4151, allocations: 16 kB / 0.6206 GB, free: 7.789 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.4151, allocations: 8 kB / 0.6207 GB, free: 7.781 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/0.4169, allocations: 0.541 MB / 0.6212 GB, free: 7.238 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.002942/0.4198, allocations: 1.86 MB / 0.623 GB, free: 5.309 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/0.4215, allocations: 457.7 kB / 0.6234 GB, free: 4.855 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004962/0.422, allocations: 184.7 kB / 0.6236 GB, free: 4.672 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0466/0.4686, allocations: 13.2 MB / 0.6365 GB, free: 7.449 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.143e-05/0.4687, allocations: 38.5 kB / 0.6365 GB, free: 7.402 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 2.304e-06/0.4687, allocations: 3.938 kB / 0.6365 GB, free: 7.398 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.00311/0.4718, allocations: 0.8132 MB / 0.6373 GB, free: 6.578 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.494e-05/0.4719, allocations: 114.8 kB / 0.6374 GB, free: 6.441 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003232/0.4722, allocations: 268.5 kB / 0.6377 GB, free: 6.176 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/0.4723, allocations: 33.7 kB / 0.6377 GB, free: 6.137 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.4724, allocations: 216.4 kB / 0.6379 GB, free: 5.922 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.285e-05/0.4725, allocations: 87.25 kB / 0.638 GB, free: 5.836 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.4726, allocations: 69.69 kB / 0.6381 GB, free: 5.762 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.4728, allocations: 338.8 kB / 0.6384 GB, free: 5.422 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004564/0.4733, allocations: 147.9 kB / 0.6386 GB, free: 5.277 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005548/0.4738, allocations: 295.3 kB / 0.6388 GB, free: 4.938 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009257/0.4747, allocations: 381.9 kB / 0.6392 GB, free: 4.531 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.4747, allocations: 0 / 0.6392 GB, free: 4.531 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001117/0.4759, allocations: 448.8 kB / 0.6396 GB, free: 4.086 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.4759, allocations: 8 kB / 0.6396 GB, free: 4.078 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/0.4759, allocations: 0 / 0.6396 GB, free: 4.078 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.4759, allocations: 4 kB / 0.6396 GB, free: 4.074 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004106/0.4763, allocations: 96.17 kB / 0.6397 GB, free: 3.98 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.4763, allocations: 7.938 kB / 0.6397 GB, free: 3.973 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002829/0.4766, allocations: 43.81 kB / 0.6398 GB, free: 3.93 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/0.4766, allocations: 12 kB / 0.6398 GB, free: 3.918 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.0002178/0.4769, allocations: 169.6 kB / 0.64 GB, free: 3.742 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.165e-05/0.4769, allocations: 27.81 kB / 0.64 GB, free: 3.715 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002704/0.4796, allocations: 1.983 MB / 0.6419 GB, free: 1.723 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-05/0.4797, allocations: 31.94 kB / 0.6419 GB, free: 1.691 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.4797, allocations: 3.938 kB / 0.642 GB, free: 1.688 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.4797, allocations: 0 / 0.642 GB, free: 1.688 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009895/0.4807, allocations: 0.8711 MB / 0.6428 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4807, allocations: 0 / 0.6428 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003642/0.481, allocations: 75.88 kB / 0.6429 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.4811, allocations: 11.94 kB / 0.6429 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.4811, allocations: 7.984 kB / 0.6429 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.4811, allocations: 4 kB / 0.6429 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4811, allocations: 0 / 0.6429 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/0.4828, allocations: 1.132 MB / 0.644 GB, free: 15.53 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.4829, allocations: 91.2 kB / 0.6441 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.595e-05/0.4829, allocations: 23.78 kB / 0.6441 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.4832, allocations: 27.97 kB / 0.6441 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.566e-05/0.4833, allocations: 35.88 kB / 0.6442 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.4833, allocations: 15.94 kB / 0.6442 GB, free: 15.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003458/0.4837, allocations: 307.1 kB / 0.6445 GB, free: 15.04 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4837, allocations: 0 / 0.6445 GB, free: 15.04 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002731/0.4864, allocations: 1.018 MB / 0.6455 GB, free: 14.02 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.004182/0.4906, allocations: 1.164 MB / 0.6466 GB, free: 12.85 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00139/0.492, allocations: 0.6151 MB / 0.6472 GB, free: 12.24 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.492, allocations: 4 kB / 0.6472 GB, free: 12.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007199/0.4927, allocations: 428.8 kB / 0.6476 GB, free: 11.81 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.4938, allocations: 200.2 kB / 0.6478 GB, free: 11.62 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.4961, allocations: 1.547 MB / 0.6493 GB, free: 10.04 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.4965, allocations: 378.1 kB / 0.6497 GB, free: 9.645 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000461/0.497, allocations: 269.8 kB / 0.6499 GB, free: 9.383 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.4971, allocations: 39.44 kB / 0.65 GB, free: 9.344 MB / 494.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4971, allocations: 0 / 0.65 GB, free: 9.344 MB / 494.1 MB Notification: Performance of Templates: time 0.05759/0.5547, allocations: 40.54 MB / 0.6896 GB, free: 0.9727 MB / 0.5137 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins1/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: 7.535480516002281]