Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater",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.001244/0.001244, allocations: 107.7 kB / 16.41 MB, free: 6.453 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.001266/0.001267, allocations: 189.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.458/1.458, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2239/0.2239, allocations: 43.53 MB / 314.1 MB, free: 460 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.002068/0.002068, allocations: 79.88 kB / 441.4 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1231, allocations: 57.78 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006706/0.1299, allocations: 4.537 MB / 0.4919 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00524/0.1352, allocations: 4.018 MB / 0.4958 GB, free: 3.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000167/0.1354, allocations: 0 / 0.4958 GB, free: 3.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003721/0.1358, allocations: 55.59 kB / 0.4958 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0022/0.138, allocations: 0.7227 MB / 0.4966 GB, free: 2.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.1384, allocations: 139.7 kB / 0.4967 GB, free: 2.762 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005652/0.139, allocations: 374.2 kB / 0.497 GB, free: 2.395 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.343e-05/0.139, allocations: 9.688 kB / 0.497 GB, free: 2.387 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.1392, allocations: 143.4 kB / 0.4972 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002466/0.1395, allocations: 143.5 kB / 0.4973 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.18e-05/0.1395, allocations: 8 kB / 0.4973 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009814/0.1405, allocations: 427.5 kB / 0.4977 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.831e-05/0.1406, allocations: 51.75 kB / 0.4978 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.1407, allocations: 107.5 kB / 0.4979 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008037/0.1416, allocations: 466.6 kB / 0.4983 GB, free: 1.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1416, allocations: 3.938 kB / 0.4983 GB, free: 1.062 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1416, allocations: 0 / 0.4983 GB, free: 1.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.1416, allocations: 0 / 0.4983 GB, free: 1.062 MB / 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.001268/0.1429, allocations: 0.6111 MB / 0.4989 GB, free: 416 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.1429, allocations: 11.89 kB / 0.4989 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.75e-05/0.143, allocations: 58.73 kB / 0.499 GB, free: 336 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.1432, allocations: 32.78 kB / 0.499 GB, free: 304 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.1435, allocations: 220.1 kB / 0.4992 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001813/0.1437, allocations: 127.9 kB / 0.4994 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.1437, allocations: 28.11 kB / 0.4994 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005409/0.1443, allocations: 319.6 kB / 0.4997 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.1443, allocations: 4 kB / 0.4997 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.1444, allocations: 16 kB / 0.4997 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.1444, allocations: 8 kB / 0.4997 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008815/0.1453, allocations: 0.739 MB / 0.5004 GB, free: 14.75 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.00152/0.1468, allocations: 1.308 MB / 0.5017 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/0.1472, allocations: 183.6 kB / 0.5019 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.1473, allocations: 81.48 kB / 0.502 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002804/0.1501, allocations: 2.802 MB / 0.5047 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.1502, allocations: 38.5 kB / 0.5047 GB, free: 9.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.693e-06/0.1502, allocations: 0 / 0.5047 GB, free: 9.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003373/0.1506, allocations: 125.7 kB / 0.5049 GB, free: 9.551 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.1506, allocations: 51.41 kB / 0.5049 GB, free: 9.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.1509, allocations: 231.9 kB / 0.5051 GB, free: 9.254 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.1509, allocations: 25.7 kB / 0.5052 GB, free: 9.223 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.1511, allocations: 227.4 kB / 0.5054 GB, free: 8.996 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4e-05/0.1511, allocations: 43.67 kB / 0.5054 GB, free: 8.953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.1512, allocations: 82.05 kB / 0.5055 GB, free: 8.867 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.1514, allocations: 330.8 kB / 0.5058 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.277e-05/0.1515, allocations: 44.84 kB / 0.5059 GB, free: 8.488 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000374/0.1519, allocations: 343.2 kB / 0.5062 GB, free: 8.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005411/0.1524, allocations: 448.6 kB / 0.5066 GB, free: 7.422 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.1524, allocations: 4 kB / 0.5066 GB, free: 7.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005908/0.153, allocations: 377.6 kB / 0.507 GB, free: 7.043 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.1531, allocations: 8 kB / 0.507 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/0.1531, allocations: 12 kB / 0.507 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.042e-05/0.1531, allocations: 23.88 kB / 0.507 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.1534, allocations: 99.83 kB / 0.5071 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.36e-05/0.1534, allocations: 19.92 kB / 0.5071 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.1536, allocations: 55.56 kB / 0.5072 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/0.1537, allocations: 32.33 kB / 0.5072 GB, free: 6.797 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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.0001381/0.1538, allocations: 149.7 kB / 0.5074 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/0.1539, allocations: 15.95 kB / 0.5074 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002916/0.1542, allocations: 168.4 kB / 0.5075 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.1542, allocations: 4 kB / 0.5075 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.1542, allocations: 0 / 0.5075 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1542, allocations: 0 / 0.5075 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004929/0.1547, allocations: 408.8 kB / 0.5079 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.1547, allocations: 0 / 0.5079 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.704e-05/0.1548, allocations: 19.92 kB / 0.5079 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.1548, allocations: 4.094 kB / 0.508 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.1548, allocations: 4.062 kB / 0.508 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.1548, allocations: 7.938 kB / 0.508 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1549, allocations: 0 / 0.508 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.1551, allocations: 197.9 kB / 0.5082 GB, free: 5.723 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.682e-05/0.1552, allocations: 108.9 kB / 0.5083 GB, free: 5.598 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.1552, allocations: 8 kB / 0.5083 GB, free: 5.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.1554, allocations: 3.984 kB / 0.5083 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.1554, allocations: 4 kB / 0.5083 GB, free: 5.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.1554, allocations: 8 kB / 0.5083 GB, free: 5.574 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000144/0.1556, allocations: 152.5 kB / 0.5084 GB, free: 5.426 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1556, allocations: 192 / 0.5084 GB, free: 5.426 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004924/0.1561, allocations: 103.8 kB / 0.5085 GB, free: 5.324 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.0007097/0.1568, allocations: 0.7927 MB / 0.5093 GB, free: 4.492 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002979/0.1571, allocations: 170.1 kB / 0.5095 GB, free: 4.328 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1571, allocations: 0 / 0.5095 GB, free: 4.328 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.964e-05/0.1572, allocations: 28.19 kB / 0.5095 GB, free: 4.301 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/0.1576, allocations: 40.41 kB / 0.5095 GB, free: 4.262 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003357/0.161, allocations: 2.818 MB / 0.5123 GB, free: 1.066 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.1614, allocations: 0.7283 MB / 0.513 GB, free: 320 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001817/0.1615, allocations: 54.92 kB / 0.513 GB, free: 264 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.908e-05/0.1616, allocations: 63.41 kB / 0.5131 GB, free: 200 kB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1616, allocations: 0 / 0.5131 GB, free: 200 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/0.191, allocations: 5.216 MB / 0.5182 GB, free: 10.97 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.03/8.221, allocations: 3.938 kB / 0.5182 GB, free: 10.96 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_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_LinearColdWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches