Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.066/2.066, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006487/0.0006488, allocations: 8 kB / 282.7 MB, free: 9.566 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3895, allocations: 48.7 MB / 331.4 MB, free: 6.539 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.166/1.555, allocations: 363.6 MB / 0.6787 GB, free: 124 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/1.556, allocations: 68.19 kB / 0.6787 GB, free: 124 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06555/1.621, allocations: 18.84 MB / 0.6971 GB, free: 108.4 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.775e-06/1.621, allocations: 0 / 0.6971 GB, free: 108.4 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/1.621, allocations: 0 / 0.6971 GB, free: 108.4 MB / 442.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.00134/1.623, allocations: 0.5842 MB / 0.6977 GB, free: 107.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/1.623, allocations: 8.031 kB / 0.6977 GB, free: 107.8 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.746e-05/1.623, allocations: 61.86 kB / 0.6978 GB, free: 107.7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001659/1.623, allocations: 31.7 kB / 0.6978 GB, free: 107.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/1.623, allocations: 222 kB / 0.698 GB, free: 107.4 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/1.623, allocations: 123.2 kB / 0.6981 GB, free: 107.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.72e-05/1.623, allocations: 23.69 kB / 0.6981 GB, free: 107.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006954/1.624, allocations: 326.5 kB / 0.6985 GB, free: 107 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/1.624, allocations: 4 kB / 0.6985 GB, free: 107 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.719e-05/1.624, allocations: 7.062 kB / 0.6985 GB, free: 107 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.644e-05/1.624, allocations: 8 kB / 0.6985 GB, free: 107 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/1.625, allocations: 0.7474 MB / 0.6992 GB, free: 106.4 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/1.627, allocations: 1.233 MB / 0.7004 GB, free: 105.2 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004176/1.627, allocations: 150.6 kB / 0.7006 GB, free: 105.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00281/1.63, allocations: 2.777 MB / 0.7033 GB, free: 101.9 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/1.63, allocations: 42.48 kB / 0.7033 GB, free: 101.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 2.405e-06/1.63, allocations: 0 / 0.7033 GB, free: 101.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004051/1.631, allocations: 127 kB / 0.7034 GB, free: 101.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/1.631, allocations: 55.41 kB / 0.7035 GB, free: 101.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/1.631, allocations: 190.5 kB / 0.7037 GB, free: 101.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/1.631, allocations: 29.52 kB / 0.7037 GB, free: 101.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/1.631, allocations: 284.2 kB / 0.704 GB, free: 101.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/1.631, allocations: 42.77 kB / 0.704 GB, free: 101.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.821e-05/1.631, allocations: 10.94 kB / 0.704 GB, free: 101.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.37e-05/1.631, allocations: 338 kB / 0.7043 GB, free: 100.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/1.631, allocations: 47.59 kB / 0.7044 GB, free: 100.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/1.632, allocations: 322.1 kB / 0.7047 GB, free: 100.4 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/1.632, allocations: 103.9 kB / 0.7048 GB, free: 100.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/1.632, allocations: 4 kB / 0.7048 GB, free: 100.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006825/1.632, allocations: 380.7 kB / 0.7052 GB, free: 99.96 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/1.633, allocations: 8 kB / 0.7052 GB, free: 99.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/1.633, allocations: 12.91 kB / 0.7052 GB, free: 99.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.092e-05/1.633, allocations: 12 kB / 0.7052 GB, free: 99.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004587/1.633, allocations: 103.4 kB / 0.7053 GB, free: 99.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.172e-05/1.633, allocations: 19.92 kB / 0.7053 GB, free: 99.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003692/1.633, allocations: 54.84 kB / 0.7054 GB, free: 99.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/1.634, allocations: 24 kB / 0.7054 GB, free: 99.75 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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.0001397/1.634, allocations: 164 kB / 0.7055 GB, free: 99.59 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.503e-05/1.634, allocations: 19.81 kB / 0.7056 GB, free: 99.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004344/1.634, allocations: 171 kB / 0.7057 GB, free: 99.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/1.634, allocations: 4 kB / 0.7057 GB, free: 99.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.634, allocations: 3.938 kB / 0.7057 GB, free: 99.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/1.634, allocations: 3.984 kB / 0.7057 GB, free: 99.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005486/1.635, allocations: 424.2 kB / 0.7061 GB, free: 98.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.635, allocations: 3.938 kB / 0.7061 GB, free: 98.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/1.635, allocations: 20.11 kB / 0.7062 GB, free: 98.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/1.635, allocations: 4 kB / 0.7062 GB, free: 98.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/1.635, allocations: 0 / 0.7062 GB, free: 98.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/1.635, allocations: 4 kB / 0.7062 GB, free: 98.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.635, allocations: 3.953 kB / 0.7062 GB, free: 98.93 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/1.635, allocations: 259 kB / 0.7064 GB, free: 98.64 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.66e-05/1.635, allocations: 116 kB / 0.7065 GB, free: 98.51 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.168e-05/1.635, allocations: 7.984 kB / 0.7065 GB, free: 98.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/1.636, allocations: 7.625 kB / 0.7065 GB, free: 98.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.657e-05/1.636, allocations: 15.92 kB / 0.7066 GB, free: 98.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/1.636, allocations: 4 kB / 0.7066 GB, free: 98.48 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001372/1.636, allocations: 150.3 kB / 0.7067 GB, free: 98.35 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.4e-07/1.636, allocations: 0 / 0.7067 GB, free: 98.35 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006898/1.637, allocations: 98.56 kB / 0.7068 GB, free: 98.27 MB / 442.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 (10): * Single equations (assignments): 9 * 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.000656/1.637, allocations: 1.124 MB / 0.7079 GB, free: 97.11 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003904/1.638, allocations: 171.6 kB / 0.7081 GB, free: 96.96 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.638, allocations: 0 / 0.7081 GB, free: 96.96 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.99e-05/1.638, allocations: 31.94 kB / 0.7081 GB, free: 96.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004852/1.638, allocations: 42.81 kB / 0.7081 GB, free: 96.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01815/1.656, allocations: 12.7 MB / 0.7205 GB, free: 85.07 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/1.657, allocations: 0.7326 MB / 0.7212 GB, free: 84.31 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/1.657, allocations: 61.36 kB / 0.7213 GB, free: 84.28 MB / 442.7 MB Notification: Performance of SimCode: time 1.312e-06/1.657, allocations: 0 / 0.7213 GB, free: 84.28 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.427/4.084, allocations: 4.02 MB / 0.7252 GB, free: 80.28 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat does not exist to compare? outputFormat=mat