Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.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) 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.Incompressible.Essotherm650,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650",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.001154/0.001154, allocations: 107.4 kB / 17.15 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 198 kB / 18.07 MB, free: 5.41 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.328/1.328, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.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.001003/0.001003, allocations: 44.14 kB / 280.1 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07973/0.08074, allocations: 46.64 MB / 326.7 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.02343/0.1042, allocations: 25.13 MB / 351.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002895/0.1071, allocations: 2.554 MB / 354.4 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.1073, allocations: 4 kB / 354.4 MB, free: 8.988 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004309/0.1078, allocations: 135.3 kB / 354.5 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004633/0.1082, allocations: 314.4 kB / 354.8 MB, free: 8.547 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002219/0.1105, allocations: 0.9278 MB / 355.8 MB, free: 7.617 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001428/0.1119, allocations: 1.351 MB / 357.1 MB, free: 6.262 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.1121, allocations: 76.67 kB / 357.2 MB, free: 6.191 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004761/0.1169, allocations: 3.375 MB / 360.6 MB, free: 2.809 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003991/0.1173, allocations: 294.8 kB / 360.9 MB, free: 2.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.089e-05/0.1173, allocations: 16 kB / 360.9 MB, free: 2.504 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005648/0.1179, allocations: 219.7 kB / 361.1 MB, free: 2.289 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.872e-05/0.118, allocations: 83.72 kB / 361.2 MB, free: 2.207 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.1182, allocations: 175.2 kB / 361.3 MB, free: 2.035 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005546/0.1188, allocations: 0.5686 MB / 361.9 MB, free: 1.465 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1188, allocations: 0 / 361.9 MB, free: 1.465 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.1188, allocations: 4 kB / 361.9 MB, free: 1.461 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1188, allocations: 0 / 361.9 MB, free: 1.461 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.000736/0.1195, allocations: 0.6199 MB / 362.5 MB, free: 0.793 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.1196, allocations: 8.031 kB / 362.5 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.766e-05/0.1196, allocations: 66.66 kB / 362.6 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003159/0.12, allocations: 52.55 kB / 362.7 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.1203, allocations: 295.6 kB / 362.9 MB, free: 340 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.1203, allocations: 24.94 kB / 363 MB, free: 316 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/0.1204, allocations: 32.3 kB / 363 MB, free: 284 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004556/0.1208, allocations: 330.2 kB / 363.3 MB, free: 15.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1208, allocations: 11.94 kB / 363.3 MB, free: 15.9 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.1209, allocations: 12 kB / 363.3 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1209, allocations: 4 kB / 363.4 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002802/0.1212, allocations: 193.5 kB / 363.5 MB, free: 15.7 MB / 318.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.001754/0.1229, allocations: 2.111 MB / 365.7 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.1232, allocations: 190.5 kB / 365.8 MB, free: 13.17 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.1233, allocations: 80.83 kB / 365.9 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001492/0.1235, allocations: 251.3 kB / 366.2 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.1235, allocations: 42.55 kB / 366.2 MB, free: 12.73 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.413e-06/0.1235, allocations: 0 / 366.2 MB, free: 12.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.002287/0.1258, allocations: 1.011 MB / 367.2 MB, free: 11.65 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.1259, allocations: 59.41 kB / 367.3 MB, free: 11.58 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.1261, allocations: 266.5 kB / 367.5 MB, free: 11.31 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.1262, allocations: 33.7 kB / 367.6 MB, free: 11.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.1263, allocations: 180.1 kB / 367.7 MB, free: 11.09 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.868e-05/0.1263, allocations: 110.5 kB / 367.9 MB, free: 10.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.214e-05/0.1264, allocations: 70.06 kB / 367.9 MB, free: 10.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.1265, allocations: 334.8 kB / 368.2 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.1267, allocations: 88.7 kB / 368.3 MB, free: 10.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.1269, allocations: 178.6 kB / 368.5 MB, free: 10.28 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003345/0.1272, allocations: 277.2 kB / 368.8 MB, free: 9.973 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1272, allocations: 0 / 368.8 MB, free: 9.973 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005401/0.1278, allocations: 385.8 kB / 369.2 MB, free: 9.586 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1278, allocations: 7.938 kB / 369.2 MB, free: 9.578 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1278, allocations: 4 kB / 369.2 MB, free: 9.574 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003745/0.1282, allocations: 92.78 kB / 369.3 MB, free: 9.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.1284, allocations: 67.91 kB / 369.3 MB, free: 9.414 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004672/0.1289, allocations: 0.6615 MB / 370 MB, free: 8.727 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.1291, allocations: 15.98 kB / 370 MB, free: 8.711 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.1291, allocations: 20 kB / 370 MB, free: 8.691 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (36): * Single equations (assignments): 35 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001422/0.1293, allocations: 153.7 kB / 370.2 MB, free: 8.531 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.56e-05/0.1293, allocations: 39.55 kB / 370.2 MB, free: 8.492 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005901/0.1299, allocations: 373.1 kB / 370.6 MB, free: 8.102 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.13, allocations: 4 kB / 370.6 MB, free: 8.098 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.13, allocations: 0 / 370.6 MB, free: 8.098 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004527/0.1304, allocations: 0.5514 MB / 371.1 MB, free: 7.457 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009309/0.1314, allocations: 0.74 MB / 371.9 MB, free: 6.652 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.1314, allocations: 0 / 371.9 MB, free: 6.652 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.1315, allocations: 35.97 kB / 371.9 MB, free: 6.617 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004415/0.132, allocations: 100.8 kB / 372 MB, free: 6.516 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.132, allocations: 11.98 kB / 372 MB, free: 6.504 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004341/0.1324, allocations: 0.6421 MB / 372.7 MB, free: 5.836 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1324, allocations: 3.938 kB / 372.7 MB, free: 5.832 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006636/0.1331, allocations: 497.6 kB / 373.1 MB, free: 5.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.601e-05/0.1332, allocations: 100.8 kB / 373.2 MB, free: 5.203 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.674e-05/0.1332, allocations: 8 kB / 373.3 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.1335, allocations: 11.94 kB / 373.3 MB, free: 5.184 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.1335, allocations: 15.97 kB / 373.3 MB, free: 5.168 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.1336, allocations: 19.98 kB / 373.3 MB, free: 5.148 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000164/0.1337, allocations: 194 kB / 373.5 MB, free: 4.961 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1337, allocations: 4 kB / 373.5 MB, free: 4.957 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000403/0.1341, allocations: 112 kB / 373.6 MB, free: 4.848 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (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 (18): * Single equations (assignments): 17 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001004/0.1352, allocations: 1.073 MB / 374.7 MB, free: 3.738 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004297/0.1356, allocations: 231.8 kB / 374.9 MB, free: 3.512 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1356, allocations: 0 / 374.9 MB, free: 3.512 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002443/0.1359, allocations: 124.5 kB / 375 MB, free: 3.391 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000912/0.1368, allocations: 164.6 kB / 375.2 MB, free: 3.23 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1279/0.2647, allocations: 3.202 MB / 378.4 MB, free: 56.55 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.2649, allocations: 0.7663 MB / 379.2 MB, free: 55.86 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004088/0.2654, allocations: 66.81 kB / 379.2 MB, free: 55.86 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.2655, allocations: 94.3 kB / 379.3 MB, free: 55.85 MB / 318.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2655, allocations: 0 / 379.3 MB, free: 55.85 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.2884, allocations: 9.728 MB / 389 MB, free: 53.03 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001648/0.2886, allocations: 259.5 kB / 389.3 MB, free: 52.73 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.875/2.163, allocations: 0 / 389.3 MB, free: 52.73 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Essotherm650/Essotherm650.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches