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.000989/0.000989, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001409/0.002398, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0009862/0.0009862, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001068/0.002054, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9456/0.9456, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08869/1.034, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.2246/0.2246, allocations: 34.86 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02028/0.2449, allocations: 13.23 MB / 292.6 MB, free: 6.484 MB / 282.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.192e-06/1.192e-06, allocations: 0 / 293.9 MB, free: 5.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.699e-06/1.089e-05, allocations: 4 kB / 293.9 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3121/0.3121, allocations: 149.4 MB / 443.3 MB, free: 3.613 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004367/0.3165, allocations: 2.656 MB / 446 MB, free: 3.586 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004912/0.317, allocations: 26.28 kB / 446 MB, free: 3.586 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005045/0.3175, allocations: 213.3 kB / 446.2 MB, free: 3.586 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00248/0.32, allocations: 1.146 MB / 447.4 MB, free: 3.535 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.3216, allocations: 0.8073 MB / 448.2 MB, free: 3.52 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002384/0.324, allocations: 1.927 MB / 450.1 MB, free: 3.52 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006225/0.3247, allocations: 414.9 kB / 450.5 MB, free: 3.496 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001897/0.3265, allocations: 1.274 MB / 451.8 MB, free: 3.469 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007734/0.3273, allocations: 0.5628 MB / 452.3 MB, free: 3.469 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.3274, allocations: 58.53 kB / 452.4 MB, free: 3.469 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008841/0.3283, allocations: 482.7 kB / 452.9 MB, free: 3.457 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000209/0.3285, allocations: 236.5 kB / 453.1 MB, free: 3.457 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000262/0.3288, allocations: 231.5 kB / 453.3 MB, free: 3.43 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.3298, allocations: 0.8698 MB / 454.2 MB, free: 3.324 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.377e-05/0.3298, allocations: 0 / 454.2 MB, free: 3.324 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3298, allocations: 0 / 454.2 MB, free: 3.324 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.38e-05/0.3298, allocations: 0.7812 kB / 454.2 MB, free: 3.324 MB / 426.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.001803/0.3316, allocations: 1.24 MB / 455.4 MB, free: 18.73 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.3317, allocations: 9.531 kB / 455.4 MB, free: 18.73 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000661/0.3323, allocations: 214.9 kB / 455.6 MB, free: 18.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000564/0.3329, allocations: 410.1 kB / 456 MB, free: 18.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.346e-05/0.333, allocations: 155 kB / 456.2 MB, free: 18.38 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.099e-05/0.3331, allocations: 63.56 kB / 456.3 MB, free: 18.37 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006802/0.3337, allocations: 0.8869 MB / 457.1 MB, free: 17.72 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.3338, allocations: 7.031 kB / 457.2 MB, free: 17.72 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.278e-05/0.3338, allocations: 26 kB / 457.2 MB, free: 17.72 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-05/0.3339, allocations: 37.81 kB / 457.2 MB, free: 17.72 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003407/0.3342, allocations: 230.5 kB / 457.4 MB, free: 17.71 MB / 442.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.002276/0.3365, allocations: 2.659 MB / 460.1 MB, free: 15.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.3367, allocations: 163.4 kB / 460.3 MB, free: 15.79 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.506e-05/0.3368, allocations: 62.8 kB / 460.3 MB, free: 15.78 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/0.3369, allocations: 40.47 kB / 460.4 MB, free: 15.78 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.337, allocations: 37.38 kB / 460.4 MB, free: 15.74 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 1.653e-06/0.337, allocations: 0 / 460.4 MB, free: 15.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.002351/0.3393, allocations: 0.9139 MB / 461.3 MB, free: 15.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.3393, allocations: 58.94 kB / 461.4 MB, free: 15.35 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.3396, allocations: 483.5 kB / 461.8 MB, free: 15.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.3397, allocations: 37.55 kB / 461.9 MB, free: 15.17 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.3398, allocations: 342.8 kB / 462.2 MB, free: 14.94 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003402/0.3401, allocations: 145.7 kB / 462.4 MB, free: 14.85 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.3403, allocations: 144.4 kB / 462.5 MB, free: 14.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.3404, allocations: 379 kB / 462.9 MB, free: 14.51 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.3405, allocations: 67.05 kB / 462.9 MB, free: 14.51 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.3408, allocations: 491.4 kB / 463.4 MB, free: 14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004287/0.3412, allocations: 0.5313 MB / 463.9 MB, free: 13.61 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.3412, allocations: 3.25 kB / 463.9 MB, free: 13.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0006186/0.3418, allocations: 0.4917 MB / 464.4 MB, free: 13.56 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.3418, allocations: 7.812 kB / 464.4 MB, free: 13.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.3418, allocations: 13.5 kB / 464.5 MB, free: 13.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006086/0.3424, allocations: 215.8 kB / 464.7 MB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002956/0.3427, allocations: 148.2 kB / 464.8 MB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004846/0.3432, allocations: 0.6782 MB / 465.5 MB, free: 13.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000292/0.3435, allocations: 25.62 kB / 465.5 MB, free: 13.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.332e-05/0.3436, allocations: 46.66 kB / 465.6 MB, free: 13.01 MB / 442.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.0001679/0.3437, allocations: 169.4 kB / 465.7 MB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.794e-05/0.3438, allocations: 54.12 kB / 465.8 MB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007007/0.3445, allocations: 0.5703 MB / 466.4 MB, free: 12.78 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.3445, allocations: 6.25 kB / 466.4 MB, free: 12.78 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.3445, allocations: 0 / 466.4 MB, free: 12.78 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3445, allocations: 3.094 kB / 466.4 MB, free: 12.78 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009131/0.3454, allocations: 0.729 MB / 467.1 MB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.3454, allocations: 3.219 kB / 467.1 MB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006244/0.3461, allocations: 192.6 kB / 467.3 MB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.3462, allocations: 66.58 kB / 467.3 MB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.934e-05/0.3463, allocations: 18.73 kB / 467.4 MB, free: 12.44 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.3463, allocations: 22.78 kB / 467.4 MB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.3474, allocations: 2.406 MB / 469.8 MB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.3474, allocations: 0 / 469.8 MB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004493/0.3479, allocations: 472.2 kB / 470.3 MB, free: 9.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.159e-05/0.3479, allocations: 10.16 kB / 470.3 MB, free: 9.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.3481, allocations: 20.88 kB / 470.3 MB, free: 9.816 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/0.3482, allocations: 37.62 kB / 470.3 MB, free: 9.812 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.659e-05/0.3482, allocations: 23.72 kB / 470.3 MB, free: 9.812 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001549/0.3484, allocations: 201 kB / 470.5 MB, free: 9.793 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3484, allocations: 0 / 470.5 MB, free: 9.793 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000593/0.349, allocations: 244.5 kB / 470.8 MB, free: 9.781 MB / 442.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.000398/0.3494, allocations: 239.6 kB / 471 MB, free: 9.699 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004757/0.3499, allocations: 324.1 kB / 471.3 MB, free: 9.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.212e-05/0.3499, allocations: 11.47 kB / 471.3 MB, free: 9.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004382/0.3503, allocations: 301.9 kB / 471.6 MB, free: 9.547 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008888/0.3512, allocations: 393.3 kB / 472 MB, free: 9.516 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009657/0.3609, allocations: 1.153 MB / 473.2 MB, free: 8.941 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.361, allocations: 169.9 kB / 473.3 MB, free: 8.867 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005882/0.3616, allocations: 360.5 kB / 473.7 MB, free: 8.824 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005924/0.3622, allocations: 307.8 kB / 474 MB, free: 8.77 MB / 442.7 MB Notification: Performance of SimCode: time 7.72e-07/0.3622, allocations: 0.9688 kB / 474 MB, free: 8.77 MB / 442.7 MB Notification: Performance of Templates: time 0.01948/0.3816, allocations: 16.51 MB / 490.5 MB, free: 6.051 MB / 442.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 -ignoreHideResult -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.7007537595927715]