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.00126/0.00126, 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.00104/0.00104, 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 1.081/1.081, allocations: 177 MB / 204.8 MB, free: 5.602 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.2983/0.2983, allocations: 34.87 MB / 296.3 MB, free: 488 kB / 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.443e-06/1.443e-06, allocations: 0 / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.297e-05, allocations: 4.984 kB / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.009744/0.009767, allocations: 7.807 MB / 386.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004872/0.01464, allocations: 3.016 MB / 389.6 MB, free: 7.191 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004812/0.01512, allocations: 31.69 kB / 389.6 MB, free: 7.16 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007241/0.01584, allocations: 202.6 kB / 389.8 MB, free: 6.961 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00156/0.0174, allocations: 0.7572 MB / 390.6 MB, free: 6.199 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002014/0.01942, allocations: 0.8845 MB / 391.5 MB, free: 5.312 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001957/0.02138, allocations: 1.848 MB / 393.3 MB, free: 3.461 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006484/0.02202, allocations: 425.7 kB / 393.7 MB, free: 3.039 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/0.02323, allocations: 0.9002 MB / 394.6 MB, free: 2.137 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009814/0.02421, allocations: 0.6038 MB / 395.2 MB, free: 1.531 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.02435, allocations: 60 kB / 395.3 MB, free: 1.473 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005027/0.02486, allocations: 207.6 kB / 395.5 MB, free: 1.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002915/0.02515, allocations: 283.1 kB / 395.8 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003528/0.0255, allocations: 291.3 kB / 396.1 MB, free: 0.707 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.02663, allocations: 0.7789 MB / 396.8 MB, free: 15.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.02663, allocations: 0 / 396.8 MB, free: 15.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.02663, allocations: 0 / 396.8 MB, free: 15.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.02664, allocations: 4 kB / 396.9 MB, free: 15.92 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.001851/0.02849, allocations: 1.072 MB / 397.9 MB, free: 14.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.02854, allocations: 8.031 kB / 397.9 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004159/0.02895, allocations: 156.2 kB / 398.1 MB, free: 14.65 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007894/0.02974, allocations: 496.7 kB / 398.6 MB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.02989, allocations: 156.3 kB / 398.7 MB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.03, allocations: 60.38 kB / 398.8 MB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.03117, allocations: 1.004 MB / 399.8 MB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.0312, allocations: 4.188 kB / 399.8 MB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.451e-05/0.03127, allocations: 31.92 kB / 399.8 MB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.806e-05/0.03134, allocations: 40.92 kB / 399.9 MB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007452/0.03208, allocations: 305.5 kB / 400.2 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00372/0.0358, allocations: 4.123 MB / 404.3 MB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004767/0.03628, allocations: 216.4 kB / 404.5 MB, free: 7.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.03645, allocations: 76.22 kB / 404.6 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/0.03753, allocations: 0.6686 MB / 405.2 MB, free: 7.055 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.03756, allocations: 41.39 kB / 405.3 MB, free: 7.004 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 1.653e-06/0.03757, allocations: 0 / 405.3 MB, free: 7.004 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.002842/0.04041, allocations: 0.9997 MB / 406.3 MB, free: 5.965 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.993e-05/0.04048, allocations: 140.4 kB / 406.4 MB, free: 5.797 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006342/0.04111, allocations: 0.5881 MB / 407 MB, free: 5.191 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.04115, allocations: 33.7 kB / 407 MB, free: 5.152 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/0.04144, allocations: 474.6 kB / 407.5 MB, free: 4.684 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.913e-05/0.04154, allocations: 134.9 kB / 407.6 MB, free: 4.551 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/0.04174, allocations: 156.2 kB / 407.8 MB, free: 4.391 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.04193, allocations: 0.5469 MB / 408.3 MB, free: 3.832 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.04212, allocations: 73.94 kB / 408.4 MB, free: 3.758 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00056/0.04268, allocations: 0.7094 MB / 409.1 MB, free: 2.781 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007735/0.04345, allocations: 0.736 MB / 409.8 MB, free: 1.809 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.04346, allocations: 4 kB / 409.8 MB, free: 1.805 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001121/0.04458, allocations: 0.6456 MB / 410.5 MB, free: 1.148 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.04461, allocations: 11.94 kB / 410.5 MB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/0.04462, allocations: 16.03 kB / 410.5 MB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003194/0.04494, allocations: 79.64 kB / 410.6 MB, free: 1.039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005698/0.04551, allocations: 183.7 kB / 410.8 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005273/0.04604, allocations: 0.8584 MB / 411.6 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004093/0.04645, allocations: 31.98 kB / 411.7 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.778e-05/0.04651, allocations: 36 kB / 411.7 MB, free: 15.9 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (87): * Single equations (assignments): 86 * 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.0002113/0.04672, allocations: 220.3 kB / 411.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.04684, allocations: 75.58 kB / 412 MB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005673/0.0474, allocations: 360.8 kB / 412.3 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.04741, allocations: 4 kB / 412.3 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.04741, allocations: 0 / 412.3 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.04742, allocations: 3.984 kB / 412.4 MB, free: 15.22 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009468/0.04837, allocations: 0.9419 MB / 413.3 MB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.04837, allocations: 4 kB / 413.3 MB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.04852, allocations: 63.91 kB / 413.4 MB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.87e-05/0.04862, allocations: 36.05 kB / 413.4 MB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.04864, allocations: 12 kB / 413.4 MB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002927/0.04893, allocations: 0.8194 MB / 414.2 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.04893, allocations: 0 / 414.2 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004815/0.04942, allocations: 0.5546 MB / 414.8 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.04954, allocations: 99.47 kB / 414.9 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.478e-05/0.04958, allocations: 15.98 kB / 414.9 MB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.04975, allocations: 20.06 kB / 414.9 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.04978, allocations: 31.83 kB / 414.9 MB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-05/0.04981, allocations: 23.98 kB / 415 MB, free: 12.4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002834/0.05009, allocations: 354.8 kB / 415.3 MB, free: 12.05 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.05009, allocations: 0 / 415.3 MB, free: 12.05 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004431/0.05054, allocations: 179.9 kB / 415.5 MB, free: 11.88 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.0002333/0.05077, allocations: 163.1 kB / 415.7 MB, free: 11.71 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005548/0.05133, allocations: 359.8 kB / 416 MB, free: 11.36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.05133, allocations: 0 / 416 MB, free: 11.36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.05149, allocations: 124.9 kB / 416.1 MB, free: 11.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008489/0.05234, allocations: 283.4 kB / 416.4 MB, free: 10.97 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.05401, allocations: 1.14 MB / 417.5 MB, free: 9.742 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.05413, allocations: 170.5 kB / 417.7 MB, free: 9.555 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003409/0.05448, allocations: 183.1 kB / 417.9 MB, free: 9.379 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.806e-05/0.05456, allocations: 48.5 kB / 417.9 MB, free: 9.332 MB / 394.7 MB Notification: Performance of SimCode: time 8.62e-07/0.05456, allocations: 0 / 417.9 MB, free: 9.332 MB / 394.7 MB Notification: Performance of Templates: time 0.0124/0.06696, allocations: 10.65 MB / 428.6 MB, free: 14.93 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.8069532471708953]