Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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.001432/0.001432, allocations: 91.5 kB / 21.19 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.0009944/0.0009944, allocations: 156.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.089/1.089, allocations: 177 MB / 204.8 MB, free: 5.598 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.3119/0.3119, 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.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_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.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.73e-05, allocations: 7.156 kB / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.01594/0.01597, allocations: 16.83 MB / 395.6 MB, free: 1.188 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01368/0.02965, allocations: 13.99 MB / 409.6 MB, free: 3.148 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007642/0.03041, allocations: 31.69 kB / 409.6 MB, free: 3.117 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008307/0.03124, allocations: 250.4 kB / 409.9 MB, free: 2.871 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01185/0.0431, allocations: 4.96 MB / 414.8 MB, free: 13.89 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004456/0.04755, allocations: 1.947 MB / 416.8 MB, free: 11.94 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00242/0.04997, allocations: 2.043 MB / 418.8 MB, free: 9.891 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000834/0.05081, allocations: 442 kB / 419.3 MB, free: 9.445 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01058/0.06139, allocations: 7.63 MB / 426.9 MB, free: 1.707 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003025/0.06441, allocations: 2.188 MB / 429.1 MB, free: 15.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001924/0.06461, allocations: 64 kB / 429.1 MB, free: 15.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01023/0.07484, allocations: 6.758 MB / 435.9 MB, free: 8.664 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004298/0.07527, allocations: 291.1 kB / 436.2 MB, free: 8.379 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005091/0.07578, allocations: 319.3 kB / 436.5 MB, free: 8.066 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01145/0.08723, allocations: 5.573 MB / 442.1 MB, free: 2.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.08724, allocations: 0 / 442.1 MB, free: 2.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.08724, allocations: 0 / 442.1 MB, free: 2.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.086e-05/0.08726, allocations: 0 / 442.1 MB, free: 2.48 MB / 410.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.003712/0.09097, allocations: 1.653 MB / 443.7 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.09101, allocations: 12.03 kB / 443.7 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/0.09233, allocations: 359.4 kB / 444.1 MB, free: 428 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1843/0.2766, allocations: 0.531 MB / 444.6 MB, free: 74.69 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.2767, allocations: 161.1 kB / 444.8 MB, free: 74.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.415e-05/0.2768, allocations: 67.86 kB / 444.8 MB, free: 74.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.2781, allocations: 1.16 MB / 446 MB, free: 73.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.2781, allocations: 9.266 kB / 446 MB, free: 73.81 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.328e-05/0.2782, allocations: 29.23 kB / 446 MB, free: 73.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.418e-05/0.2782, allocations: 49.73 kB / 446.1 MB, free: 73.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007717/0.279, allocations: 478.6 kB / 446.6 MB, free: 73.8 MB / 410.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.003195/0.2822, allocations: 5.601 MB / 452.2 MB, free: 69.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000693/0.2829, allocations: 403.7 kB / 452.5 MB, free: 69.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.283, allocations: 115.8 kB / 452.7 MB, free: 69.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04803/0.331, allocations: 26.14 MB / 478.8 MB, free: 67.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.495e-05/0.3311, allocations: 51.91 kB / 478.9 MB, free: 67.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 3.767e-06/0.3311, allocations: 1.844 kB / 478.9 MB, free: 67.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.004111/0.3352, allocations: 1.648 MB / 480.5 MB, free: 67.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.3353, allocations: 191.1 kB / 480.7 MB, free: 67.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005507/0.3358, allocations: 0.5801 MB / 481.3 MB, free: 66.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.3359, allocations: 32.66 kB / 481.3 MB, free: 66.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002575/0.3361, allocations: 475.2 kB / 481.8 MB, free: 66.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.3362, allocations: 173.9 kB / 481.9 MB, free: 66.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001705/0.3364, allocations: 169.5 kB / 482.1 MB, free: 66.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3365, allocations: 0.5482 MB / 482.6 MB, free: 65.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.3367, allocations: 101.1 kB / 482.7 MB, free: 65.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003833/0.3371, allocations: 0.731 MB / 483.5 MB, free: 65.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006092/0.3377, allocations: 0.8003 MB / 484.3 MB, free: 64.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.3377, allocations: 7.156 kB / 484.3 MB, free: 64.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0009024/0.3386, allocations: 0.6857 MB / 485 MB, free: 64.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.3386, allocations: 11.55 kB / 485 MB, free: 64.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.3386, allocations: 12.5 kB / 485 MB, free: 64.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001561/0.3402, allocations: 251.4 kB / 485.2 MB, free: 64.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006404/0.3408, allocations: 283.2 kB / 485.5 MB, free: 64.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001072/0.3419, allocations: 2.67 MB / 488.2 MB, free: 61.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003646/0.3423, allocations: 30.05 kB / 488.2 MB, free: 61.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.471e-05/0.3423, allocations: 39.86 kB / 488.3 MB, free: 61.76 MB / 410.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.0002232/0.3426, allocations: 230.2 kB / 488.5 MB, free: 61.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.3427, allocations: 85.12 kB / 488.6 MB, free: 61.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/0.3439, allocations: 1.264 MB / 489.8 MB, free: 61.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-05/0.3439, allocations: 24.59 kB / 489.8 MB, free: 61.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3439, allocations: 0 / 489.8 MB, free: 61.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3439, allocations: 3 kB / 489.9 MB, free: 61.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.3456, allocations: 1.867 MB / 491.7 MB, free: 60.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.341e-06/0.3456, allocations: 3.531 kB / 491.7 MB, free: 60.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004328/0.3461, allocations: 176.7 kB / 491.9 MB, free: 60.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007607/0.3468, allocations: 247.1 kB / 492.1 MB, free: 60.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.716e-05/0.3469, allocations: 16.09 kB / 492.2 MB, free: 60.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007219/0.3476, allocations: 2.638 MB / 494.8 MB, free: 58.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3476, allocations: 2.109 kB / 494.8 MB, free: 58.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009149/0.3485, allocations: 1.321 MB / 496.1 MB, free: 57.76 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.3487, allocations: 145.5 kB / 496.3 MB, free: 57.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.017e-05/0.3487, allocations: 30.06 kB / 496.3 MB, free: 57.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.3489, allocations: 13.11 kB / 496.3 MB, free: 57.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/0.349, allocations: 40.41 kB / 496.3 MB, free: 57.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.349, allocations: 13.81 kB / 496.4 MB, free: 57.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003219/0.3493, allocations: 463.9 kB / 496.8 MB, free: 57.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3493, allocations: 0 / 496.8 MB, free: 57.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002538/0.3519, allocations: 1.101 MB / 497.9 MB, free: 57.44 MB / 410.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.00329/0.3552, allocations: 1.301 MB / 499.2 MB, free: 57.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.3563, allocations: 0.6101 MB / 499.8 MB, free: 57.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.3563, allocations: 3.125 kB / 499.8 MB, free: 57.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005476/0.3568, allocations: 387.9 kB / 0.4885 GB, free: 56.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.3578, allocations: 354.1 kB / 0.4888 GB, free: 56.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.3602, allocations: 1.842 MB / 0.4906 GB, free: 55.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.3603, allocations: 241.9 kB / 0.4908 GB, free: 54.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004493/0.3608, allocations: 321.5 kB / 0.4911 GB, free: 54.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.407e-05/0.3608, allocations: 63.3 kB / 0.4912 GB, free: 54.66 MB / 410.7 MB Notification: Performance of SimCode: time 1.713e-06/0.3608, allocations: 0 / 0.4912 GB, free: 54.66 MB / 410.7 MB Notification: Performance of Templates: time 0.04627/0.4071, allocations: 51.15 MB / 0.5412 GB, free: 7.176 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.282812098972499]