Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.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.001855/0.001855, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002291/0.002291, allocations: 209.7 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2273/0.2273, allocations: 44.94 MB / 358.8 MB, free: 6.051 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.003098/0.003098, allocations: 67.91 kB / 0.493 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3792, allocations: 65.47 MB / 0.557 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.1998/0.5791, allocations: 154.7 MB / 0.708 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008464/0.5875, allocations: 4.917 MB / 0.7128 GB, free: 7.379 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.5886, allocations: 27.75 kB / 0.7128 GB, free: 7.352 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001368/0.59, allocations: 314 kB / 0.7131 GB, free: 7.043 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004696/0.5947, allocations: 1.36 MB / 0.7145 GB, free: 5.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003056/0.5978, allocations: 1.063 MB / 0.7155 GB, free: 4.621 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002621/0.6004, allocations: 1.864 MB / 0.7173 GB, free: 2.75 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008578/0.6012, allocations: 393.6 kB / 0.7177 GB, free: 2.363 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002656/0.6039, allocations: 1.129 MB / 0.7188 GB, free: 1.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001642/0.6055, allocations: 0.7588 MB / 0.7195 GB, free: 480 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002/0.6057, allocations: 64 kB / 0.7196 GB, free: 416 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001431/0.6072, allocations: 0.5502 MB / 0.7201 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003711/0.6075, allocations: 275 kB / 0.7204 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005724/0.6081, allocations: 338.6 kB / 0.7207 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002082/0.6102, allocations: 1.3 MB / 0.722 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.6102, allocations: 0 / 0.722 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.714e-06/0.6102, allocations: 0 / 0.722 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.562e-05/0.6102, allocations: 0 / 0.722 GB, free: 13.95 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.002592/0.6128, allocations: 1.045 MB / 0.723 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.6129, allocations: 8.031 kB / 0.723 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001568/0.613, allocations: 102.5 kB / 0.7231 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008449/0.6139, allocations: 139.4 kB / 0.7233 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.615, allocations: 481.4 kB / 0.7237 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/0.6151, allocations: 159.8 kB / 0.7239 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.6152, allocations: 44 kB / 0.7239 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.6168, allocations: 1.136 MB / 0.725 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/0.6168, allocations: 7.938 kB / 0.725 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.723e-05/0.6169, allocations: 27.98 kB / 0.7251 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.105e-05/0.6169, allocations: 40.92 kB / 0.7251 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.6181, allocations: 0.6166 MB / 0.7257 GB, free: 9.914 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.004689/0.6228, allocations: 3.304 MB / 0.7289 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006175/0.6234, allocations: 343.5 kB / 0.7292 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002921/0.6237, allocations: 161.3 kB / 0.7294 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.494e-05/0.6237, allocations: 12.27 kB / 0.7294 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.6238, allocations: 38.84 kB / 0.7295 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.703e-06/0.6238, allocations: 0 / 0.7295 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005659/0.6294, allocations: 1.613 MB / 0.731 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.992e-05/0.6295, allocations: 132.5 kB / 0.7312 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007839/0.6303, allocations: 0.6327 MB / 0.7318 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.123e-05/0.6304, allocations: 37.64 kB / 0.7318 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003063/0.6307, allocations: 371.8 kB / 0.7322 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.6308, allocations: 150.7 kB / 0.7323 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002333/0.6311, allocations: 158.6 kB / 0.7325 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001965/0.6312, allocations: 374.8 kB / 0.7328 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003821/0.6316, allocations: 201.9 kB / 0.733 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007007/0.6323, allocations: 0.5917 MB / 0.7336 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.6334, allocations: 0.7563 MB / 0.7343 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.6334, allocations: 4 kB / 0.7343 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.2555/0.8889, allocations: 0.8655 MB / 0.7352 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.03e-05/0.889, allocations: 13.12 kB / 0.7352 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.158e-05/0.889, allocations: 13.03 kB / 0.7352 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001593/0.8906, allocations: 310.8 kB / 0.7355 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004955/0.8911, allocations: 129.8 kB / 0.7356 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.8923, allocations: 0.928 MB / 0.7365 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006026/0.8929, allocations: 25.27 kB / 0.7365 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/0.893, allocations: 69.08 kB / 0.7366 GB, free: 177.3 MB / 0.5606 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.0004374/0.8935, allocations: 249.2 kB / 0.7369 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.8936, allocations: 73.91 kB / 0.7369 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001757/0.8954, allocations: 0.8713 MB / 0.7378 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.8954, allocations: 3.969 kB / 0.7378 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.8954, allocations: 0 / 0.7378 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.8954, allocations: 1.969 kB / 0.7378 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.8972, allocations: 1.137 MB / 0.7389 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.8972, allocations: 3.312 kB / 0.7389 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009608/0.8982, allocations: 213.6 kB / 0.7391 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-05/0.8982, allocations: 22.45 kB / 0.7391 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.733e-05/0.8983, allocations: 21.88 kB / 0.7391 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001324/0.8996, allocations: 2.684 MB / 0.7418 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.8996, allocations: 3.906 kB / 0.7418 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.9006, allocations: 0.8166 MB / 0.7426 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002824/0.9009, allocations: 116.7 kB / 0.7427 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.406e-05/0.901, allocations: 16.95 kB / 0.7427 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003752/0.9014, allocations: 17.83 kB / 0.7427 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.743e-05/0.9015, allocations: 41.7 kB / 0.7427 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.535e-05/0.9015, allocations: 49.06 kB / 0.7428 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004252/0.902, allocations: 438.7 kB / 0.7432 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.902, allocations: 0 / 0.7432 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00082/0.9028, allocations: 253.8 kB / 0.7435 GB, free: 172.7 MB / 0.5606 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.001674/0.9045, allocations: 1.54 MB / 0.745 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001044/0.9055, allocations: 0.5299 MB / 0.7455 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.9055, allocations: 3.906 kB / 0.7455 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008597/0.9064, allocations: 411.6 kB / 0.7459 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/0.9079, allocations: 377 kB / 0.7462 GB, free: 170 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006549/0.9145, allocations: 6.337 MB / 0.7524 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.9147, allocations: 332.4 kB / 0.7527 GB, free: 163 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008979/0.9156, allocations: 470.7 kB / 0.7532 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004313/0.916, allocations: 283.3 kB / 0.7535 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.203e-06/0.916, allocations: 0 / 0.7535 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05276/0.9688, allocations: 25.64 MB / 0.7785 GB, free: 137 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/14.39, allocations: 3.75 kB / 0.7785 GB, free: 137 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 17.651263780891895]