Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.01129/0.01129, allocations: 106.7 kB / 15.06 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001283/0.001283, allocations: 181.4 kB / 15.95 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.084/2.084, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2915/0.2915, allocations: 40.03 MB / 296.5 MB, free: 6.297 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000482/0.0004821, allocations: 12 kB / 361.1 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1187, allocations: 54.87 MB / 416 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005948/0.1248, allocations: 3.441 MB / 419.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006522/0.1313, allocations: 3.465 MB / 422.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002056/0.1316, allocations: 4 kB / 422.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003137/0.1319, allocations: 39.78 kB / 423 MB, free: 11.6 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002534/0.1345, allocations: 0.5959 MB / 423.6 MB, free: 11 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006168/0.1351, allocations: 131.7 kB / 423.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007047/0.1358, allocations: 251.5 kB / 423.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.815e-05/0.1359, allocations: 13.67 kB / 423.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002879/0.1362, allocations: 131.6 kB / 424.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000337/0.1366, allocations: 127.6 kB / 424.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.901e-05/0.1366, allocations: 8 kB / 424.2 MB, free: 10.35 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001687/0.1383, allocations: 379.5 kB / 424.6 MB, free: 9.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.1385, allocations: 47.8 kB / 424.6 MB, free: 9.934 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.1386, allocations: 57.64 kB / 424.7 MB, free: 9.871 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009579/0.1396, allocations: 287.7 kB / 425 MB, free: 9.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1396, allocations: 0 / 425 MB, free: 9.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.45e-06/0.1396, allocations: 4 kB / 425 MB, free: 9.586 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.1397, allocations: 3.938 kB / 425 MB, free: 9.582 MB / 362.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.001622/0.1413, allocations: 0.5577 MB / 425.5 MB, free: 8.977 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.212e-05/0.1414, allocations: 12.03 kB / 425.5 MB, free: 8.965 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001126/0.1415, allocations: 58.53 kB / 425.6 MB, free: 8.898 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001939/0.1417, allocations: 31.81 kB / 425.6 MB, free: 8.867 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004046/0.1421, allocations: 226.7 kB / 425.8 MB, free: 8.605 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002085/0.1423, allocations: 119.4 kB / 426 MB, free: 8.461 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.971e-05/0.1424, allocations: 24 kB / 426 MB, free: 8.438 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000855/0.1433, allocations: 327.6 kB / 426.3 MB, free: 8.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.1433, allocations: 0 / 426.3 MB, free: 8.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.857e-05/0.1434, allocations: 15.94 kB / 426.3 MB, free: 8.074 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.991e-05/0.1434, allocations: 11.98 kB / 426.3 MB, free: 8.062 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.1448, allocations: 0.739 MB / 427.1 MB, free: 7.324 MB / 362.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.002303/0.1471, allocations: 1.355 MB / 428.4 MB, free: 5.848 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005234/0.1477, allocations: 163.7 kB / 428.6 MB, free: 5.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00398/0.1517, allocations: 2.856 MB / 431.4 MB, free: 2.293 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.1517, allocations: 34.56 kB / 431.5 MB, free: 2.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 4.739e-06/0.1518, allocations: 0 / 431.5 MB, free: 2.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005121/0.1523, allocations: 145.3 kB / 431.6 MB, free: 2.102 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.1523, allocations: 55.41 kB / 431.7 MB, free: 2.035 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.1526, allocations: 207.8 kB / 431.9 MB, free: 1.824 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.443e-05/0.1527, allocations: 33.69 kB / 431.9 MB, free: 1.785 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.1529, allocations: 202.9 kB / 432.1 MB, free: 1.582 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.974e-05/0.153, allocations: 59.25 kB / 432.2 MB, free: 1.523 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-05/0.153, allocations: 12 kB / 432.2 MB, free: 1.512 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1532, allocations: 326.8 kB / 432.5 MB, free: 1.184 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.1533, allocations: 52.83 kB / 432.5 MB, free: 1.133 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003767/0.1537, allocations: 322 kB / 432.9 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.154, allocations: 95.86 kB / 433 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.788e-05/0.154, allocations: 4 kB / 433 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009297/0.155, allocations: 373.2 kB / 433.3 MB, free: 220 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.155, allocations: 10.81 kB / 433.3 MB, free: 212 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/0.155, allocations: 12 kB / 433.3 MB, free: 200 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.226e-05/0.1551, allocations: 12 kB / 433.4 MB, free: 188 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005103/0.1556, allocations: 99.83 kB / 433.5 MB, free: 88 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.951e-05/0.1557, allocations: 16.5 kB / 433.5 MB, free: 72 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004006/0.1561, allocations: 51.53 kB / 433.5 MB, free: 20 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.019e-05/0.1562, allocations: 28.08 kB / 433.5 MB, free: 15.99 MB / 378.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.0002116/0.1564, allocations: 165.4 kB / 433.7 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.917e-05/0.1565, allocations: 15.81 kB / 433.7 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006171/0.1571, allocations: 185.2 kB / 433.9 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.969e-05/0.1571, allocations: 8 kB / 433.9 MB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1571, allocations: 0 / 433.9 MB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.1572, allocations: 0 / 433.9 MB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008303/0.158, allocations: 445.7 kB / 434.4 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.1581, allocations: 0 / 434.4 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.1582, allocations: 23.98 kB / 434.4 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-06/0.1583, allocations: 12.06 kB / 434.4 MB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.1583, allocations: 0 / 434.4 MB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-05/0.1583, allocations: 4 kB / 434.4 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.1583, allocations: 3.953 kB / 434.4 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003746/0.1587, allocations: 273.5 kB / 434.7 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.1589, allocations: 124.8 kB / 434.8 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.987e-05/0.1589, allocations: 0 / 434.8 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.1592, allocations: 8 kB / 434.8 MB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.1593, allocations: 7.984 kB / 434.8 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.1593, allocations: 12 kB / 434.8 MB, free: 14.56 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001841/0.1595, allocations: 144.5 kB / 435 MB, free: 14.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1595, allocations: 4 kB / 435 MB, free: 14.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008081/0.1603, allocations: 107.9 kB / 435.1 MB, free: 14.31 MB / 378.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.001103/0.1614, allocations: 1.154 MB / 436.2 MB, free: 13.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005623/0.162, allocations: 173.9 kB / 436.4 MB, free: 12.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.162, allocations: 256 / 436.4 MB, free: 12.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.39e-05/0.1621, allocations: 31.92 kB / 436.4 MB, free: 12.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006223/0.1628, allocations: 40.41 kB / 436.5 MB, free: 12.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005544/0.1683, allocations: 7.805 MB / 444.3 MB, free: 4.812 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.1688, allocations: 0.7326 MB / 445 MB, free: 4.055 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004714/0.1693, allocations: 58.23 kB / 445 MB, free: 4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.1694, allocations: 67.34 kB / 445.1 MB, free: 3.934 MB / 378.7 MB Notification: Performance of SimCode: time 1.513e-06/0.1694, allocations: 0 / 445.1 MB, free: 3.934 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.334/0.5034, allocations: 5.12 MB / 450.2 MB, free: 59.62 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/0.5036, allocations: 194 kB / 450.4 MB, free: 59.38 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.594/3.098, allocations: 0 / 450.4 MB, free: 59.38 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat does not exist to compare? outputFormat=mat