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.001464/0.001464, allocations: 105 kB / 16.4 MB, free: 6.52 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.001537/0.001537, allocations: 185.5 kB / 17.34 MB, free: 5.73 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.394/1.394, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2042/0.2042, allocations: 43.53 MB / 314.1 MB, free: 440 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.001289/0.001289, allocations: 77.45 kB / 441.3 MB, free: 6.082 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.11, allocations: 57.79 MB / 499.1 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006125/0.1162, allocations: 4.545 MB / 0.4919 GB, free: 7.652 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004359/0.1206, allocations: 4.018 MB / 0.4958 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.1207, allocations: 0 / 0.4958 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002874/0.1211, allocations: 55.59 kB / 0.4958 GB, free: 3.566 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00184/0.1229, allocations: 0.7227 MB / 0.4966 GB, free: 2.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.1233, allocations: 139.7 kB / 0.4967 GB, free: 2.703 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005757/0.1238, allocations: 374.1 kB / 0.497 GB, free: 2.336 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.524e-05/0.1239, allocations: 13.67 kB / 0.4971 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/0.1242, allocations: 139.5 kB / 0.4972 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002822/0.1244, allocations: 143.5 kB / 0.4973 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.743e-05/0.1245, allocations: 8 kB / 0.4973 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.1255, allocations: 431.5 kB / 0.4977 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.683e-05/0.1256, allocations: 51.73 kB / 0.4978 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.1258, allocations: 107.5 kB / 0.4979 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009844/0.1268, allocations: 466.5 kB / 0.4983 GB, free: 1.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1268, allocations: 0 / 0.4983 GB, free: 1.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.1268, allocations: 3.984 kB / 0.4983 GB, free: 1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.1268, allocations: 0 / 0.4983 GB, free: 1 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.00128/0.1281, allocations: 0.6039 MB / 0.4989 GB, free: 356 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.1281, allocations: 11.89 kB / 0.4989 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.836e-05/0.1282, allocations: 58.73 kB / 0.499 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.1284, allocations: 32.78 kB / 0.499 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.1288, allocations: 220.1 kB / 0.4992 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/0.1289, allocations: 135.9 kB / 0.4994 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/0.129, allocations: 28.12 kB / 0.4994 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000519/0.1295, allocations: 319.6 kB / 0.4997 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.1295, allocations: 7.984 kB / 0.4997 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.1296, allocations: 12 kB / 0.4997 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.446e-05/0.1296, allocations: 8 kB / 0.4997 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007723/0.1304, allocations: 0.7351 MB / 0.5005 GB, free: 14.69 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.001361/0.1317, allocations: 1.308 MB / 0.5017 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/0.1321, allocations: 179.5 kB / 0.5019 GB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.1322, allocations: 89.47 kB / 0.502 GB, free: 12.99 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002553/0.1348, allocations: 2.806 MB / 0.5047 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.1349, allocations: 30.56 kB / 0.5048 GB, free: 9.617 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.1349, allocations: 0 / 0.5048 GB, free: 9.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003003/0.1352, allocations: 125.4 kB / 0.5049 GB, free: 9.488 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.1352, allocations: 51.41 kB / 0.5049 GB, free: 9.426 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.1354, allocations: 231.9 kB / 0.5051 GB, free: 9.191 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.1355, allocations: 33.64 kB / 0.5052 GB, free: 9.152 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.1356, allocations: 223.4 kB / 0.5054 GB, free: 8.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.1357, allocations: 43.69 kB / 0.5054 GB, free: 8.887 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.465e-05/0.1358, allocations: 86.03 kB / 0.5055 GB, free: 8.797 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1359, allocations: 330.8 kB / 0.5058 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.719e-05/0.136, allocations: 44.84 kB / 0.5059 GB, free: 8.418 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.1363, allocations: 343.2 kB / 0.5062 GB, free: 7.938 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004152/0.1367, allocations: 448.5 kB / 0.5066 GB, free: 7.352 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.1367, allocations: 4 kB / 0.5066 GB, free: 7.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005197/0.1373, allocations: 385.6 kB / 0.507 GB, free: 6.965 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.1373, allocations: 8 kB / 0.507 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.1373, allocations: 12 kB / 0.507 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/0.1373, allocations: 19.94 kB / 0.507 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.1376, allocations: 95.83 kB / 0.5071 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/0.1376, allocations: 15.94 kB / 0.5071 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.1378, allocations: 59.56 kB / 0.5072 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-05/0.1379, allocations: 28 kB / 0.5072 GB, free: 6.73 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.0001366/0.138, allocations: 157.9 kB / 0.5074 GB, free: 6.566 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.1381, allocations: 15.91 kB / 0.5074 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.1383, allocations: 152.4 kB / 0.5075 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.1384, allocations: 4 kB / 0.5075 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1384, allocations: 0 / 0.5075 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1384, allocations: 3.984 kB / 0.5075 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004518/0.1388, allocations: 404.9 kB / 0.5079 GB, free: 5.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1389, allocations: 8 kB / 0.5079 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.423e-05/0.1389, allocations: 12 kB / 0.508 GB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1389, allocations: 4.094 kB / 0.508 GB, free: 5.895 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.139, allocations: 7.938 kB / 0.508 GB, free: 5.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.139, allocations: 7.984 kB / 0.508 GB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.139, allocations: 0 / 0.508 GB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.1392, allocations: 197.9 kB / 0.5082 GB, free: 5.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.088e-05/0.1393, allocations: 108.9 kB / 0.5083 GB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.1393, allocations: 4 kB / 0.5083 GB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.1394, allocations: 4 kB / 0.5083 GB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.767e-05/0.1395, allocations: 7.984 kB / 0.5083 GB, free: 5.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.1395, allocations: 7.984 kB / 0.5083 GB, free: 5.512 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001293/0.1396, allocations: 156.5 kB / 0.5084 GB, free: 5.359 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1396, allocations: 0 / 0.5084 GB, free: 5.359 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004805/0.1401, allocations: 91.88 kB / 0.5085 GB, free: 5.27 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.000621/0.1407, allocations: 0.8007 MB / 0.5093 GB, free: 4.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002785/0.141, allocations: 170.3 kB / 0.5095 GB, free: 4.266 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.141, allocations: 0 / 0.5095 GB, free: 4.266 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.113e-05/0.1411, allocations: 32.05 kB / 0.5095 GB, free: 4.234 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.1415, allocations: 36.41 kB / 0.5095 GB, free: 4.199 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003544/0.1451, allocations: 2.814 MB / 0.5123 GB, free: 1.008 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004391/0.1455, allocations: 0.7246 MB / 0.513 GB, free: 264 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001735/0.1457, allocations: 46.84 kB / 0.513 GB, free: 216 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.955e-05/0.1458, allocations: 63.41 kB / 0.5131 GB, free: 152 kB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1458, allocations: 7.875 kB / 0.5131 GB, free: 144 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.1695, allocations: 5.218 MB / 0.5182 GB, free: 10.92 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.492/7.662, allocations: 7.219 kB / 0.5182 GB, free: 10.91 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