Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",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.001336/0.001336, allocations: 111.4 kB / 16.41 MB, free: 6.445 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.001233/0.001233, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.439/1.439, allocations: 205.1 MB / 223.2 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2262/0.2262, allocations: 43.53 MB / 314.1 MB, free: 468 kB / 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.002179/0.002179, allocations: 67.89 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1252, allocations: 57.78 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.007618/0.1329, allocations: 4.976 MB / 0.4923 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00579/0.1387, allocations: 4.567 MB / 0.4968 GB, free: 2.699 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002092/0.1389, allocations: 0 / 0.4968 GB, free: 2.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000356/0.1394, allocations: 47.61 kB / 0.4968 GB, free: 2.652 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001907/0.1413, allocations: 0.6604 MB / 0.4974 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000423/0.1417, allocations: 159.7 kB / 0.4976 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006449/0.1424, allocations: 370.1 kB / 0.498 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.819e-05/0.1424, allocations: 13.69 kB / 0.498 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003028/0.1427, allocations: 151.4 kB / 0.4981 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000232/0.143, allocations: 131.4 kB / 0.4982 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.58e-05/0.143, allocations: 8 kB / 0.4982 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000935/0.144, allocations: 331.7 kB / 0.4986 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.856e-05/0.1441, allocations: 47.75 kB / 0.4986 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.1442, allocations: 107.5 kB / 0.4987 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009277/0.1452, allocations: 414.7 kB / 0.4991 GB, free: 296 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1452, allocations: 0 / 0.4991 GB, free: 296 kB / 382.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.1452, allocations: 4 kB / 0.4991 GB, free: 292 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1452, allocations: 3.938 kB / 0.4991 GB, free: 288 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.00111/0.1463, allocations: 0.5883 MB / 0.4997 GB, free: 15.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.1464, allocations: 11.89 kB / 0.4997 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.365e-05/0.1465, allocations: 62.72 kB / 0.4998 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/0.1466, allocations: 32.73 kB / 0.4998 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.147, allocations: 232.1 kB / 0.5 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/0.1472, allocations: 123.9 kB / 0.5001 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.1472, allocations: 24.11 kB / 0.5001 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006147/0.1478, allocations: 323.6 kB / 0.5005 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1479, allocations: 4 kB / 0.5005 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.933e-05/0.1479, allocations: 12 kB / 0.5005 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/0.1479, allocations: 8 kB / 0.5005 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.1489, allocations: 0.7352 MB / 0.5012 GB, free: 13.99 MB / 398.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.001437/0.1504, allocations: 1.257 MB / 0.5024 GB, free: 12.63 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.1507, allocations: 154.7 kB / 0.5026 GB, free: 12.47 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.1509, allocations: 72.83 kB / 0.5026 GB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002461/0.1533, allocations: 2.659 MB / 0.5052 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.1534, allocations: 38.56 kB / 0.5053 GB, free: 9.176 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.1534, allocations: 0 / 0.5053 GB, free: 9.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006487/0.154, allocations: 225 kB / 0.5055 GB, free: 8.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.1541, allocations: 51.41 kB / 0.5055 GB, free: 8.887 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.1543, allocations: 219.8 kB / 0.5057 GB, free: 8.664 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.1544, allocations: 29.7 kB / 0.5058 GB, free: 8.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.1545, allocations: 223.5 kB / 0.506 GB, free: 8.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.218e-05/0.1546, allocations: 47.64 kB / 0.506 GB, free: 8.359 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.861e-05/0.1547, allocations: 86.03 kB / 0.5061 GB, free: 8.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1548, allocations: 330.8 kB / 0.5064 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.746e-05/0.1549, allocations: 44.84 kB / 0.5065 GB, free: 7.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00042/0.1554, allocations: 322.1 kB / 0.5068 GB, free: 7.445 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004668/0.1558, allocations: 433.2 kB / 0.5072 GB, free: 6.887 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1558, allocations: 0 / 0.5072 GB, free: 6.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005477/0.1564, allocations: 369.9 kB / 0.5075 GB, free: 6.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.1564, allocations: 12.03 kB / 0.5076 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.1564, allocations: 12 kB / 0.5076 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.769e-05/0.1565, allocations: 19.92 kB / 0.5076 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.1568, allocations: 111.8 kB / 0.5077 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.994e-05/0.1568, allocations: 23.92 kB / 0.5077 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.157, allocations: 12 kB / 0.5077 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/0.1571, allocations: 31.94 kB / 0.5078 GB, free: 6.301 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001344/0.1572, allocations: 153.5 kB / 0.5079 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.018e-05/0.1573, allocations: 27.86 kB / 0.5079 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002948/0.1576, allocations: 147 kB / 0.5081 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.1576, allocations: 3.938 kB / 0.5081 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.1576, allocations: 15.92 kB / 0.5081 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.1576, allocations: 0 / 0.5081 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005648/0.1582, allocations: 428.3 kB / 0.5085 GB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1582, allocations: 3.938 kB / 0.5085 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.1584, allocations: 35.91 kB / 0.5085 GB, free: 5.422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1584, allocations: 0 / 0.5085 GB, free: 5.422 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.1584, allocations: 8 kB / 0.5085 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1584, allocations: 0 / 0.5085 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1584, allocations: 4.031 kB / 0.5086 GB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.1588, allocations: 212.4 kB / 0.5088 GB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.1589, allocations: 108.9 kB / 0.5089 GB, free: 5.059 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.1589, allocations: 7.953 kB / 0.5089 GB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.1591, allocations: 8 kB / 0.5089 GB, free: 5.043 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.447e-05/0.1591, allocations: 15.86 kB / 0.5089 GB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.1592, allocations: 11.98 kB / 0.5089 GB, free: 5.016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001352/0.1593, allocations: 148.5 kB / 0.509 GB, free: 4.871 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1593, allocations: 4 kB / 0.509 GB, free: 4.867 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004873/0.1598, allocations: 95.86 kB / 0.5091 GB, free: 4.773 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (14): * Single equations (assignments): 13 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008006/0.1606, allocations: 0.8185 MB / 0.5099 GB, free: 3.926 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003176/0.1609, allocations: 182 kB / 0.5101 GB, free: 3.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.161, allocations: 4.188 kB / 0.5101 GB, free: 3.746 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.951e-05/0.161, allocations: 39.92 kB / 0.5102 GB, free: 3.707 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.1615, allocations: 48.33 kB / 0.5102 GB, free: 3.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/0.1645, allocations: 2.723 MB / 0.5129 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.1649, allocations: 0.7245 MB / 0.5136 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000205/0.1651, allocations: 62.78 kB / 0.5136 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.989e-05/0.1652, allocations: 71.41 kB / 0.5137 GB, free: 15.7 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1652, allocations: 0 / 0.5137 GB, free: 15.7 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02625/0.1914, allocations: 5.57 MB / 0.5191 GB, free: 10.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.977/8.169, allocations: 12.67 kB / 0.5191 GB, free: 10.12 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches