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.001261/0.001261, allocations: 117 kB / 18.49 MB, free: 4.566 MB / 14.72 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.001364/0.001364, allocations: 216.7 kB / 21.46 MB, free: 1.613 MB / 14.72 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.456/1.456, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 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.2138/0.2138, allocations: 46.91 MB / 357.7 MB, free: 10.18 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 79.88 kB / 0.4917 GB, free: 7.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1263, allocations: 66.05 MB / 0.5562 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4499/0.5762, allocations: 178.7 MB / 0.7307 GB, free: 14.24 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007448/0.5837, allocations: 5.353 MB / 0.7359 GB, free: 8.867 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005405/0.5842, allocations: 27.75 kB / 0.736 GB, free: 8.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009435/0.5852, allocations: 322 kB / 0.7363 GB, free: 8.523 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003208/0.5884, allocations: 1.369 MB / 0.7376 GB, free: 7.156 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002557/0.5909, allocations: 1.046 MB / 0.7386 GB, free: 6.117 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002227/0.5931, allocations: 1.852 MB / 0.7404 GB, free: 4.258 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005953/0.5937, allocations: 414.9 kB / 0.7408 GB, free: 3.852 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002144/0.5959, allocations: 1.102 MB / 0.7419 GB, free: 2.746 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001281/0.5972, allocations: 0.8017 MB / 0.7427 GB, free: 1.941 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.5973, allocations: 60 kB / 0.7428 GB, free: 1.883 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.5988, allocations: 0.6359 MB / 0.7434 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002943/0.599, allocations: 267.2 kB / 0.7436 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004388/0.5995, allocations: 398.2 kB / 0.744 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001772/0.6013, allocations: 1.308 MB / 0.7453 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6013, allocations: 0 / 0.7453 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6013, allocations: 0 / 0.7453 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.6013, allocations: 0 / 0.7453 GB, free: 15.28 MB / 0.5606 GB 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.002313/0.6036, allocations: 1.117 MB / 0.7464 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.6036, allocations: 12.03 kB / 0.7464 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.261e-05/0.6037, allocations: 13 kB / 0.7464 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001598/0.6038, allocations: 102.5 kB / 0.7465 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008109/0.6046, allocations: 139.4 kB / 0.7466 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00085/0.6055, allocations: 0.5357 MB / 0.7472 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.6056, allocations: 100.4 kB / 0.7473 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.534e-05/0.6057, allocations: 55.98 kB / 0.7473 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.6069, allocations: 0.8135 MB / 0.7481 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.607, allocations: 4 kB / 0.7481 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.017e-05/0.607, allocations: 27.94 kB / 0.7481 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-05/0.6071, allocations: 40.97 kB / 0.7482 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.6081, allocations: 0.6165 MB / 0.7488 GB, free: 11.52 MB / 0.5606 GB 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.00452/0.6127, allocations: 3.937 MB / 0.7526 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006072/0.6133, allocations: 340.2 kB / 0.7529 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002778/0.6135, allocations: 161.3 kB / 0.7531 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.6137, allocations: 105.3 kB / 0.7532 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.6137, allocations: 38.78 kB / 0.7532 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.783e-06/0.6137, allocations: 4 kB / 0.7532 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.00568/0.6194, allocations: 1.68 MB / 0.7549 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.388e-05/0.6195, allocations: 136.5 kB / 0.755 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007355/0.6202, allocations: 0.6211 MB / 0.7556 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.041e-05/0.6203, allocations: 29.7 kB / 0.7556 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002817/0.6205, allocations: 371.8 kB / 0.756 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.6207, allocations: 146.8 kB / 0.7561 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002369/0.6209, allocations: 162.6 kB / 0.7563 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.6211, allocations: 374.8 kB / 0.7567 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003667/0.6215, allocations: 201.9 kB / 0.7568 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00062/0.6221, allocations: 0.5125 MB / 0.7573 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.6231, allocations: 0.7555 MB / 0.7581 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.78e-06/0.6231, allocations: 4 kB / 0.7581 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001503/0.6246, allocations: 0.8764 MB / 0.7589 GB, free: 408 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.6246, allocations: 11.94 kB / 0.759 GB, free: 396 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.6247, allocations: 12 kB / 0.759 GB, free: 384 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001391/0.6261, allocations: 319.2 kB / 0.7593 GB, free: 64 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004016/0.6265, allocations: 124.5 kB / 0.7594 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.6276, allocations: 0.9309 MB / 0.7603 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004576/0.6281, allocations: 28 kB / 0.7603 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.069e-05/0.6282, allocations: 63.98 kB / 0.7604 GB, free: 14.89 MB / 0.5762 GB 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.0003476/0.6285, allocations: 253.4 kB / 0.7606 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.6286, allocations: 67.58 kB / 0.7607 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/0.6303, allocations: 0.8623 MB / 0.7615 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.6303, allocations: 4 kB / 0.7615 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.6303, allocations: 8 kB / 0.7615 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.6303, allocations: 7.922 kB / 0.7616 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/0.6324, allocations: 1.453 MB / 0.763 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.6324, allocations: 8.188 kB / 0.763 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/0.6335, allocations: 207.8 kB / 0.7632 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-05/0.6335, allocations: 28.83 kB / 0.7632 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.263e-05/0.6336, allocations: 16 kB / 0.7632 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00226/0.6358, allocations: 2.869 MB / 0.766 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.6358, allocations: 8.188 kB / 0.766 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/0.6372, allocations: 0.8195 MB / 0.7668 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002828/0.6374, allocations: 196.6 kB / 0.767 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.01e-05/0.6375, allocations: 11.94 kB / 0.767 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/0.6379, allocations: 19.98 kB / 0.767 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.638, allocations: 43.83 kB / 0.7671 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-05/0.6381, allocations: 43.98 kB / 0.7671 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005286/0.6386, allocations: 439 kB / 0.7675 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.6386, allocations: 4.062 kB / 0.7676 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008929/0.6395, allocations: 251.8 kB / 0.7678 GB, free: 6.816 MB / 0.5762 GB 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 (39): * Single equations (assignments): 37 * 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.002122/0.6416, allocations: 1.549 MB / 0.7693 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001169/0.6428, allocations: 0.5349 MB / 0.7698 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6428, allocations: 0 / 0.7698 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.6438, allocations: 406.4 kB / 0.7702 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.6455, allocations: 369.5 kB / 0.7706 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008717/0.6542, allocations: 6.327 MB / 0.7767 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005636/0.6547, allocations: 0.9376 MB / 0.7777 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001025/0.6558, allocations: 455.8 kB / 0.7781 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004956/0.6563, allocations: 287.3 kB / 0.7784 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of SimCode: time 9.11e-07/0.6563, allocations: 4 kB / 0.7784 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0553/0.7116, allocations: 24.53 MB / 0.8023 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.63, allocations: 11.86 kB / 0.8023 GB, free: 3.207 MB / 0.6075 GB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/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: 16.982190380978864]