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.001919/0.001919, allocations: 92.27 kB / 20.96 MB, free: 3.445 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.002302/0.002302, allocations: 152.9 kB / 24.26 MB, free: 148 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.567/1.567, allocations: 177 MB / 204.5 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3389/0.3389, allocations: 34.24 MB / 295.2 MB, free: 0.6797 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.443e-06/1.443e-06, allocations: 0 / 377.2 MB, free: 2.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.676e-05, allocations: 4.422 kB / 377.2 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.344/0.344, allocations: 154.6 MB / 0.5194 GB, free: 9.312 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005856/0.3499, allocations: 4.916 MB / 0.5242 GB, free: 5.992 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000618/0.3505, allocations: 29.09 kB / 0.5242 GB, free: 5.977 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007937/0.3513, allocations: 313.5 kB / 0.5245 GB, free: 5.805 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003055/0.3544, allocations: 1.392 MB / 0.5259 GB, free: 5.047 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002417/0.3568, allocations: 1.086 MB / 0.5269 GB, free: 4.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001792/0.3586, allocations: 1.879 MB / 0.5287 GB, free: 3.641 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005269/0.3591, allocations: 415.4 kB / 0.5291 GB, free: 3.387 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002032/0.3611, allocations: 1.35 MB / 0.5305 GB, free: 2.809 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.3622, allocations: 0.722 MB / 0.5312 GB, free: 2.574 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.3624, allocations: 61.06 kB / 0.5312 GB, free: 2.574 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.3635, allocations: 0.5549 MB / 0.5318 GB, free: 2.422 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000231/0.3637, allocations: 289.1 kB / 0.532 GB, free: 2.285 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003079/0.3641, allocations: 284.1 kB / 0.5323 GB, free: 2.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001639/0.3657, allocations: 1.396 MB / 0.5337 GB, free: 1.699 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3657, allocations: 0 / 0.5337 GB, free: 1.699 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3657, allocations: 0 / 0.5337 GB, free: 1.699 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.3657, allocations: 0 / 0.5337 GB, free: 1.699 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.002026/0.3677, allocations: 1.039 MB / 0.5347 GB, free: 1.004 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3678, allocations: 14.84 kB / 0.5347 GB, free: 1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009159/0.3687, allocations: 220.6 kB / 0.5349 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007269/0.3694, allocations: 0.4975 MB / 0.5354 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.515e-05/0.3695, allocations: 152.6 kB / 0.5355 GB, free: 388 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.3696, allocations: 65.55 kB / 0.5356 GB, free: 360 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.371, allocations: 1.137 MB / 0.5367 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.371, allocations: 2.844 kB / 0.5367 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.492e-05/0.3711, allocations: 25.52 kB / 0.5367 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.334e-05/0.3712, allocations: 42.05 kB / 0.5368 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.3722, allocations: 0.6127 MB / 0.5374 GB, free: 15.04 MB / 426.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.004517/0.3768, allocations: 3.224 MB / 0.5405 GB, free: 12.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005873/0.3773, allocations: 338.2 kB / 0.5409 GB, free: 12.17 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002759/0.3776, allocations: 161.1 kB / 0.541 GB, free: 12.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.903e-05/0.3777, allocations: 10.75 kB / 0.541 GB, free: 12.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/0.3777, allocations: 43.73 kB / 0.5411 GB, free: 12.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 1.894e-06/0.3777, allocations: 0 / 0.5411 GB, free: 12.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.005369/0.3831, allocations: 1.575 MB / 0.5426 GB, free: 11.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.3832, allocations: 138.1 kB / 0.5427 GB, free: 10.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006301/0.3839, allocations: 0.5402 MB / 0.5433 GB, free: 10.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.252e-05/0.3839, allocations: 36.33 kB / 0.5433 GB, free: 10.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003265/0.3842, allocations: 380.1 kB / 0.5437 GB, free: 10.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.3844, allocations: 145.1 kB / 0.5438 GB, free: 10.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.3846, allocations: 152.2 kB / 0.5439 GB, free: 10.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002167/0.3848, allocations: 370.8 kB / 0.5443 GB, free: 9.664 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003692/0.3852, allocations: 201.5 kB / 0.5445 GB, free: 9.566 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007117/0.3859, allocations: 0.5867 MB / 0.5451 GB, free: 8.953 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.387, allocations: 0.7453 MB / 0.5458 GB, free: 8.324 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.387, allocations: 2.969 kB / 0.5458 GB, free: 8.324 MB / 426.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001537/0.3885, allocations: 0.8864 MB / 0.5467 GB, free: 7.875 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3885, allocations: 8.25 kB / 0.5467 GB, free: 7.875 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.3885, allocations: 14.47 kB / 0.5467 GB, free: 7.871 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/0.3899, allocations: 297.8 kB / 0.547 GB, free: 7.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004011/0.3903, allocations: 127.4 kB / 0.5471 GB, free: 7.719 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.3915, allocations: 0.9199 MB / 0.548 GB, free: 7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004865/0.392, allocations: 33.45 kB / 0.548 GB, free: 6.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.652e-05/0.3921, allocations: 60.91 kB / 0.5481 GB, free: 6.973 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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.00038/0.3925, allocations: 251 kB / 0.5483 GB, free: 6.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.3926, allocations: 76.97 kB / 0.5484 GB, free: 6.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.3942, allocations: 0.8084 MB / 0.5492 GB, free: 6.117 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/0.3942, allocations: 4 kB / 0.5492 GB, free: 6.113 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.3942, allocations: 4 kB / 0.5492 GB, free: 6.109 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.3943, allocations: 3.984 kB / 0.5492 GB, free: 6.105 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.3963, allocations: 1.063 MB / 0.5502 GB, free: 4.984 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.3963, allocations: 0 / 0.5502 GB, free: 4.984 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.3974, allocations: 195.8 kB / 0.5504 GB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001147/0.3975, allocations: 29.03 kB / 0.5504 GB, free: 4.762 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.933e-05/0.3976, allocations: 27.92 kB / 0.5505 GB, free: 4.734 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002597/0.4002, allocations: 2.626 MB / 0.553 GB, free: 1.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4002, allocations: 0 / 0.553 GB, free: 1.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/0.4017, allocations: 0.8026 MB / 0.5538 GB, free: 1.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003069/0.402, allocations: 99.61 kB / 0.5539 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.703e-05/0.4021, allocations: 15.94 kB / 0.5539 GB, free: 0.957 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000383/0.4025, allocations: 15.98 kB / 0.5539 GB, free: 0.9414 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.4026, allocations: 39.88 kB / 0.554 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.246e-05/0.4026, allocations: 35.98 kB / 0.554 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005161/0.4032, allocations: 363 kB / 0.5544 GB, free: 0.5156 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4032, allocations: 0 / 0.5544 GB, free: 0.5156 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009973/0.4042, allocations: 255.7 kB / 0.5546 GB, free: 272 kB / 426.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.0007383/0.4049, allocations: 291.8 kB / 0.5549 GB, free: 15.97 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.4062, allocations: 0.5199 MB / 0.5554 GB, free: 15.45 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4062, allocations: 0 / 0.5554 GB, free: 15.45 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.4073, allocations: 390.3 kB / 0.5558 GB, free: 15.05 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/0.4088, allocations: 332.8 kB / 0.5561 GB, free: 14.76 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/0.4111, allocations: 1.249 MB / 0.5573 GB, free: 13.46 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.4115, allocations: 340.2 kB / 0.5576 GB, free: 13.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001024/0.4125, allocations: 436.5 kB / 0.558 GB, free: 12.68 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003119/0.4129, allocations: 100.4 kB / 0.5581 GB, free: 12.58 MB / 442.7 MB Notification: Performance of SimCode: time 7.81e-07/0.4129, allocations: 0 / 0.5581 GB, free: 12.58 MB / 442.7 MB Notification: Performance of Templates: time 0.02785/0.4407, allocations: 15.38 MB / 0.5732 GB, free: 13.43 MB / 458.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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: 5.996787914074957]