Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.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.001017/0.001017, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.001632/0.001632, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 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 0.9407/0.9407, allocations: 177 MB / 204.8 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] 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.275/0.275, allocations: 34.87 MB / 296.3 MB, free: 0.5469 MB / 266.7 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.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p_start|T_start|h_start|X_start.[0-9,]+.|volume.medium.T|volume.ports.[0-9,]+..m_flow|volume.ports.[0-9,]+..p|volume.ports.[0-9,]+..h_outflow|volume.ports_H_flow.[0-9,]+.|volume.ports_E_flow.[0-9,]+.|volume.ports_penetration.[0-9,]+.|volume.portsData_diameter.[0-9,]+.|volume.portsData_height.[0-9,]+.|volume.portsData_zeta_in.[0-9,]+.|volume.portsData_zeta_out.[0-9,]+.|fixedMassFlowRate.ports.[0-9,]+..m_flow|fixedMassFlowRate.ports.[0-9,]+..p|fixedMassFlowRate.ports.[0-9,]+..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p_start|T_start|h_start|X_start.[0-9,]+.|volume.medium.T|volume.ports.[0-9,]+..m_flow|volume.ports.[0-9,]+..p|volume.ports.[0-9,]+..h_outflow|volume.ports_H_flow.[0-9,]+.|volume.ports_E_flow.[0-9,]+.|volume.ports_penetration.[0-9,]+.|volume.portsData_diameter.[0-9,]+.|volume.portsData_height.[0-9,]+.|volume.portsData_zeta_in.[0-9,]+.|volume.portsData_zeta_out.[0-9,]+.|fixedMassFlowRate.ports.[0-9,]+..m_flow|fixedMassFlowRate.ports.[0-9,]+..p|fixedMassFlowRate.ports.[0-9,]+..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 378.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.822e-05/1.975e-05, allocations: 2.875 kB / 378.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.008981/0.009, allocations: 7.804 MB / 386.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004246/0.01325, allocations: 3.009 MB / 389.6 MB, free: 7.234 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005594/0.01381, allocations: 27.75 kB / 389.6 MB, free: 7.207 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006857/0.01449, allocations: 218.5 kB / 389.8 MB, free: 6.992 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.01627, allocations: 0.7533 MB / 390.6 MB, free: 6.234 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.01821, allocations: 0.8884 MB / 391.5 MB, free: 5.344 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002061/0.02027, allocations: 1.844 MB / 393.3 MB, free: 3.496 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000681/0.02095, allocations: 425.7 kB / 393.7 MB, free: 3.074 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/0.02227, allocations: 0.9314 MB / 394.7 MB, free: 2.141 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008289/0.0231, allocations: 0.5882 MB / 395.3 MB, free: 1.551 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.02321, allocations: 60 kB / 395.3 MB, free: 1.492 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004873/0.0237, allocations: 203.7 kB / 395.5 MB, free: 1.293 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002491/0.02395, allocations: 279.2 kB / 395.8 MB, free: 1.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002981/0.02425, allocations: 279.4 kB / 396.1 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.02539, allocations: 0.7787 MB / 396.8 MB, free: 15.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.0254, allocations: 0 / 396.8 MB, free: 15.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.0254, allocations: 0 / 396.8 MB, free: 15.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.02541, allocations: 4 kB / 396.8 MB, free: 15.96 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001628/0.02704, allocations: 1.068 MB / 397.9 MB, free: 14.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.02708, allocations: 8.031 kB / 397.9 MB, free: 14.85 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003872/0.02747, allocations: 156.2 kB / 398.1 MB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007004/0.02817, allocations: 0.4891 MB / 398.6 MB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.0283, allocations: 160.3 kB / 398.7 MB, free: 14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.051e-05/0.02839, allocations: 56.38 kB / 398.8 MB, free: 13.94 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009778/0.02937, allocations: 0.9816 MB / 399.8 MB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.02939, allocations: 4.125 kB / 399.8 MB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.026e-05/0.02945, allocations: 31.92 kB / 399.8 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.879e-05/0.02951, allocations: 40.92 kB / 399.8 MB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005837/0.03009, allocations: 317.4 kB / 400.1 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003312/0.0334, allocations: 4.104 MB / 404.2 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004/0.0338, allocations: 217.1 kB / 404.5 MB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.03394, allocations: 80.2 kB / 404.5 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000906/0.03485, allocations: 0.6685 MB / 405.2 MB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.03488, allocations: 45.39 kB / 405.2 MB, free: 7.074 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 1.724e-06/0.03488, allocations: 0 / 405.2 MB, free: 7.074 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.002257/0.03714, allocations: 0.9958 MB / 406.2 MB, free: 6.039 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.03719, allocations: 136.4 kB / 406.4 MB, free: 5.875 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005249/0.03772, allocations: 0.5998 MB / 407 MB, free: 5.258 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.03775, allocations: 29.7 kB / 407 MB, free: 5.223 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.038, allocations: 482.5 kB / 407.5 MB, free: 4.746 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.884e-05/0.03809, allocations: 134.9 kB / 407.6 MB, free: 4.613 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.03826, allocations: 160.2 kB / 407.8 MB, free: 4.449 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.03842, allocations: 0.5547 MB / 408.3 MB, free: 3.883 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.03858, allocations: 77.94 kB / 408.4 MB, free: 3.805 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000678/0.03926, allocations: 0.7319 MB / 409.1 MB, free: 2.793 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006582/0.03991, allocations: 0.7664 MB / 409.9 MB, free: 1.777 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.605e-06/0.03992, allocations: 4 kB / 409.9 MB, free: 1.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0009759/0.0409, allocations: 0.6684 MB / 410.6 MB, free: 1.094 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.04091, allocations: 8 kB / 410.6 MB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.04093, allocations: 16 kB / 410.6 MB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002524/0.04118, allocations: 76.17 kB / 410.7 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004785/0.04166, allocations: 191.7 kB / 410.9 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004558/0.04212, allocations: 0.8623 MB / 411.7 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003553/0.04247, allocations: 31.98 kB / 411.7 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.69e-05/0.04252, allocations: 40 kB / 411.8 MB, free: 15.84 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001804/0.0427, allocations: 216.2 kB / 412 MB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.0428, allocations: 79.58 kB / 412.1 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005265/0.04333, allocations: 358.2 kB / 412.4 MB, free: 15.17 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.04333, allocations: 4 kB / 412.4 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.04334, allocations: 0 / 412.4 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.04334, allocations: 3.984 kB / 412.4 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.04446, allocations: 0.9459 MB / 413.4 MB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.04446, allocations: 0 / 413.4 MB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.04465, allocations: 67.91 kB / 413.4 MB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001169/0.04476, allocations: 35.67 kB / 413.5 MB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.04479, allocations: 15.92 kB / 413.5 MB, free: 14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000309/0.0451, allocations: 0.8155 MB / 414.3 MB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/0.0451, allocations: 4.344 kB / 414.3 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005607/0.04566, allocations: 0.5624 MB / 414.9 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.0458, allocations: 95.61 kB / 415 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.478e-05/0.04587, allocations: 19.97 kB / 415 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.0461, allocations: 12 kB / 415 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.04614, allocations: 35.83 kB / 415 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/0.04618, allocations: 19.98 kB / 415.1 MB, free: 12.33 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000327/0.0465, allocations: 362.8 kB / 415.4 MB, free: 11.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0465, allocations: 4.031 kB / 415.4 MB, free: 11.97 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008964/0.0474, allocations: 179.9 kB / 415.6 MB, free: 11.8 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002486/0.04765, allocations: 155 kB / 415.7 MB, free: 11.64 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006559/0.0483, allocations: 364.6 kB / 416.1 MB, free: 11.28 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.04831, allocations: 0 / 416.1 MB, free: 11.28 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.0485, allocations: 119.6 kB / 416.2 MB, free: 11.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.04951, allocations: 304 kB / 416.5 MB, free: 10.88 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.05142, allocations: 1.12 MB / 417.6 MB, free: 9.672 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.05157, allocations: 178.6 kB / 417.8 MB, free: 9.477 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004724/0.05204, allocations: 184.3 kB / 418 MB, free: 9.297 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.05214, allocations: 48.5 kB / 418 MB, free: 9.25 MB / 394.7 MB Notification: Performance of SimCode: time 1.854e-06/0.05215, allocations: 0 / 418 MB, free: 9.25 MB / 394.7 MB Notification: Performance of Templates: time 0.01537/0.06752, allocations: 11.5 MB / 429.5 MB, free: 13.99 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.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: 3.6101520508527756]