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.001309/0.001309, allocations: 114 kB / 20.44 MB, free: 1.469 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.001433/0.001433, allocations: 214.1 kB / 23.74 MB, free: 4.695 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.441/1.441, allocations: 230.5 MB / 257.4 MB, free: 8.035 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.2292/0.2292, allocations: 46.93 MB / 360.8 MB, free: 4.207 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002724/0.002724, allocations: 83.86 kB / 0.4962 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.355, allocations: 66.08 MB / 0.5607 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2138/0.5688, allocations: 179 MB / 0.7355 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3389/0.9076, allocations: 5.371 MB / 0.7408 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007435/0.9084, allocations: 27.22 kB / 0.7408 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009634/0.9093, allocations: 325.2 kB / 0.7411 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003389/0.9127, allocations: 1.379 MB / 0.7424 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002686/0.9154, allocations: 1.081 MB / 0.7435 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0022/0.9176, allocations: 1.884 MB / 0.7453 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005442/0.9182, allocations: 391.7 kB / 0.7457 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002209/0.9204, allocations: 1.116 MB / 0.7468 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001245/0.9216, allocations: 0.799 MB / 0.7476 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.9217, allocations: 61.84 kB / 0.7476 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001451/0.9232, allocations: 0.6409 MB / 0.7483 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002702/0.9235, allocations: 272 kB / 0.7485 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004488/0.9239, allocations: 397.1 kB / 0.7489 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001758/0.9257, allocations: 1.31 MB / 0.7502 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.9257, allocations: 0.7812 kB / 0.7502 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.855e-06/0.9257, allocations: 1.203 kB / 0.7502 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.452e-05/0.9257, allocations: 0.75 kB / 0.7502 GB, free: 1.559 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.002483/0.9282, allocations: 1.044 MB / 0.7512 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.9282, allocations: 12.92 kB / 0.7512 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001248/0.9283, allocations: 101 kB / 0.7513 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007832/0.9291, allocations: 142.3 kB / 0.7514 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008828/0.93, allocations: 473.3 kB / 0.7519 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001764/0.9302, allocations: 160.9 kB / 0.752 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.648e-05/0.9303, allocations: 53.16 kB / 0.7521 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.9314, allocations: 0.8084 MB / 0.7529 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.9314, allocations: 7.156 kB / 0.7529 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.83e-05/0.9315, allocations: 29.16 kB / 0.7529 GB, free: 16.4 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.956e-05/0.9315, allocations: 37.05 kB / 0.753 GB, free: 16.4 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008647/0.9324, allocations: 0.6203 MB / 0.7536 GB, free: 16.4 MB / 0.5762 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.004403/0.9368, allocations: 3.895 MB / 0.7574 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004823/0.9373, allocations: 344 kB / 0.7577 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/0.9375, allocations: 159.8 kB / 0.7578 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.993e-05/0.9376, allocations: 11.53 kB / 0.7579 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.9376, allocations: 41.14 kB / 0.7579 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.184e-06/0.9376, allocations: 0 / 0.7579 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005142/0.9428, allocations: 1.617 MB / 0.7595 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.9429, allocations: 132.4 kB / 0.7596 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006757/0.9436, allocations: 0.6138 MB / 0.7602 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.623e-05/0.9436, allocations: 35.92 kB / 0.7602 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/0.9438, allocations: 376.9 kB / 0.7606 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.705e-05/0.9439, allocations: 147.6 kB / 0.7607 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/0.9441, allocations: 156.4 kB / 0.7609 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000198/0.9443, allocations: 378.6 kB / 0.7612 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003094/0.9446, allocations: 198.3 kB / 0.7614 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006283/0.9453, allocations: 0.5182 MB / 0.7619 GB, free: 12 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009175/0.9462, allocations: 0.7476 MB / 0.7627 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.9462, allocations: 5.906 kB / 0.7627 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001248/0.9474, allocations: 0.8798 MB / 0.7635 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.9475, allocations: 14.97 kB / 0.7635 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.9475, allocations: 8.438 kB / 0.7636 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001269/0.9487, allocations: 311.2 kB / 0.7639 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/0.9491, allocations: 122.3 kB / 0.764 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/0.9502, allocations: 0.9326 MB / 0.7649 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004998/0.9507, allocations: 29.67 kB / 0.7649 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.323e-05/0.9508, allocations: 65.12 kB / 0.765 GB, free: 11.02 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.0003848/0.9512, allocations: 251.6 kB / 0.7652 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.9513, allocations: 70.92 kB / 0.7653 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.9528, allocations: 0.8627 MB / 0.7661 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.9528, allocations: 3 kB / 0.7661 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.9528, allocations: 8.219 kB / 0.7661 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.9528, allocations: 7.766 kB / 0.7661 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.9548, allocations: 1.213 MB / 0.7673 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.9549, allocations: 1 kB / 0.7673 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000958/0.9558, allocations: 208.4 kB / 0.7675 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.489e-05/0.9559, allocations: 29 kB / 0.7676 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/0.9559, allocations: 20.56 kB / 0.7676 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002128/0.9581, allocations: 2.672 MB / 0.7702 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.9581, allocations: 7.406 kB / 0.7702 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.9592, allocations: 0.816 MB / 0.771 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003026/0.9595, allocations: 116.7 kB / 0.7711 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.9596, allocations: 9.094 kB / 0.7711 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003685/0.96, allocations: 18.78 kB / 0.7711 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.801e-05/0.9601, allocations: 44.12 kB / 0.7712 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.576e-05/0.9601, allocations: 42.64 kB / 0.7712 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004617/0.9606, allocations: 442.3 kB / 0.7716 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.9606, allocations: 0 / 0.7716 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008807/0.9615, allocations: 260.1 kB / 0.7719 GB, free: 7.52 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.002082/0.9636, allocations: 1.531 MB / 0.7734 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001122/0.9647, allocations: 0.5379 MB / 0.7739 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.9647, allocations: 5.281 kB / 0.7739 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009829/0.9657, allocations: 406.3 kB / 0.7743 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/0.9674, allocations: 369.7 kB / 0.7746 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008633/0.976, allocations: 6.338 MB / 0.7808 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005802/0.9766, allocations: 0.9391 MB / 0.7817 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001062/0.9777, allocations: 464 kB / 0.7822 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004381/0.9781, allocations: 279.6 kB / 0.7825 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of SimCode: time 1.092e-06/0.9781, allocations: 0 / 0.7825 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0688/1.047, allocations: 25.02 MB / 0.8069 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.32/15.36, allocations: 4.062 kB / 0.8069 GB, free: 6.566 MB / 0.5919 GB " [Timeout remaining time 645] (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: 18.479074855102226]