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.001591/0.001591, allocations: 88.23 kB / 20.2 MB, free: 4.23 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.0017/0.0017, allocations: 157.7 kB / 23.51 MB, free: 0.9258 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.403/1.403, allocations: 158.6 MB / 185.3 MB, free: 2.883 MB / 170.7 MB " [Timeout remaining time 178] 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.2197/0.2197, allocations: 32.37 MB / 270 MB, free: 14.79 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 2.254e-06/2.254e-06, allocations: 0 / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.815e-05, allocations: 6.25 kB / 347 MB, free: 9.789 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04226/0.04228, allocations: 35.51 MB / 382.5 MB, free: 6.152 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02824/0.07053, allocations: 18.01 MB / 400.5 MB, free: 4.074 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008884/0.07142, allocations: 27.75 kB / 400.5 MB, free: 4.047 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.07282, allocations: 421.2 kB / 400.9 MB, free: 3.633 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01456/0.08738, allocations: 5.175 MB / 406.1 MB, free: 14.44 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007646/0.09503, allocations: 2.59 MB / 408.7 MB, free: 11.84 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003032/0.09806, allocations: 2.004 MB / 410.7 MB, free: 9.82 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007303/0.09879, allocations: 437.9 kB / 411.1 MB, free: 9.383 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009917/0.1087, allocations: 4.41 MB / 415.5 MB, free: 4.918 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01161/0.1203, allocations: 5.433 MB / 421 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002285/0.1205, allocations: 68 kB / 421 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01462/0.1352, allocations: 6.921 MB / 427.9 MB, free: 8.406 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005178/0.1357, allocations: 291.1 kB / 428.2 MB, free: 8.121 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007109/0.1364, allocations: 323.3 kB / 428.5 MB, free: 7.805 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01354/0.1499, allocations: 6.099 MB / 434.6 MB, free: 1.691 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1499, allocations: 0 / 434.6 MB, free: 1.691 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1499, allocations: 0 / 434.6 MB, free: 1.691 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.15, allocations: 0 / 434.6 MB, free: 1.691 MB / 362.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.004329/0.1543, allocations: 1.577 MB / 436.2 MB, free: 76 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.1543, allocations: 8.031 kB / 436.2 MB, free: 68 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1359/0.2902, allocations: 368 kB / 436.6 MB, free: 97.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009726/0.2912, allocations: 0.5329 MB / 437.1 MB, free: 97.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.2913, allocations: 167.5 kB / 437.3 MB, free: 97.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.2914, allocations: 63.72 kB / 437.3 MB, free: 97.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.2932, allocations: 1.339 MB / 438.7 MB, free: 96.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.2932, allocations: 7.219 kB / 438.7 MB, free: 96.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.843e-05/0.2933, allocations: 34.59 kB / 438.7 MB, free: 96.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.367e-05/0.2934, allocations: 46.84 kB / 438.8 MB, free: 96.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/0.2949, allocations: 0.8146 MB / 439.6 MB, free: 96.07 MB / 362.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.004603/0.2995, allocations: 4.508 MB / 444.1 MB, free: 92.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.3007, allocations: 0.5233 MB / 444.6 MB, free: 92.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/0.301, allocations: 196.4 kB / 444.8 MB, free: 92.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07809/0.3791, allocations: 25.16 MB / 470 MB, free: 69.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.3791, allocations: 46.5 kB / 470 MB, free: 69.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 3.276e-06/0.3791, allocations: 0 / 470 MB, free: 69.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.006681/0.3858, allocations: 2.112 MB / 472.1 MB, free: 67.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.3859, allocations: 191.9 kB / 472.3 MB, free: 67.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006834/0.3866, allocations: 0.5572 MB / 472.9 MB, free: 66.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.661e-05/0.3866, allocations: 37.7 kB / 472.9 MB, free: 66.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/0.3868, allocations: 415.7 kB / 473.3 MB, free: 66.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.387, allocations: 178.4 kB / 473.5 MB, free: 66.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002431/0.3872, allocations: 150.6 kB / 473.6 MB, free: 65.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.736e-05/0.3873, allocations: 370.8 kB / 474 MB, free: 65.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004711/0.3878, allocations: 233.8 kB / 474.2 MB, free: 65.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00065/0.3884, allocations: 0.6611 MB / 474.9 MB, free: 64.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.3896, allocations: 0.8721 MB / 475.8 MB, free: 63.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.662e-05/0.3896, allocations: 4 kB / 475.8 MB, free: 63.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001752/0.3913, allocations: 0.9238 MB / 476.7 MB, free: 62.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.3914, allocations: 12.22 kB / 476.7 MB, free: 62.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/0.3914, allocations: 12 kB / 476.7 MB, free: 62.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004117/0.3955, allocations: 268.5 kB / 477 MB, free: 62.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/0.3971, allocations: 279.6 kB / 477.2 MB, free: 61.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/0.3988, allocations: 2.002 MB / 479.2 MB, free: 59.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007669/0.3995, allocations: 31.98 kB / 479.3 MB, free: 59.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.856e-05/0.3996, allocations: 40 kB / 479.3 MB, free: 59.71 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (94): * Single equations (assignments): 92 * 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.0005824/0.4002, allocations: 277.7 kB / 479.6 MB, free: 59.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002199/0.4004, allocations: 79.56 kB / 479.7 MB, free: 59.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002555/0.403, allocations: 2.104 MB / 481.8 MB, free: 57.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.401e-05/0.403, allocations: 23.97 kB / 481.8 MB, free: 57.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.403, allocations: 0 / 481.8 MB, free: 57.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.403, allocations: 7.781 kB / 481.8 MB, free: 57.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003897/0.4069, allocations: 2.815 MB / 484.6 MB, free: 54.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.4069, allocations: 0 / 484.6 MB, free: 54.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/0.4081, allocations: 187.8 kB / 484.8 MB, free: 54.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002151/0.4103, allocations: 308.4 kB / 485.1 MB, free: 53.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.793e-05/0.4103, allocations: 8 kB / 485.1 MB, free: 53.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/0.4119, allocations: 2.062 MB / 487.2 MB, free: 51.69 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4119, allocations: 0 / 487.2 MB, free: 51.69 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002408/0.4143, allocations: 2.005 MB / 489.2 MB, free: 49.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003756/0.4147, allocations: 147.1 kB / 489.3 MB, free: 49.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.4148, allocations: 27.84 kB / 489.3 MB, free: 49.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005921/0.4154, allocations: 16 kB / 489.4 MB, free: 49.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.4155, allocations: 36.42 kB / 489.4 MB, free: 49.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.846e-05/0.4156, allocations: 20.12 kB / 489.4 MB, free: 49.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007565/0.4163, allocations: 0.5029 MB / 489.9 MB, free: 48.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4163, allocations: 0 / 489.9 MB, free: 48.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004146/0.4205, allocations: 1.107 MB / 491 MB, free: 47.81 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.005262/0.4257, allocations: 1.332 MB / 492.4 MB, free: 46.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002505/0.4282, allocations: 0.9214 MB / 493.3 MB, free: 45.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.4283, allocations: 4 kB / 493.3 MB, free: 45.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001704/0.43, allocations: 0.6051 MB / 493.9 MB, free: 45.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/0.4325, allocations: 353.1 kB / 494.2 MB, free: 44.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00368/0.4362, allocations: 2.108 MB / 496.3 MB, free: 42.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005002/0.4367, allocations: 0.4998 MB / 496.8 MB, free: 42.08 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008122/0.4375, allocations: 332.8 kB / 497.2 MB, free: 41.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.4376, allocations: 64.48 kB / 497.2 MB, free: 41.7 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.4376, allocations: 3.938 kB / 497.2 MB, free: 41.69 MB / 362.7 MB Notification: Performance of Templates: time 0.057/0.4946, allocations: 44.22 MB / 0.5288 GB, free: 13.54 MB / 378.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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: 8.048725337022915]