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.001117/0.001122, allocations: 104 kB / 16.4 MB, free: 6.449 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.001119/0.001119, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.479/1.479, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2149/0.2149, allocations: 43.52 MB / 314.1 MB, free: 448 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.001407/0.001407, allocations: 65.47 kB / 441.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1302, allocations: 57.79 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.007588/0.1379, allocations: 4.537 MB / 0.4919 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004971/0.1429, allocations: 4.018 MB / 0.4958 GB, free: 3.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001907/0.1431, allocations: 0 / 0.4958 GB, free: 3.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003475/0.1435, allocations: 55.59 kB / 0.4958 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002169/0.1457, allocations: 0.7266 MB / 0.4965 GB, free: 2.875 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003518/0.146, allocations: 135.7 kB / 0.4967 GB, free: 2.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006195/0.1467, allocations: 382.1 kB / 0.497 GB, free: 2.367 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.783e-05/0.1467, allocations: 9.969 kB / 0.4971 GB, free: 2.359 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002543/0.147, allocations: 143.4 kB / 0.4972 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002995/0.1473, allocations: 147.5 kB / 0.4973 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.393e-05/0.1474, allocations: 8 kB / 0.4973 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.1484, allocations: 419.5 kB / 0.4977 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.114e-05/0.1485, allocations: 51.75 kB / 0.4978 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.1486, allocations: 103.6 kB / 0.4979 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.1497, allocations: 470.8 kB / 0.4983 GB, free: 1.043 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.1497, allocations: 3.938 kB / 0.4983 GB, free: 1.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1497, allocations: 0 / 0.4983 GB, free: 1.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.1498, allocations: 0 / 0.4983 GB, free: 1.039 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.001363/0.1511, allocations: 0.6008 MB / 0.4989 GB, free: 400 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.1512, allocations: 11.89 kB / 0.4989 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.355e-05/0.1513, allocations: 62.72 kB / 0.499 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.1515, allocations: 28.66 kB / 0.499 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004133/0.1519, allocations: 224.1 kB / 0.4992 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001725/0.1521, allocations: 127.9 kB / 0.4994 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.45e-05/0.1521, allocations: 28.12 kB / 0.4994 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005405/0.1527, allocations: 319.6 kB / 0.4997 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.1527, allocations: 0 / 0.4997 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/0.1527, allocations: 19.98 kB / 0.4997 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.1527, allocations: 4 kB / 0.4997 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007863/0.1535, allocations: 0.7352 MB / 0.5004 GB, free: 14.74 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.001419/0.155, allocations: 1.3 MB / 0.5017 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003573/0.1553, allocations: 171.7 kB / 0.5019 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.1555, allocations: 85.48 kB / 0.5019 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002527/0.158, allocations: 2.817 MB / 0.5047 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.158, allocations: 34.55 kB / 0.5047 GB, free: 9.672 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.813e-06/0.1581, allocations: 0 / 0.5047 GB, free: 9.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003185/0.1584, allocations: 117.4 kB / 0.5048 GB, free: 9.551 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.1584, allocations: 55.34 kB / 0.5049 GB, free: 9.484 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.1587, allocations: 227.8 kB / 0.5051 GB, free: 9.254 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.1587, allocations: 25.7 kB / 0.5051 GB, free: 9.223 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.1589, allocations: 222.6 kB / 0.5053 GB, free: 9 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.1589, allocations: 47.44 kB / 0.5054 GB, free: 8.953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.159, allocations: 81.94 kB / 0.5055 GB, free: 8.867 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1592, allocations: 326.8 kB / 0.5058 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.1593, allocations: 48.84 kB / 0.5058 GB, free: 8.488 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002927/0.1596, allocations: 347.2 kB / 0.5062 GB, free: 8.004 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005007/0.1601, allocations: 444.6 kB / 0.5066 GB, free: 7.422 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.1601, allocations: 4 kB / 0.5066 GB, free: 7.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006149/0.1607, allocations: 381.5 kB / 0.507 GB, free: 7.039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.1608, allocations: 12 kB / 0.507 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.1608, allocations: 8 kB / 0.507 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.911e-05/0.1608, allocations: 19.94 kB / 0.507 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.1611, allocations: 99.77 kB / 0.5071 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.062e-05/0.1611, allocations: 19.94 kB / 0.5071 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.1613, allocations: 47.53 kB / 0.5072 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.1614, allocations: 35.97 kB / 0.5072 GB, free: 6.801 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.0001299/0.1615, allocations: 157.9 kB / 0.5073 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.388e-05/0.1616, allocations: 19.72 kB / 0.5074 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000299/0.1619, allocations: 148.4 kB / 0.5075 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.1619, allocations: 4 kB / 0.5075 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1619, allocations: 0 / 0.5075 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1619, allocations: 0 / 0.5075 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000506/0.1624, allocations: 412.8 kB / 0.5079 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.1625, allocations: 0 / 0.5079 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.145e-05/0.1625, allocations: 19.92 kB / 0.5079 GB, free: 5.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1625, allocations: 4.094 kB / 0.5079 GB, free: 5.961 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1626, allocations: 4 kB / 0.5079 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.1626, allocations: 0 / 0.5079 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1626, allocations: 0 / 0.5079 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.1628, allocations: 201.8 kB / 0.5081 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.289e-05/0.1629, allocations: 100.9 kB / 0.5082 GB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/0.1629, allocations: 7.906 kB / 0.5082 GB, free: 5.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.1631, allocations: 7.984 kB / 0.5082 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.1631, allocations: 15.97 kB / 0.5082 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.1631, allocations: 0 / 0.5082 GB, free: 5.586 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001339/0.1633, allocations: 160.5 kB / 0.5084 GB, free: 5.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1633, allocations: 0 / 0.5084 GB, free: 5.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005205/0.1638, allocations: 91.92 kB / 0.5085 GB, free: 5.34 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.0006658/0.1645, allocations: 0.7929 MB / 0.5093 GB, free: 4.508 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003101/0.1648, allocations: 174.2 kB / 0.5094 GB, free: 4.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.1648, allocations: 4 kB / 0.5094 GB, free: 4.336 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.859e-05/0.1649, allocations: 20.06 kB / 0.5094 GB, free: 4.316 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/0.1653, allocations: 48.2 kB / 0.5095 GB, free: 4.273 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003394/0.1687, allocations: 2.814 MB / 0.5122 GB, free: 1.082 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.1691, allocations: 0.7283 MB / 0.5129 GB, free: 336 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002009/0.1693, allocations: 58.91 kB / 0.513 GB, free: 276 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.153e-05/0.1694, allocations: 59.42 kB / 0.5131 GB, free: 216 kB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1694, allocations: 0 / 0.5131 GB, free: 216 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.194, allocations: 5.271 MB / 0.5182 GB, free: 10.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.747/7.941, allocations: 4.062 kB / 0.5182 GB, free: 10.93 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 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.mat","/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