Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 104.5 kB / 18.4 MB, free: 4.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 190.1 kB / 19.34 MB, free: 3.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.282/1.282, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 51.92 kB / 329.3 MB, free: 3.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07372/0.07498, allocations: 46.62 MB / 375.9 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3277/0.4027, allocations: 173.6 MB / 0.5366 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003804/0.4066, allocations: 3.204 MB / 0.5397 GB, free: 14.23 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002485/0.4069, allocations: 11.94 kB / 0.5398 GB, free: 14.21 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005611/0.4074, allocations: 174.9 kB / 0.5399 GB, free: 14.04 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009096/0.4084, allocations: 407.3 kB / 0.5403 GB, free: 13.64 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008513/0.4092, allocations: 340.8 kB / 0.5406 GB, free: 13.31 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009731/0.4102, allocations: 0.8954 MB / 0.5415 GB, free: 12.41 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.4104, allocations: 104.7 kB / 0.5416 GB, free: 12.31 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001651/0.4121, allocations: 0.7912 MB / 0.5424 GB, free: 11.52 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004143/0.4125, allocations: 270.9 kB / 0.5426 GB, free: 11.26 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.198e-05/0.4126, allocations: 32 kB / 0.5427 GB, free: 11.23 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003321/0.4129, allocations: 131.8 kB / 0.5428 GB, free: 11.1 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.413, allocations: 87.78 kB / 0.5429 GB, free: 11.01 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002142/0.4133, allocations: 187.2 kB / 0.5431 GB, free: 10.83 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005572/0.4138, allocations: 0.518 MB / 0.5436 GB, free: 10.31 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.4138, allocations: 3.938 kB / 0.5436 GB, free: 10.3 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4139, allocations: 0 / 0.5436 GB, free: 10.3 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.958e-06/0.4139, allocations: 0 / 0.5436 GB, free: 10.3 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008367/0.4147, allocations: 0.5852 MB / 0.5441 GB, free: 9.668 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.4148, allocations: 15.89 kB / 0.5442 GB, free: 9.652 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002912/0.415, allocations: 47.61 kB / 0.5442 GB, free: 9.605 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.4155, allocations: 290.4 kB / 0.5445 GB, free: 9.281 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.4155, allocations: 20.56 kB / 0.5445 GB, free: 9.262 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.278e-05/0.4156, allocations: 24 kB / 0.5445 GB, free: 9.238 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004901/0.4161, allocations: 319.7 kB / 0.5448 GB, free: 8.902 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.4161, allocations: 0 / 0.5448 GB, free: 8.902 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.399e-05/0.4161, allocations: 15.94 kB / 0.5448 GB, free: 8.887 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.4161, allocations: 4 kB / 0.5448 GB, free: 8.883 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003364/0.4165, allocations: 213.5 kB / 0.545 GB, free: 8.676 MB / 478.1 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.001778/0.4183, allocations: 1.586 MB / 0.5466 GB, free: 6.941 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/0.4186, allocations: 178.7 kB / 0.5468 GB, free: 6.758 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.4187, allocations: 106.3 kB / 0.5469 GB, free: 6.652 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.4188, allocations: 4 kB / 0.5469 GB, free: 6.648 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.4188, allocations: 34.56 kB / 0.5469 GB, free: 6.605 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.4188, allocations: 0 / 0.5469 GB, free: 6.605 MB / 478.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005457/0.4243, allocations: 1.614 MB / 0.5485 GB, free: 4.859 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.4243, allocations: 55.41 kB / 0.5485 GB, free: 4.793 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.4246, allocations: 256.8 kB / 0.5488 GB, free: 4.535 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/0.4246, allocations: 37.7 kB / 0.5488 GB, free: 4.492 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.4248, allocations: 176.2 kB / 0.549 GB, free: 4.312 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.278e-05/0.4248, allocations: 94.64 kB / 0.5491 GB, free: 4.219 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.425, allocations: 77.69 kB / 0.5491 GB, free: 4.137 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.4251, allocations: 338.8 kB / 0.5495 GB, free: 3.797 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.4253, allocations: 87.95 kB / 0.5496 GB, free: 3.711 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.4255, allocations: 183.8 kB / 0.5497 GB, free: 3.488 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004262/0.4259, allocations: 305.2 kB / 0.55 GB, free: 3.148 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4259, allocations: 4 kB / 0.55 GB, free: 3.145 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006564/0.4266, allocations: 406.8 kB / 0.5504 GB, free: 2.734 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.4266, allocations: 8 kB / 0.5504 GB, free: 2.727 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.4266, allocations: 4 kB / 0.5504 GB, free: 2.723 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002065/0.4269, allocations: 73.67 kB / 0.5505 GB, free: 2.645 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003389/0.4272, allocations: 87.83 kB / 0.5506 GB, free: 2.559 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.4286, allocations: 1.953 MB / 0.5525 GB, free: 456 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.4288, allocations: 8 kB / 0.5525 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.065e-05/0.4289, allocations: 36 kB / 0.5525 GB, free: 412 kB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001626/0.4291, allocations: 166.3 kB / 0.5527 GB, free: 236 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.076e-05/0.4291, allocations: 27.72 kB / 0.5527 GB, free: 208 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1489/0.5781, allocations: 440.4 kB / 0.5531 GB, free: 170.8 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000427/0.5785, allocations: 0.5608 MB / 0.5537 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.5786, allocations: 1.906 kB / 0.5537 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.986e-05/0.5787, allocations: 103.2 kB / 0.5538 GB, free: 170.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.259e-05/0.5787, allocations: 7.406 kB / 0.5538 GB, free: 170.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.5789, allocations: 8 kB / 0.5538 GB, free: 170.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.579, allocations: 24.69 kB / 0.5538 GB, free: 170.2 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000702/0.5797, allocations: 366.7 kB / 0.5542 GB, free: 170.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005325/0.5802, allocations: 0.5186 MB / 0.5547 GB, free: 169.9 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000136/0.5804, allocations: 98.22 kB / 0.5548 GB, free: 169.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001624/0.5806, allocations: 189.7 kB / 0.5549 GB, free: 169.8 MB / 478.1 MB Notification: Performance of Backend: time 5.31e-07/0.5806, allocations: 3.312 kB / 0.5549 GB, free: 169.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.5816, allocations: 427.3 kB / 0.5554 GB, free: 169.6 MB / 478.1 MB Notification: Performance of SimCode: time 0.00138/0.583, allocations: 1.171 MB / 0.5565 GB, free: 168.9 MB / 478.1 MB Notification: Performance of Templates: time 0.01298/0.596, allocations: 8.555 MB / 0.5649 GB, free: 167.6 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches