Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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.001466/0.001466, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001579/0.001579, allocations: 164.9 kB / 24.91 MB, free: 8.77 MB / 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.9229/0.9229, allocations: 177 MB / 205.2 MB, free: 5.473 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.2559/0.2559, allocations: 34.87 MB / 296.6 MB, free: 0.5156 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.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 325.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.508e-06/1.091e-05, allocations: 2.312 kB / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2923/0.2923, allocations: 149 MB / 474.9 MB, free: 16.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004882/0.2971, allocations: 2.636 MB / 477.5 MB, free: 16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007888/0.2979, allocations: 29.75 kB / 477.6 MB, free: 16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007171/0.2987, allocations: 209 kB / 477.8 MB, free: 16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003249/0.3019, allocations: 1.179 MB / 479 MB, free: 15.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002065/0.304, allocations: 0.8352 MB / 479.8 MB, free: 15.9 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002498/0.3065, allocations: 1.902 MB / 481.7 MB, free: 15.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008096/0.3073, allocations: 424.4 kB / 482.1 MB, free: 15.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002579/0.3099, allocations: 1.229 MB / 483.3 MB, free: 15.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007437/0.3106, allocations: 0.5553 MB / 483.9 MB, free: 15.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.3107, allocations: 60.31 kB / 484 MB, free: 15.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007616/0.3115, allocations: 455.1 kB / 484.4 MB, free: 15.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002103/0.3117, allocations: 285.6 kB / 484.7 MB, free: 15.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002548/0.3119, allocations: 284.2 kB / 485 MB, free: 15.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.313, allocations: 0.9921 MB / 485.9 MB, free: 15.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.313, allocations: 0 / 485.9 MB, free: 15.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.313, allocations: 0 / 485.9 MB, free: 15.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.686e-05/0.3131, allocations: 2.594 kB / 486 MB, free: 15.43 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001334/0.3144, allocations: 0.9761 MB / 486.9 MB, free: 14.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.3144, allocations: 8.656 kB / 486.9 MB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005428/0.315, allocations: 210.6 kB / 487.1 MB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005239/0.3155, allocations: 419.3 kB / 487.6 MB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.432e-05/0.3156, allocations: 163.7 kB / 487.7 MB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.265e-05/0.3156, allocations: 58.31 kB / 487.8 MB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005326/0.3162, allocations: 0.8824 MB / 488.7 MB, free: 13.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.3162, allocations: 0 / 488.7 MB, free: 13.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.373e-05/0.3162, allocations: 26.86 kB / 488.7 MB, free: 13.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.103e-05/0.3163, allocations: 43.56 kB / 488.7 MB, free: 13.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/0.3166, allocations: 229.3 kB / 488.9 MB, free: 13.88 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.001779/0.3183, allocations: 2.64 MB / 491.6 MB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.3186, allocations: 174.1 kB / 491.8 MB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.275e-05/0.3186, allocations: 63.08 kB / 491.8 MB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001178/0.3187, allocations: 42.56 kB / 491.9 MB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.3188, allocations: 39.59 kB / 491.9 MB, free: 11.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.302e-06/0.3188, allocations: 0 / 491.9 MB, free: 11.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002161/0.3209, allocations: 0.9234 MB / 492.8 MB, free: 11.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.321, allocations: 139.6 kB / 493 MB, free: 11.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.3212, allocations: 484.7 kB / 493.4 MB, free: 11.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.3212, allocations: 38.98 kB / 493.5 MB, free: 11.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.3213, allocations: 345 kB / 493.8 MB, free: 11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.414e-05/0.3214, allocations: 147.9 kB / 493.9 MB, free: 10.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.3215, allocations: 143.4 kB / 494.1 MB, free: 10.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.038e-05/0.3216, allocations: 373.3 kB / 494.5 MB, free: 10.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.32e-05/0.3217, allocations: 69.67 kB / 494.5 MB, free: 10.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.3219, allocations: 496.5 kB / 495 MB, free: 10.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003339/0.3222, allocations: 0.5279 MB / 495.5 MB, free: 9.645 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.3222, allocations: 2.75 kB / 495.5 MB, free: 9.645 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005093/0.3227, allocations: 498.8 kB / 496 MB, free: 9.586 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3227, allocations: 9.797 kB / 496 MB, free: 9.586 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.3228, allocations: 11.97 kB / 496 MB, free: 9.586 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005548/0.3233, allocations: 224.5 kB / 496.3 MB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.3235, allocations: 123.6 kB / 496.4 MB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003617/0.3239, allocations: 0.6783 MB / 497.1 MB, free: 9.035 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.3241, allocations: 31.88 kB / 497.1 MB, free: 9.031 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.784e-05/0.3242, allocations: 51.25 kB / 497.1 MB, free: 9.031 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.000134/0.3243, allocations: 168.5 kB / 497.3 MB, free: 8.902 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.038e-05/0.3244, allocations: 58.59 kB / 497.4 MB, free: 8.898 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005946/0.325, allocations: 0.5746 MB / 497.9 MB, free: 8.785 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.325, allocations: 5.969 kB / 497.9 MB, free: 8.785 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.325, allocations: 5.688 kB / 498 MB, free: 8.781 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.325, allocations: 1.406 kB / 498 MB, free: 8.781 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008087/0.3258, allocations: 0.7322 MB / 498.7 MB, free: 8.473 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3258, allocations: 3 kB / 498.7 MB, free: 8.473 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004141/0.3262, allocations: 163.8 kB / 498.8 MB, free: 8.473 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.72e-05/0.3263, allocations: 21.06 kB / 498.9 MB, free: 8.465 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.3263, allocations: 23.47 kB / 498.9 MB, free: 8.457 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000674/0.327, allocations: 2.392 MB / 0.4895 GB, free: 6.098 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.327, allocations: 5.281 kB / 0.4895 GB, free: 6.098 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003667/0.3273, allocations: 473.9 kB / 0.49 GB, free: 5.848 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.3274, allocations: 68.66 kB / 0.4901 GB, free: 5.816 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.769e-05/0.3275, allocations: 12.19 kB / 0.4901 GB, free: 5.816 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.3276, allocations: 12.25 kB / 0.4901 GB, free: 5.816 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/0.3277, allocations: 43.88 kB / 0.4901 GB, free: 5.812 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/0.3277, allocations: 31.72 kB / 0.4902 GB, free: 5.809 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001342/0.3279, allocations: 206.2 kB / 0.4903 GB, free: 5.785 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3279, allocations: 0 / 0.4903 GB, free: 5.785 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005354/0.3284, allocations: 255.7 kB / 0.4906 GB, free: 5.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,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 (38): * Single equations (assignments): 36 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003836/0.3288, allocations: 241.4 kB / 0.4908 GB, free: 5.676 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004236/0.3292, allocations: 328.6 kB / 0.4911 GB, free: 5.652 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-05/0.3292, allocations: 18.62 kB / 0.4912 GB, free: 5.645 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003449/0.3296, allocations: 288.5 kB / 0.4914 GB, free: 5.508 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006651/0.3302, allocations: 319.2 kB / 0.4917 GB, free: 5.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.3317, allocations: 1.138 MB / 0.4928 GB, free: 4.715 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.964e-05/0.3317, allocations: 161.5 kB / 0.493 GB, free: 4.602 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000485/0.3322, allocations: 359.3 kB / 0.4933 GB, free: 4.434 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005271/0.3328, allocations: 331.6 kB / 0.4937 GB, free: 4.301 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.3328, allocations: 0 / 0.4937 GB, free: 4.301 MB / 410.7 MB Notification: Performance of Templates: time 0.01719/0.3499, allocations: 16.52 MB / 0.5098 GB, free: 8.746 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.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.735121312085539]