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.001258/0.001258, allocations: 109.9 kB / 16.41 MB, free: 6.496 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.001239/0.001239, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.429/1.429, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2202/0.2202, allocations: 43.52 MB / 314.1 MB, free: 472 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.001974/0.001974, allocations: 72.45 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1043, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006772/0.1111, allocations: 4.965 MB / 0.4923 GB, free: 7.273 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005177/0.1163, allocations: 4.559 MB / 0.4967 GB, free: 2.699 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.1165, allocations: 0 / 0.4967 GB, free: 2.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003022/0.1168, allocations: 55.59 kB / 0.4968 GB, free: 2.645 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001731/0.1186, allocations: 0.6526 MB / 0.4974 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003983/0.119, allocations: 167.7 kB / 0.4976 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005758/0.1196, allocations: 374 kB / 0.4979 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.785e-05/0.1196, allocations: 9.688 kB / 0.498 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002484/0.1199, allocations: 155.5 kB / 0.4981 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.1201, allocations: 127.5 kB / 0.4982 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.138e-05/0.1201, allocations: 8 kB / 0.4982 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008453/0.121, allocations: 335.6 kB / 0.4986 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.766e-05/0.1211, allocations: 47.77 kB / 0.4986 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.1212, allocations: 107.5 kB / 0.4987 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007169/0.1219, allocations: 418.7 kB / 0.4991 GB, free: 280 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.122, allocations: 0 / 0.4991 GB, free: 280 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.122, allocations: 0 / 0.4991 GB, free: 280 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.122, allocations: 3.938 kB / 0.4991 GB, free: 276 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.00106/0.123, allocations: 0.5883 MB / 0.4997 GB, free: 15.63 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.1231, allocations: 11.89 kB / 0.4997 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.523e-05/0.1232, allocations: 58.73 kB / 0.4997 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.1233, allocations: 36.72 kB / 0.4998 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.1237, allocations: 232 kB / 0.5 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.1238, allocations: 127.9 kB / 0.5001 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.1238, allocations: 24.12 kB / 0.5001 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005191/0.1244, allocations: 327.6 kB / 0.5005 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1244, allocations: 0 / 0.5005 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.1244, allocations: 12 kB / 0.5005 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.413e-05/0.1245, allocations: 8 kB / 0.5005 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008618/0.1253, allocations: 0.739 MB / 0.5012 GB, free: 13.97 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.001329/0.1267, allocations: 1.253 MB / 0.5024 GB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003349/0.127, allocations: 150.8 kB / 0.5026 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.1271, allocations: 76.83 kB / 0.5026 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002544/0.1297, allocations: 2.647 MB / 0.5052 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.1297, allocations: 42.56 kB / 0.5053 GB, free: 9.168 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 2.104e-06/0.1298, allocations: 0 / 0.5053 GB, free: 9.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006994/0.1305, allocations: 225 kB / 0.5055 GB, free: 8.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.1305, allocations: 55.41 kB / 0.5055 GB, free: 8.875 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.1308, allocations: 215.8 kB / 0.5057 GB, free: 8.656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.1308, allocations: 33.69 kB / 0.5058 GB, free: 8.617 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.131, allocations: 215.5 kB / 0.506 GB, free: 8.402 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.994e-05/0.131, allocations: 55.61 kB / 0.506 GB, free: 8.348 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.1312, allocations: 86.03 kB / 0.5061 GB, free: 8.258 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.1314, allocations: 326.8 kB / 0.5064 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.606e-05/0.1315, allocations: 48.84 kB / 0.5065 GB, free: 7.879 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.1318, allocations: 326.1 kB / 0.5068 GB, free: 7.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000468/0.1323, allocations: 429.1 kB / 0.5072 GB, free: 6.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1323, allocations: 0 / 0.5072 GB, free: 6.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005635/0.1328, allocations: 373.3 kB / 0.5075 GB, free: 6.504 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.1329, allocations: 11.94 kB / 0.5076 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.1329, allocations: 12 kB / 0.5076 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.908e-05/0.1329, allocations: 15.94 kB / 0.5076 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.1333, allocations: 108.4 kB / 0.5077 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.711e-05/0.1333, allocations: 23.92 kB / 0.5077 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.1335, allocations: 16 kB / 0.5077 GB, free: 6.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/0.1336, allocations: 35.92 kB / 0.5078 GB, free: 6.285 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.0001357/0.1337, allocations: 153.5 kB / 0.5079 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.662e-05/0.1338, allocations: 23.86 kB / 0.5079 GB, free: 6.102 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003264/0.1341, allocations: 150.9 kB / 0.5081 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.1341, allocations: 3.938 kB / 0.5081 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1341, allocations: 4 kB / 0.5081 GB, free: 5.934 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1342, allocations: 0 / 0.5081 GB, free: 5.934 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006256/0.1348, allocations: 440.3 kB / 0.5085 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.1348, allocations: 3.969 kB / 0.5085 GB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.135, allocations: 31.98 kB / 0.5085 GB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.135, allocations: 0 / 0.5085 GB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.135, allocations: 8 kB / 0.5085 GB, free: 5.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.135, allocations: 3.984 kB / 0.5085 GB, free: 5.398 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.135, allocations: 0 / 0.5085 GB, free: 5.398 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.1353, allocations: 220.3 kB / 0.5088 GB, free: 5.164 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.68e-05/0.1354, allocations: 104.9 kB / 0.5089 GB, free: 5.043 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.1354, allocations: 11.95 kB / 0.5089 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.1356, allocations: 7.984 kB / 0.5089 GB, free: 5.023 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.1357, allocations: 7.984 kB / 0.5089 GB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.1357, allocations: 8 kB / 0.5089 GB, free: 5.008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001354/0.1358, allocations: 152.5 kB / 0.509 GB, free: 4.859 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1359, allocations: 0 / 0.509 GB, free: 4.859 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004844/0.1363, allocations: 95.88 kB / 0.5091 GB, free: 4.766 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.0007232/0.1371, allocations: 0.8301 MB / 0.5099 GB, free: 3.906 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003312/0.1374, allocations: 180.8 kB / 0.5101 GB, free: 3.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1374, allocations: 0 / 0.5101 GB, free: 3.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.071e-05/0.1375, allocations: 35.92 kB / 0.5101 GB, free: 3.695 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.1379, allocations: 57.2 kB / 0.5102 GB, free: 3.645 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003035/0.141, allocations: 2.712 MB / 0.5128 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.1414, allocations: 0.7285 MB / 0.5136 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002419/0.1416, allocations: 62.77 kB / 0.5136 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.1417, allocations: 63.42 kB / 0.5137 GB, free: 15.7 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1417, allocations: 0 / 0.5137 GB, free: 15.7 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.1697, allocations: 5.581 MB / 0.5191 GB, free: 10.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.02/8.189, allocations: 12.98 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 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.csv","/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