Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.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.001982/0.001982, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.00252/0.00252, allocations: 219.5 kB / 24.48 MB, free: 3.836 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.559/1.559, allocations: 230.5 MB / 258.1 MB, free: 7.793 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.2421/0.2421, allocations: 46.96 MB / 361.6 MB, free: 3.938 MB / 286.1 MB " [Timeout remaining time 179] 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.TestValveDiscrete,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.TestValveDiscrete") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete,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.TestValveDiscrete") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002691/0.002691, allocations: 75.88 kB / 0.4974 GB, free: 7.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4114, allocations: 66.1 MB / 0.5619 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete): time 0.03834/0.4498, allocations: 25.9 MB / 0.5872 GB, free: 9.992 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01953/0.4693, allocations: 11.77 MB / 0.5987 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006763/0.47, allocations: 11.88 kB / 0.5987 GB, free: 14.17 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.4711, allocations: 234.5 kB / 0.5989 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01299/0.4841, allocations: 3.635 MB / 0.6025 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007707/0.4918, allocations: 2.361 MB / 0.6048 GB, free: 7.945 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001553/0.4934, allocations: 0.9042 MB / 0.6057 GB, free: 7.039 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000439/0.4938, allocations: 208.9 kB / 0.6059 GB, free: 6.828 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000909/0.4947, allocations: 442.3 kB / 0.6063 GB, free: 6.395 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003907/0.4951, allocations: 270.8 kB / 0.6066 GB, free: 6.129 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.348e-05/0.4952, allocations: 32 kB / 0.6066 GB, free: 6.098 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01549/0.5107, allocations: 6.907 MB / 0.6133 GB, free: 15.18 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002424/0.5109, allocations: 99.67 kB / 0.6134 GB, free: 15.09 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003611/0.5113, allocations: 183.2 kB / 0.6136 GB, free: 14.91 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01342/0.5247, allocations: 4.423 MB / 0.6179 GB, free: 10.47 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.5247, allocations: 0 / 0.6179 GB, free: 10.47 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.5247, allocations: 0 / 0.6179 GB, free: 10.47 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.816e-05/0.5247, allocations: 0 / 0.6179 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.004207/0.5289, allocations: 1.188 MB / 0.6191 GB, free: 9.246 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.529, allocations: 8.031 kB / 0.6191 GB, free: 9.238 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001694/0.5307, allocations: 212.5 kB / 0.6193 GB, free: 9.031 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007472/0.5314, allocations: 317.2 kB / 0.6196 GB, free: 8.691 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.599e-05/0.5315, allocations: 29.03 kB / 0.6196 GB, free: 8.664 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.482e-05/0.5315, allocations: 24.38 kB / 0.6196 GB, free: 8.641 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/0.5332, allocations: 0.7369 MB / 0.6204 GB, free: 7.828 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.5332, allocations: 7.922 kB / 0.6204 GB, free: 7.82 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.228e-05/0.5333, allocations: 12 kB / 0.6204 GB, free: 7.809 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.5333, allocations: 8 kB / 0.6204 GB, free: 7.801 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/0.5349, allocations: 0.5254 MB / 0.6209 GB, free: 7.273 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.003/0.5379, allocations: 1.856 MB / 0.6227 GB, free: 5.348 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.5394, allocations: 435.5 kB / 0.6231 GB, free: 4.914 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004412/0.5399, allocations: 176.7 kB / 0.6233 GB, free: 4.738 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04953/0.5894, allocations: 13.2 MB / 0.6362 GB, free: 7.516 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/0.5894, allocations: 34.56 kB / 0.6362 GB, free: 7.473 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 4.749e-06/0.5894, allocations: 11.92 kB / 0.6362 GB, free: 7.461 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003093/0.5925, allocations: 0.7858 MB / 0.637 GB, free: 6.668 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.32e-05/0.5926, allocations: 110.8 kB / 0.6371 GB, free: 6.535 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00039/0.593, allocations: 272.2 kB / 0.6374 GB, free: 6.262 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.574e-05/0.5931, allocations: 33.64 kB / 0.6374 GB, free: 6.223 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.5933, allocations: 216.4 kB / 0.6376 GB, free: 6.008 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.718e-05/0.5934, allocations: 91.22 kB / 0.6377 GB, free: 5.918 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.5935, allocations: 65.69 kB / 0.6378 GB, free: 5.848 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.5937, allocations: 346.8 kB / 0.6381 GB, free: 5.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004049/0.5941, allocations: 135.9 kB / 0.6382 GB, free: 5.367 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005464/0.5946, allocations: 283.1 kB / 0.6385 GB, free: 5.039 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008789/0.5955, allocations: 357.1 kB / 0.6388 GB, free: 4.656 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5955, allocations: 0 / 0.6388 GB, free: 4.656 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001128/0.5966, allocations: 425.9 kB / 0.6392 GB, free: 4.234 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.5967, allocations: 7.984 kB / 0.6392 GB, free: 4.227 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.5967, allocations: 7.938 kB / 0.6393 GB, free: 4.219 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.5967, allocations: 4 kB / 0.6393 GB, free: 4.215 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/0.597, allocations: 75.89 kB / 0.6393 GB, free: 4.141 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/0.5971, allocations: 8.25 kB / 0.6393 GB, free: 4.133 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003121/0.5974, allocations: 47.81 kB / 0.6394 GB, free: 4.086 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/0.5974, allocations: 19.98 kB / 0.6394 GB, free: 4.066 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: 5 (Opening.y,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.000258/0.5977, allocations: 157.8 kB / 0.6396 GB, free: 3.902 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.5978, allocations: 39.75 kB / 0.6396 GB, free: 3.863 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002935/0.6007, allocations: 1.974 MB / 0.6415 GB, free: 1.879 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-05/0.6007, allocations: 27.95 kB / 0.6415 GB, free: 1.852 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.6007, allocations: 3.938 kB / 0.6415 GB, free: 1.848 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.6007, allocations: 4 kB / 0.6416 GB, free: 1.844 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.6019, allocations: 0.8711 MB / 0.6424 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.6019, allocations: 0 / 0.6424 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003253/0.6022, allocations: 71.88 kB / 0.6425 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.6022, allocations: 4 kB / 0.6425 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.6023, allocations: 4 kB / 0.6425 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.6023, allocations: 4 kB / 0.6425 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6023, allocations: 0 / 0.6425 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.6041, allocations: 1.108 MB / 0.6436 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.6042, allocations: 91.16 kB / 0.6437 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.64e-05/0.6043, allocations: 19.84 kB / 0.6437 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000268/0.6046, allocations: 27.91 kB / 0.6437 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.6047, allocations: 39.88 kB / 0.6437 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.6047, allocations: 15.98 kB / 0.6437 GB, free: 15.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003988/0.6051, allocations: 299.1 kB / 0.644 GB, free: 15.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6051, allocations: 0 / 0.644 GB, free: 15.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003445/0.6086, allocations: 1.014 MB / 0.645 GB, free: 14.23 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: 19 ($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,Opening.y) * 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.005541/0.6141, allocations: 1.165 MB / 0.6462 GB, free: 13.06 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001445/0.6156, allocations: 0.599 MB / 0.6467 GB, free: 12.46 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.6156, allocations: 0 / 0.6467 GB, free: 12.46 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007471/0.6163, allocations: 425 kB / 0.6472 GB, free: 12.04 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.6175, allocations: 193.1 kB / 0.6473 GB, free: 11.87 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002783/0.6203, allocations: 1.581 MB / 0.6489 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004529/0.6207, allocations: 374.1 kB / 0.6492 GB, free: 9.852 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.6209, allocations: 43.42 kB / 0.6493 GB, free: 9.809 MB / 494.1 MB Notification: Performance of SimCode: time 1.062e-06/0.6209, allocations: 0 / 0.6493 GB, free: 9.809 MB / 494.1 MB Notification: Performance of Templates: time 0.04586/0.6667, allocations: 24.13 MB / 0.6728 GB, free: 1.68 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveDiscrete/TestValveDiscrete.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.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: 11.150494050234556]