Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01748/0.01748, allocations: 104.9 kB / 15.05 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.00162/0.00162, allocations: 167.2 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.82/1.82, allocations: 170.9 MB / 187.5 MB, free: 0.8555 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2639/0.2639, allocations: 38.09 MB / 265.1 MB, free: 3.93 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000471/0.0004711, allocations: 12 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09506/0.09557, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005751/0.1014, allocations: 3.413 MB / 375.7 MB, free: 9.402 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006218/0.1077, allocations: 3.461 MB / 379.2 MB, free: 5.934 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.1079, allocations: 0 / 379.2 MB, free: 5.934 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003182/0.1082, allocations: 47.77 kB / 379.2 MB, free: 5.887 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002376/0.1106, allocations: 0.6037 MB / 379.8 MB, free: 5.281 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005669/0.1112, allocations: 127.7 kB / 379.9 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006467/0.1119, allocations: 259.4 kB / 380.2 MB, free: 4.902 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.177e-05/0.112, allocations: 13.69 kB / 380.2 MB, free: 4.891 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002597/0.1122, allocations: 127.6 kB / 380.3 MB, free: 4.766 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003313/0.1126, allocations: 139.5 kB / 380.5 MB, free: 4.629 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.674e-05/0.1126, allocations: 4 kB / 380.5 MB, free: 4.625 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001563/0.1142, allocations: 383.5 kB / 380.8 MB, free: 4.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.988e-05/0.1143, allocations: 35.89 kB / 380.9 MB, free: 4.215 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.23e-05/0.1144, allocations: 65.58 kB / 380.9 MB, free: 4.145 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000849/0.1153, allocations: 291.6 kB / 381.2 MB, free: 3.859 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.1153, allocations: 0 / 381.2 MB, free: 3.859 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1153, allocations: 4 kB / 381.2 MB, free: 3.855 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.1153, allocations: 0 / 381.2 MB, free: 3.855 MB / 282.7 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.001563/0.1169, allocations: 0.5539 MB / 381.8 MB, free: 3.25 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.117, allocations: 12.03 kB / 381.8 MB, free: 3.238 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/0.1171, allocations: 58.55 kB / 381.9 MB, free: 3.172 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.1173, allocations: 35.66 kB / 381.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.1176, allocations: 214.8 kB / 382.1 MB, free: 2.887 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002095/0.1179, allocations: 131.3 kB / 382.2 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.932e-05/0.1179, allocations: 20 kB / 382.3 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008254/0.1188, allocations: 331.7 kB / 382.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.1188, allocations: 3.938 kB / 382.6 MB, free: 2.359 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.614e-05/0.1189, allocations: 12 kB / 382.6 MB, free: 2.348 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.008e-05/0.1189, allocations: 4 kB / 382.6 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.1202, allocations: 0.7469 MB / 383.3 MB, free: 1.598 MB / 282.7 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.002183/0.1224, allocations: 1.347 MB / 384.7 MB, free: 132 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005426/0.123, allocations: 155.8 kB / 384.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003789/0.1268, allocations: 2.864 MB / 387.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/0.1269, allocations: 38.56 kB / 387.7 MB, free: 12.53 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 2.234e-06/0.1269, allocations: 3.938 kB / 387.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004852/0.1274, allocations: 144.6 kB / 387.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.1275, allocations: 55.41 kB / 387.9 MB, free: 12.31 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.1277, allocations: 206.8 kB / 388.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.1278, allocations: 25.7 kB / 388.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.1279, allocations: 206.8 kB / 388.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.503e-05/0.128, allocations: 59.28 kB / 388.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.949e-05/0.1281, allocations: 12 kB / 388.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1282, allocations: 326.8 kB / 388.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.1283, allocations: 44.84 kB / 388.8 MB, free: 11.42 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003581/0.1287, allocations: 326 kB / 389.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.129, allocations: 99.8 kB / 389.2 MB, free: 10.87 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.607e-06/0.129, allocations: 4 kB / 389.2 MB, free: 10.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008462/0.1299, allocations: 365.3 kB / 389.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.1299, allocations: 8 kB / 389.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.23e-05/0.1299, allocations: 12 kB / 389.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.388e-05/0.13, allocations: 15.95 kB / 389.6 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005213/0.1305, allocations: 99.7 kB / 389.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-05/0.1306, allocations: 23.92 kB / 389.7 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004022/0.131, allocations: 55.97 kB / 389.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.319e-05/0.131, allocations: 31.98 kB / 389.8 MB, free: 10.26 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001945/0.1312, allocations: 150.3 kB / 390 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.368e-05/0.1313, allocations: 15.86 kB / 390 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005928/0.1319, allocations: 185.3 kB / 390.2 MB, free: 9.895 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.132, allocations: 8 kB / 390.2 MB, free: 9.887 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.132, allocations: 3.953 kB / 390.2 MB, free: 9.883 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.132, allocations: 3.984 kB / 390.2 MB, free: 9.879 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000819/0.1328, allocations: 441.7 kB / 390.6 MB, free: 9.379 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.1328, allocations: 0 / 390.6 MB, free: 9.379 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.133, allocations: 27.88 kB / 390.6 MB, free: 9.352 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.133, allocations: 4.062 kB / 390.6 MB, free: 9.348 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.1331, allocations: 12 kB / 390.7 MB, free: 9.336 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.1331, allocations: 0 / 390.7 MB, free: 9.336 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.1331, allocations: 4 kB / 390.7 MB, free: 9.332 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.1334, allocations: 269.5 kB / 390.9 MB, free: 9.016 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.1336, allocations: 112.7 kB / 391 MB, free: 8.887 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.523e-05/0.1336, allocations: 11.98 kB / 391 MB, free: 8.875 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003087/0.134, allocations: 8.062 kB / 391.1 MB, free: 8.867 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.134, allocations: 11.94 kB / 391.1 MB, free: 8.855 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.134, allocations: 12 kB / 391.1 MB, free: 8.844 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001763/0.1342, allocations: 148.5 kB / 391.2 MB, free: 8.699 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1342, allocations: 0 / 391.2 MB, free: 8.699 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007827/0.135, allocations: 103.9 kB / 391.3 MB, free: 8.598 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (12): * Single equations (assignments): 11 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001046/0.1361, allocations: 1.142 MB / 392.5 MB, free: 7.398 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005032/0.1366, allocations: 169.9 kB / 392.6 MB, free: 7.234 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.1366, allocations: 0 / 392.6 MB, free: 7.234 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.749e-05/0.1367, allocations: 40.12 kB / 392.7 MB, free: 7.195 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006273/0.1374, allocations: 54.06 kB / 392.7 MB, free: 7.145 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005046/0.1424, allocations: 7.801 MB / 400.5 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.1429, allocations: 0.7326 MB / 401.3 MB, free: 14.33 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004734/0.1434, allocations: 62.16 kB / 401.3 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.1435, allocations: 59.42 kB / 401.4 MB, free: 14.21 MB / 314.7 MB Notification: Performance of SimCode: time 1.733e-06/0.1435, allocations: 0 / 401.4 MB, free: 14.21 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02944/0.173, allocations: 5.12 MB / 406.5 MB, free: 9.203 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003366/0.1734, allocations: 185.7 kB / 406.7 MB, free: 8.965 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.49/2.663, allocations: 4 kB / 406.7 MB, free: 8.961 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat does not exist to compare? outputFormat=mat