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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.005505/0.005505, allocations: 100.2 kB / 21.96 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 218 kB / 25.26 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.263/1.263, allocations: 207.7 MB / 236.1 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 51.92 kB / 348 MB, free: 9.859 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.235, allocations: 49.15 MB / 397.2 MB, free: 8.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.1703/0.4052, allocations: 150.1 MB / 0.5344 GB, free: 12.53 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00362/0.4089, allocations: 2.947 MB / 0.5373 GB, free: 9.574 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.409, allocations: 7.938 kB / 0.5373 GB, free: 9.566 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005453/0.4095, allocations: 163 kB / 0.5375 GB, free: 9.406 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008019/0.4103, allocations: 417.5 kB / 0.5379 GB, free: 9 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000808/0.4111, allocations: 359.2 kB / 0.5382 GB, free: 8.648 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008946/0.412, allocations: 0.9032 MB / 0.5391 GB, free: 7.742 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.4122, allocations: 80.86 kB / 0.5392 GB, free: 7.66 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001521/0.4137, allocations: 0.8114 MB / 0.54 GB, free: 6.848 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003567/0.4141, allocations: 286.8 kB / 0.5402 GB, free: 6.566 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.715e-05/0.4141, allocations: 36 kB / 0.5403 GB, free: 6.531 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002629/0.4144, allocations: 123.9 kB / 0.5404 GB, free: 6.41 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.4145, allocations: 95.7 kB / 0.5405 GB, free: 6.316 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.4147, allocations: 163.4 kB / 0.5406 GB, free: 6.156 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000577/0.4153, allocations: 0.5139 MB / 0.5411 GB, free: 5.641 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.4153, allocations: 0 / 0.5411 GB, free: 5.641 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4153, allocations: 4 kB / 0.5411 GB, free: 5.637 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.4153, allocations: 0 / 0.5411 GB, free: 5.637 MB / 462.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.0008008/0.4161, allocations: 0.5206 MB / 0.5416 GB, free: 5.086 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.4161, allocations: 15.98 kB / 0.5417 GB, free: 5.07 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.001e-05/0.4161, allocations: 4.5 kB / 0.5417 GB, free: 5.062 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.008e-05/0.4162, allocations: 66.53 kB / 0.5417 GB, free: 4.988 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002566/0.4165, allocations: 43.81 kB / 0.5418 GB, free: 4.945 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004201/0.4169, allocations: 228.7 kB / 0.542 GB, free: 4.695 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.4169, allocations: 20.5 kB / 0.542 GB, free: 4.676 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.472e-05/0.417, allocations: 31.94 kB / 0.542 GB, free: 4.645 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006058/0.4176, allocations: 0.5411 MB / 0.5426 GB, free: 4.02 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.4176, allocations: 0 / 0.5426 GB, free: 4.02 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.4176, allocations: 15.94 kB / 0.5426 GB, free: 4.004 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.4176, allocations: 8 kB / 0.5426 GB, free: 3.996 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003197/0.4179, allocations: 201.6 kB / 0.5428 GB, free: 3.797 MB / 462.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.001589/0.4195, allocations: 1.202 MB / 0.544 GB, free: 2.527 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.4198, allocations: 162.7 kB / 0.5441 GB, free: 2.359 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.42, allocations: 88.77 kB / 0.5442 GB, free: 2.27 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.42, allocations: 4 kB / 0.5442 GB, free: 2.266 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.42, allocations: 38.56 kB / 0.5442 GB, free: 2.219 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 1.292e-06/0.42, allocations: 0 / 0.5442 GB, free: 2.219 MB / 462.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.005151/0.4252, allocations: 1.311 MB / 0.5455 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.4252, allocations: 59.41 kB / 0.5456 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.4255, allocations: 257 kB / 0.5458 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.4255, allocations: 29.7 kB / 0.5458 GB, free: 492 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.4256, allocations: 172.6 kB / 0.546 GB, free: 316 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.432e-05/0.4257, allocations: 103.1 kB / 0.5461 GB, free: 212 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.4259, allocations: 77.69 kB / 0.5462 GB, free: 128 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.426, allocations: 346.7 kB / 0.5465 GB, free: 15.78 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.4262, allocations: 91.97 kB / 0.5466 GB, free: 15.69 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.4264, allocations: 199.7 kB / 0.5468 GB, free: 15.45 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004129/0.4268, allocations: 307.8 kB / 0.5471 GB, free: 15.11 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4268, allocations: 4 kB / 0.5471 GB, free: 15.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006452/0.4275, allocations: 398.8 kB / 0.5475 GB, free: 14.7 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.4275, allocations: 8.406 kB / 0.5475 GB, free: 14.69 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.4275, allocations: 8 kB / 0.5475 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002187/0.4277, allocations: 65.69 kB / 0.5475 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003369/0.4281, allocations: 87.89 kB / 0.5476 GB, free: 14.53 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.4296, allocations: 1.847 MB / 0.5494 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.4298, allocations: 16.25 kB / 0.5494 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.434e-05/0.4298, allocations: 36 kB / 0.5495 GB, free: 12.49 MB / 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.0001728/0.43, allocations: 161.6 kB / 0.5496 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.722e-05/0.43, allocations: 27.81 kB / 0.5497 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008382/0.4309, allocations: 439.8 kB / 0.5501 GB, free: 11.85 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.4309, allocations: 4 kB / 0.5501 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4309, allocations: 3.938 kB / 0.5501 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005844/0.4315, allocations: 0.563 MB / 0.5506 GB, free: 11.19 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009715/0.4324, allocations: 0.6603 MB / 0.5513 GB, free: 10.47 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.4325, allocations: 8.062 kB / 0.5513 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003048/0.4328, allocations: 67.89 kB / 0.5514 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.299e-05/0.4328, allocations: 20.84 kB / 0.5514 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.4329, allocations: 15.94 kB / 0.5514 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008916/0.4337, allocations: 1.275 MB / 0.5526 GB, free: 8.969 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4337, allocations: 4.156 kB / 0.5526 GB, free: 8.965 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006359/0.4344, allocations: 479.2 kB / 0.5531 GB, free: 8.473 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.451e-05/0.4344, allocations: 27.84 kB / 0.5531 GB, free: 8.445 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.93e-05/0.4345, allocations: 4 kB / 0.5531 GB, free: 8.441 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.4347, allocations: 12 kB / 0.5531 GB, free: 8.43 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.916e-05/0.4348, allocations: 23.95 kB / 0.5532 GB, free: 8.406 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.536e-05/0.4348, allocations: 31.98 kB / 0.5532 GB, free: 8.375 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001824/0.435, allocations: 193.2 kB / 0.5534 GB, free: 8.188 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.435, allocations: 0 / 0.5534 GB, free: 8.188 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004569/0.4354, allocations: 119.9 kB / 0.5535 GB, free: 8.07 MB / 478.1 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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): 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.001178/0.4366, allocations: 1.062 MB / 0.5545 GB, free: 6.969 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006233/0.4372, allocations: 366.6 kB / 0.5549 GB, free: 6.598 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4372, allocations: 0 / 0.5549 GB, free: 6.598 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000297/0.4375, allocations: 234.4 kB / 0.5551 GB, free: 6.355 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008476/0.4384, allocations: 162.4 kB / 0.5553 GB, free: 6.199 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003836/0.4422, allocations: 3.213 MB / 0.5584 GB, free: 2.797 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.4424, allocations: 159.8 kB / 0.5585 GB, free: 2.625 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003749/0.4427, allocations: 114.9 kB / 0.5587 GB, free: 2.516 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/0.443, allocations: 123.4 kB / 0.5588 GB, free: 2.395 MB / 478.1 MB Notification: Performance of SimCode: time 4.51e-07/0.443, allocations: 0 / 0.5588 GB, free: 2.395 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1764/0.6194, allocations: 12.57 MB / 0.5711 GB, free: 162.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/13.12, allocations: 10.64 kB / 0.5711 GB, free: 162.1 MB / 478.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.46568845398724]