Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 97.48 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 180.9 kB / 16.92 MB, free: 6.668 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.621/1.621, allocations: 205.4 MB / 223.1 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.41/0.41, allocations: 43.58 MB / 315 MB, free: 8.805 MB / 254.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.000526/0.0005262, allocations: 12 kB / 384.7 MB, free: 7.531 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1266, allocations: 58.86 MB / 443.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4544/0.581, allocations: 176.6 MB / 0.6056 GB, free: 10.35 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009256/0.5903, allocations: 5.849 MB / 0.6114 GB, free: 4.484 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.5915, allocations: 23.81 kB / 0.6114 GB, free: 4.461 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.5928, allocations: 274.5 kB / 0.6116 GB, free: 4.191 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005108/0.5979, allocations: 1.403 MB / 0.613 GB, free: 2.793 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004584/0.6025, allocations: 1.108 MB / 0.6141 GB, free: 1.699 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004153/0.6067, allocations: 2.71 MB / 0.6167 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001498/0.6082, allocations: 406.3 kB / 0.6171 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003999/0.6122, allocations: 1.097 MB / 0.6182 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002046/0.6143, allocations: 0.7705 MB / 0.6189 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002682/0.6146, allocations: 36 kB / 0.619 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002316/0.6169, allocations: 0.6942 MB / 0.6197 GB, free: 11.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005076/0.6174, allocations: 239.2 kB / 0.6199 GB, free: 11.75 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008578/0.6183, allocations: 391.9 kB / 0.6203 GB, free: 11.36 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002692/0.621, allocations: 1.379 MB / 0.6216 GB, free: 9.977 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.621, allocations: 4 kB / 0.6216 GB, free: 9.973 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.621, allocations: 0 / 0.6216 GB, free: 9.973 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.127e-05/0.6211, allocations: 0 / 0.6216 GB, free: 9.973 MB / 494.1 MB 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.002331/0.6234, allocations: 0.9776 MB / 0.6226 GB, free: 8.945 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.6234, allocations: 11.97 kB / 0.6226 GB, free: 8.934 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002024/0.6237, allocations: 102.5 kB / 0.6227 GB, free: 8.824 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008951/0.6246, allocations: 135.1 kB / 0.6228 GB, free: 8.691 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007964/0.6254, allocations: 0.504 MB / 0.6233 GB, free: 8.148 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.6255, allocations: 109.9 kB / 0.6234 GB, free: 8.027 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.68e-05/0.6256, allocations: 48 kB / 0.6234 GB, free: 7.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.6269, allocations: 0.8097 MB / 0.6242 GB, free: 7.098 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/0.6269, allocations: 7.922 kB / 0.6242 GB, free: 7.09 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.948e-05/0.627, allocations: 27.98 kB / 0.6243 GB, free: 7.062 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.395e-05/0.6271, allocations: 40.92 kB / 0.6243 GB, free: 7.023 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.6281, allocations: 0.6205 MB / 0.6249 GB, free: 6.402 MB / 494.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.004282/0.6324, allocations: 3.984 MB / 0.6288 GB, free: 2.172 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005484/0.6329, allocations: 359.5 kB / 0.6292 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.6332, allocations: 178.3 kB / 0.6293 GB, free: 1.637 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004372/0.6337, allocations: 361.5 kB / 0.6297 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.6337, allocations: 34.84 kB / 0.6297 GB, free: 1.188 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.004e-06/0.6337, allocations: 0 / 0.6297 GB, free: 1.188 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.2062/0.84, allocations: 1.67 MB / 0.6313 GB, free: 155.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.8401, allocations: 136.7 kB / 0.6315 GB, free: 155.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007175/0.8408, allocations: 0.611 MB / 0.6321 GB, free: 155.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.318e-05/0.8408, allocations: 39.45 kB / 0.6321 GB, free: 155.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.8411, allocations: 362.9 kB / 0.6324 GB, free: 155 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.556e-05/0.8411, allocations: 141.9 kB / 0.6326 GB, free: 155 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-05/0.8412, allocations: 66 kB / 0.6326 GB, free: 154.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.8413, allocations: 374.1 kB / 0.633 GB, free: 154.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003244/0.8417, allocations: 200.9 kB / 0.6332 GB, free: 154.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004201/0.8421, allocations: 0.5176 MB / 0.6337 GB, free: 154.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000783/0.8429, allocations: 0.7435 MB / 0.6344 GB, free: 153.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.8429, allocations: 2.594 kB / 0.6344 GB, free: 153.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001246/0.8442, allocations: 0.8823 MB / 0.6353 GB, free: 153.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.8442, allocations: 14.08 kB / 0.6353 GB, free: 153.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.8442, allocations: 8.656 kB / 0.6353 GB, free: 153.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001358/0.8456, allocations: 325 kB / 0.6356 GB, free: 153.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003591/0.8459, allocations: 122.4 kB / 0.6357 GB, free: 153.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009554/0.8469, allocations: 0.928 MB / 0.6366 GB, free: 153.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006069/0.8475, allocations: 45.44 kB / 0.6367 GB, free: 153.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.117e-05/0.8476, allocations: 67.38 kB / 0.6367 GB, free: 153.2 MB / 494.1 MB 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.0003663/0.848, allocations: 250.3 kB / 0.637 GB, free: 153.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.8481, allocations: 70.41 kB / 0.6371 GB, free: 153 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/0.8495, allocations: 0.6766 MB / 0.6377 GB, free: 152.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.8496, allocations: 10.92 kB / 0.6377 GB, free: 152.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.8496, allocations: 3.938 kB / 0.6377 GB, free: 152.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.8496, allocations: 3.328 kB / 0.6377 GB, free: 152.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/0.8517, allocations: 1.609 MB / 0.6393 GB, free: 152.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.8518, allocations: 2.906 kB / 0.6393 GB, free: 152.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/0.8529, allocations: 210.5 kB / 0.6395 GB, free: 152.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.242e-05/0.853, allocations: 23.3 kB / 0.6395 GB, free: 152.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.813e-05/0.853, allocations: 18.61 kB / 0.6395 GB, free: 152.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/0.8545, allocations: 2.691 MB / 0.6422 GB, free: 149.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.8545, allocations: 0 / 0.6422 GB, free: 149.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.8557, allocations: 0.8101 MB / 0.643 GB, free: 149.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002862/0.856, allocations: 196.7 kB / 0.6432 GB, free: 149.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.438e-05/0.8561, allocations: 10 kB / 0.6432 GB, free: 149.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004085/0.8565, allocations: 28.05 kB / 0.6432 GB, free: 149.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.69e-05/0.8566, allocations: 38.69 kB / 0.6432 GB, free: 149.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.865e-05/0.8567, allocations: 44.11 kB / 0.6433 GB, free: 149.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004783/0.8572, allocations: 437.4 kB / 0.6437 GB, free: 149.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8572, allocations: 0 / 0.6437 GB, free: 149.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001104/0.8583, allocations: 292.2 kB / 0.644 GB, free: 149.2 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.002153/0.8604, allocations: 1.607 MB / 0.6455 GB, free: 148.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.8616, allocations: 0.5376 MB / 0.6461 GB, free: 148.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.8616, allocations: 3.344 kB / 0.6461 GB, free: 148.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008678/0.8625, allocations: 421.9 kB / 0.6465 GB, free: 148.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/0.8643, allocations: 360 kB / 0.6468 GB, free: 148.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008016/0.8723, allocations: 6.805 MB / 0.6535 GB, free: 144 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.8727, allocations: 0.9337 MB / 0.6544 GB, free: 143.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001092/0.8738, allocations: 274 kB / 0.6546 GB, free: 143.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004516/0.8743, allocations: 279.2 kB / 0.6549 GB, free: 143 MB / 494.1 MB Notification: Performance of SimCode: time 8.11e-07/0.8743, allocations: 0 / 0.6549 GB, free: 143 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0635/0.9378, allocations: 24.2 MB / 0.6785 GB, free: 137.2 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001624/0.938, allocations: 294.5 kB / 0.6788 GB, free: 136.8 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.411/3.349, allocations: 3.938 kB / 0.6788 GB, free: 136.8 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches