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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 121.4 kB / 18.45 MB, free: 4.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 189.2 kB / 21.39 MB, free: 1.52 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.391/1.391, allocations: 207.6 MB / 231.8 MB, free: 3.996 MB / 174.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.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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam",fmuType="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "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.001603/0.001603, allocations: 55.92 kB / 342.3 MB, free: 9.988 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08402/0.08562, allocations: 49.11 MB / 391.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3764/0.462, allocations: 174.2 MB / 0.5523 GB, free: 4.387 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003817/0.4658, allocations: 3.241 MB / 0.5555 GB, free: 1.137 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.4659, allocations: 4 kB / 0.5555 GB, free: 1.133 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005285/0.4665, allocations: 174.9 kB / 0.5557 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007551/0.4672, allocations: 409.5 kB / 0.556 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007798/0.468, allocations: 351.8 kB / 0.5564 GB, free: 224 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009408/0.4689, allocations: 0.8914 MB / 0.5573 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.4691, allocations: 84.62 kB / 0.5573 GB, free: 15.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001549/0.4707, allocations: 0.804 MB / 0.5581 GB, free: 14.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003563/0.471, allocations: 286.9 kB / 0.5584 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.249e-05/0.4711, allocations: 32 kB / 0.5584 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002696/0.4713, allocations: 119.9 kB / 0.5585 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.4715, allocations: 103.7 kB / 0.5586 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001929/0.4717, allocations: 183.3 kB / 0.5588 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005945/0.4722, allocations: 0.5217 MB / 0.5593 GB, free: 13.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.4723, allocations: 0 / 0.5593 GB, free: 13.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4723, allocations: 0 / 0.5593 GB, free: 13.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.4723, allocations: 4 kB / 0.5593 GB, free: 13.2 MB / 446.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.0008464/0.4731, allocations: 0.5998 MB / 0.5599 GB, free: 12.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.4731, allocations: 12.03 kB / 0.5599 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.944e-05/0.4732, allocations: 58.55 kB / 0.56 GB, free: 12.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002565/0.4735, allocations: 43.8 kB / 0.56 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000475/0.4739, allocations: 294.5 kB / 0.5603 GB, free: 12.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.474, allocations: 20.56 kB / 0.5603 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.932e-05/0.474, allocations: 24 kB / 0.5603 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005008/0.4745, allocations: 315.7 kB / 0.5606 GB, free: 11.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.4745, allocations: 3.938 kB / 0.5606 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.29e-05/0.4746, allocations: 19.94 kB / 0.5607 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.4746, allocations: 8 kB / 0.5607 GB, free: 11.69 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003297/0.4749, allocations: 201.6 kB / 0.5609 GB, free: 11.49 MB / 446.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.001863/0.4768, allocations: 1.593 MB / 0.5624 GB, free: 9.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.4771, allocations: 167.1 kB / 0.5626 GB, free: 9.578 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.4772, allocations: 88.77 kB / 0.5627 GB, free: 9.488 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.4772, allocations: 15.97 kB / 0.5627 GB, free: 9.473 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.4773, allocations: 34.56 kB / 0.5627 GB, free: 9.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.223e-06/0.4773, allocations: 0 / 0.5627 GB, free: 9.43 MB / 446.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.005126/0.4824, allocations: 1.619 MB / 0.5643 GB, free: 7.684 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.4824, allocations: 55.41 kB / 0.5643 GB, free: 7.617 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.4827, allocations: 257 kB / 0.5646 GB, free: 7.359 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.4828, allocations: 29.7 kB / 0.5646 GB, free: 7.324 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.4829, allocations: 180.5 kB / 0.5648 GB, free: 7.145 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.958e-05/0.483, allocations: 99.16 kB / 0.5649 GB, free: 7.047 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.4831, allocations: 85.64 kB / 0.565 GB, free: 6.957 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.4832, allocations: 334.8 kB / 0.5653 GB, free: 6.621 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.4834, allocations: 83.97 kB / 0.5654 GB, free: 6.539 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.4836, allocations: 199.7 kB / 0.5656 GB, free: 6.301 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004236/0.4841, allocations: 300.2 kB / 0.5658 GB, free: 5.965 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4841, allocations: 4 kB / 0.5659 GB, free: 5.961 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006465/0.4847, allocations: 406.8 kB / 0.5662 GB, free: 5.551 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.4847, allocations: 4 kB / 0.5662 GB, free: 5.547 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.4847, allocations: 4.406 kB / 0.5662 GB, free: 5.543 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000201/0.4849, allocations: 69.69 kB / 0.5663 GB, free: 5.469 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.4853, allocations: 87.89 kB / 0.5664 GB, free: 5.383 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/0.4868, allocations: 1.95 MB / 0.5683 GB, free: 3.266 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.487, allocations: 11.98 kB / 0.5683 GB, free: 3.254 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.598e-05/0.487, allocations: 40.19 kB / 0.5684 GB, free: 3.215 MB / 446.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.0001703/0.4872, allocations: 161.6 kB / 0.5685 GB, free: 3.047 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.798e-05/0.4873, allocations: 31.8 kB / 0.5685 GB, free: 3.016 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008526/0.4881, allocations: 439 kB / 0.569 GB, free: 2.574 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.4881, allocations: 0 / 0.569 GB, free: 2.574 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.4881, allocations: 7.938 kB / 0.569 GB, free: 2.566 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005687/0.4887, allocations: 0.563 MB / 0.5695 GB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.4897, allocations: 0.7314 MB / 0.5702 GB, free: 1.117 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.4897, allocations: 1.062 kB / 0.5702 GB, free: 1.117 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003073/0.49, allocations: 75.89 kB / 0.5703 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.544e-05/0.4901, allocations: 16.84 kB / 0.5703 GB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.4901, allocations: 19.92 kB / 0.5703 GB, free: 1.004 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009834/0.4911, allocations: 1.379 MB / 0.5717 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4911, allocations: 4.156 kB / 0.5717 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006564/0.4918, allocations: 475.2 kB / 0.5721 GB, free: 14.99 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.147e-05/0.4919, allocations: 104.9 kB / 0.5722 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.797e-05/0.4919, allocations: 8 kB / 0.5722 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.4921, allocations: 8 kB / 0.5723 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.4922, allocations: 32.03 kB / 0.5723 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.203e-05/0.4922, allocations: 31.98 kB / 0.5723 GB, free: 14.79 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001887/0.4924, allocations: 186 kB / 0.5725 GB, free: 14.61 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4924, allocations: 0 / 0.5725 GB, free: 14.61 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004526/0.4929, allocations: 127.9 kB / 0.5726 GB, free: 14.48 MB / 462.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.001165/0.494, allocations: 1.058 MB / 0.5736 GB, free: 13.39 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006149/0.4946, allocations: 354.4 kB / 0.574 GB, free: 13.03 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/0.4946, allocations: 4 kB / 0.574 GB, free: 13.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002854/0.4949, allocations: 227.4 kB / 0.5742 GB, free: 12.79 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008396/0.4958, allocations: 164.3 kB / 0.5744 GB, free: 12.63 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00396/0.4997, allocations: 3.203 MB / 0.5775 GB, free: 9.242 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.5001, allocations: 0.7722 MB / 0.5782 GB, free: 8.445 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003931/0.5005, allocations: 126.9 kB / 0.5784 GB, free: 8.324 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/0.5007, allocations: 123.4 kB / 0.5785 GB, free: 8.203 MB / 462.1 MB Notification: Performance of SimCode: time 3.9e-07/0.5007, allocations: 0 / 0.5785 GB, free: 8.203 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04344/0.5442, allocations: 11.97 MB / 0.5902 GB, free: 12.16 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.51, allocations: 12.02 kB / 0.5902 GB, free: 12.15 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_2/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_2/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: 14.893720069900155]