Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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.00175/0.00175, allocations: 91.22 kB / 20.43 MB, free: 4.141 MB / 18.57 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.002213/0.002213, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.034/1.034, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1294/0.1294, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.306e-06/3.306e-06, allocations: 3.984 kB / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.509e-05/3.839e-05, allocations: 6.25 kB / 347.7 MB, free: 9.422 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.01423/0.01427, allocations: 16.71 MB / 364.4 MB, free: 8.648 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01384/0.02811, allocations: 13.98 MB / 378.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004985/0.0286, allocations: 31.75 kB / 378.4 MB, free: 10.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006109/0.02922, allocations: 250.3 kB / 378.7 MB, free: 10.34 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01085/0.04007, allocations: 4.941 MB / 383.6 MB, free: 5.379 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004286/0.04436, allocations: 1.943 MB / 385.5 MB, free: 3.43 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002056/0.04641, allocations: 2.039 MB / 387.6 MB, free: 1.379 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007226/0.04713, allocations: 449.8 kB / 388 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009478/0.05661, allocations: 7.623 MB / 395.6 MB, free: 9.191 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002827/0.05944, allocations: 2.182 MB / 397.8 MB, free: 6.98 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001751/0.05962, allocations: 68 kB / 397.9 MB, free: 6.914 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009752/0.06937, allocations: 6.738 MB / 404.6 MB, free: 172 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005076/0.06988, allocations: 295 kB / 404.9 MB, free: 15.88 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003244/0.0702, allocations: 327.3 kB / 405.2 MB, free: 15.56 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007471/0.07767, allocations: 5.558 MB / 410.8 MB, free: 9.988 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.07768, allocations: 0 / 410.8 MB, free: 9.988 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.07768, allocations: 4 kB / 410.8 MB, free: 9.984 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.945e-05/0.0777, allocations: 0 / 410.8 MB, free: 9.984 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.003189/0.08089, allocations: 1.642 MB / 412.4 MB, free: 8.301 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.08093, allocations: 16.02 kB / 412.5 MB, free: 8.285 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009507/0.08188, allocations: 367.3 kB / 412.8 MB, free: 7.926 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000611/0.08249, allocations: 0.5202 MB / 413.3 MB, free: 7.379 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.08261, allocations: 168.7 kB / 413.5 MB, free: 7.188 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.708e-05/0.08269, allocations: 64.38 kB / 413.6 MB, free: 7.125 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.08384, allocations: 1.189 MB / 414.8 MB, free: 5.719 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.08386, allocations: 11.83 kB / 414.8 MB, free: 5.707 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.314e-05/0.08392, allocations: 35.98 kB / 414.8 MB, free: 5.672 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.764e-05/0.08397, allocations: 36.98 kB / 414.8 MB, free: 5.637 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007464/0.08471, allocations: 485.1 kB / 415.3 MB, free: 5.16 MB / 346.7 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.003513/0.08822, allocations: 5.612 MB / 420.9 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006731/0.0889, allocations: 401.3 kB / 421.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.08905, allocations: 119 kB / 421.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1988/0.2879, allocations: 25.18 MB / 446.6 MB, free: 67.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.2879, allocations: 44.33 kB / 446.7 MB, free: 67.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 2.455e-06/0.2879, allocations: 3.906 kB / 446.7 MB, free: 67.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.003417/0.2914, allocations: 1.641 MB / 448.3 MB, free: 66.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.2914, allocations: 186.7 kB / 448.5 MB, free: 66.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003992/0.2918, allocations: 0.5867 MB / 449.1 MB, free: 66.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.2918, allocations: 40.58 kB / 449.1 MB, free: 66.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.292, allocations: 469.3 kB / 449.6 MB, free: 66.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.908e-05/0.2921, allocations: 173.8 kB / 449.7 MB, free: 66.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.2922, allocations: 173.2 kB / 449.9 MB, free: 66.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.653e-05/0.2923, allocations: 0.5494 MB / 450.5 MB, free: 65.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.2925, allocations: 100.2 kB / 450.5 MB, free: 65.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/0.2928, allocations: 0.7283 MB / 451.3 MB, free: 64.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000549/0.2933, allocations: 0.8005 MB / 452.1 MB, free: 64.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.2934, allocations: 3.094 kB / 452.1 MB, free: 64.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0007675/0.2941, allocations: 0.6829 MB / 452.8 MB, free: 64.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.2941, allocations: 10 kB / 452.8 MB, free: 64.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.2942, allocations: 11.16 kB / 452.8 MB, free: 64.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001489/0.2956, allocations: 255.8 kB / 453 MB, free: 64.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005872/0.2962, allocations: 284.5 kB / 453.3 MB, free: 64.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009982/0.2972, allocations: 2.66 MB / 456 MB, free: 61.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002914/0.2975, allocations: 35.81 kB / 456 MB, free: 61.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/0.2976, allocations: 48.38 kB / 456.1 MB, free: 61.42 MB / 362.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: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001763/0.2977, allocations: 218.1 kB / 456.3 MB, free: 61.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.701e-05/0.2978, allocations: 82.83 kB / 456.3 MB, free: 61.22 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.2989, allocations: 1.264 MB / 457.6 MB, free: 60.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.845e-05/0.2989, allocations: 28.25 kB / 457.6 MB, free: 60.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.2989, allocations: 3.938 kB / 457.6 MB, free: 60.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.2989, allocations: 6.703 kB / 457.7 MB, free: 60.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.3005, allocations: 1.856 MB / 459.5 MB, free: 60.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.3005, allocations: 0 / 459.5 MB, free: 60.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004141/0.3009, allocations: 185.3 kB / 459.7 MB, free: 60.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007645/0.3016, allocations: 246.7 kB / 459.9 MB, free: 60.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.3017, allocations: 13.69 kB / 459.9 MB, free: 60.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000757/0.3024, allocations: 2.64 MB / 462.6 MB, free: 57.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.3024, allocations: 1.688 kB / 462.6 MB, free: 57.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008871/0.3033, allocations: 1.316 MB / 463.9 MB, free: 56.19 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.3035, allocations: 152.3 kB / 464 MB, free: 56.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.557e-05/0.3035, allocations: 26.05 kB / 464.1 MB, free: 56.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.3037, allocations: 15.25 kB / 464.1 MB, free: 56.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/0.3038, allocations: 31.23 kB / 464.1 MB, free: 56.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.3038, allocations: 19.73 kB / 464.1 MB, free: 56.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002946/0.3041, allocations: 463.8 kB / 464.6 MB, free: 55.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3041, allocations: 2.906 kB / 464.6 MB, free: 55.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002564/0.3066, allocations: 1.092 MB / 465.7 MB, free: 54.82 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00343/0.3101, allocations: 1.317 MB / 467 MB, free: 53.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001181/0.3112, allocations: 0.6022 MB / 467.6 MB, free: 53.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/0.3113, allocations: 3.938 kB / 467.6 MB, free: 53.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005347/0.3118, allocations: 391.7 kB / 468 MB, free: 53.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.3129, allocations: 357.1 kB / 468.3 MB, free: 52.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.3155, allocations: 1.843 MB / 470.2 MB, free: 51.28 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000156/0.3157, allocations: 238.8 kB / 470.4 MB, free: 51.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005068/0.3162, allocations: 327.5 kB / 470.7 MB, free: 50.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.3163, allocations: 63.88 kB / 470.8 MB, free: 50.84 MB / 362.7 MB Notification: Performance of SimCode: time 2.675e-06/0.3163, allocations: 0 / 470.8 MB, free: 50.84 MB / 362.7 MB Notification: Performance of Templates: time 0.04866/0.365, allocations: 50.97 MB / 0.5095 GB, free: 0.5625 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.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: 6.104840952903032]