Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.434/2.434, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.17e-05/3.177e-05, allocations: 7.938 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4118, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.662/9.074, allocations: 2.908 GB / 3.258 GB, free: 41.99 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/9.075, allocations: 71.39 kB / 3.258 GB, free: 41.95 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.051/10.13, allocations: 208.2 MB / 3.461 GB, free: 43.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.894e-06/10.13, allocations: 0 / 3.461 GB, free: 43.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.604e-05/10.13, allocations: 4 kB / 3.461 GB, free: 43.05 MB / 490.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.005556/10.13, allocations: 1.149 MB / 3.462 GB, free: 41.85 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/10.13, allocations: 8.031 kB / 3.462 GB, free: 41.84 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002109/10.13, allocations: 27.72 kB / 3.462 GB, free: 41.82 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/10.13, allocations: 222.8 kB / 3.462 GB, free: 41.56 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001609/10.13, allocations: 119.4 kB / 3.462 GB, free: 41.42 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/10.13, allocations: 19.95 kB / 3.462 GB, free: 41.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001008/10.13, allocations: 0.7113 MB / 3.463 GB, free: 40.69 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004716/10.13, allocations: 282.6 kB / 3.463 GB, free: 40.39 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/10.13, allocations: 0 / 3.463 GB, free: 40.39 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/10.13, allocations: 3.938 kB / 3.463 GB, free: 40.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.862e-05/10.13, allocations: 12 kB / 3.463 GB, free: 40.37 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003433/10.14, allocations: 3.504 MB / 3.467 GB, free: 36.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/10.14, allocations: 54.56 kB / 3.467 GB, free: 36.23 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.091e-05/10.14, allocations: 12.89 kB / 3.467 GB, free: 36.22 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00063/10.14, allocations: 442 kB / 3.467 GB, free: 35.74 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/10.14, allocations: 34.56 kB / 3.467 GB, free: 35.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 2.796e-06/10.14, allocations: 4 kB / 3.467 GB, free: 35.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002263/10.14, allocations: 61.64 kB / 3.467 GB, free: 35.63 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/10.14, allocations: 55.34 kB / 3.468 GB, free: 35.56 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/10.14, allocations: 217.8 kB / 3.468 GB, free: 35.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/10.14, allocations: 25.7 kB / 3.468 GB, free: 35.31 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/10.14, allocations: 316.6 kB / 3.468 GB, free: 35 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.26e-05/10.14, allocations: 15.89 kB / 3.468 GB, free: 34.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.279e-05/10.14, allocations: 4 kB / 3.468 GB, free: 34.98 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.936e-05/10.14, allocations: 322.9 kB / 3.468 GB, free: 34.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.315e-05/10.14, allocations: 32.88 kB / 3.468 GB, free: 34.62 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/10.14, allocations: 336.1 kB / 3.469 GB, free: 34.15 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005212/10.14, allocations: 115.8 kB / 3.469 GB, free: 34.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/10.14, allocations: 4 kB / 3.469 GB, free: 34.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009376/10.14, allocations: 341.5 kB / 3.469 GB, free: 33.69 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/10.14, allocations: 11.94 kB / 3.469 GB, free: 33.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/10.14, allocations: 12 kB / 3.469 GB, free: 33.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.306e-05/10.14, allocations: 16 kB / 3.469 GB, free: 33.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004461/10.14, allocations: 99.83 kB / 3.469 GB, free: 33.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.827e-05/10.14, allocations: 24.44 kB / 3.469 GB, free: 33.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004457/10.14, allocations: 51.44 kB / 3.469 GB, free: 33.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-05/10.14, allocations: 24 kB / 3.469 GB, free: 33.46 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 9.906e-05/10.14, allocations: 134.7 kB / 3.47 GB, free: 33.32 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001239/10.14, allocations: 53.5 kB / 3.47 GB, free: 33.26 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.646e-05/10.14, allocations: 15.81 kB / 3.47 GB, free: 33.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.393e-05/10.14, allocations: 25.12 kB / 3.47 GB, free: 33.22 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/10.14, allocations: 3.984 kB / 3.47 GB, free: 33.21 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/10.14, allocations: 0 / 3.47 GB, free: 33.21 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/10.14, allocations: 4.031 kB / 3.47 GB, free: 33.21 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/10.14, allocations: 174.1 kB / 3.47 GB, free: 33.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/10.14, allocations: 7.938 kB / 3.47 GB, free: 33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.194e-06/10.14, allocations: 4 kB / 3.47 GB, free: 33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/10.14, allocations: 0 / 3.47 GB, free: 33 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-06/10.14, allocations: 0 / 3.47 GB, free: 33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/10.14, allocations: 3.984 kB / 3.47 GB, free: 32.99 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-06/10.14, allocations: 3.953 kB / 3.47 GB, free: 32.99 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/10.14, allocations: 155.2 kB / 3.47 GB, free: 32.82 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.54e-05/10.14, allocations: 108.9 kB / 3.47 GB, free: 32.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.041e-05/10.14, allocations: 3.984 kB / 3.47 GB, free: 32.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/10.14, allocations: 4 kB / 3.47 GB, free: 32.69 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.343e-05/10.14, allocations: 0 / 3.47 GB, free: 32.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/10.14, allocations: 3.953 kB / 3.47 GB, free: 32.68 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000131/10.14, allocations: 150 kB / 3.47 GB, free: 32.54 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.01e-07/10.14, allocations: 0 / 3.47 GB, free: 32.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008167/10.14, allocations: 95.94 kB / 3.47 GB, free: 32.45 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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.0007007/10.14, allocations: 0.8899 MB / 3.471 GB, free: 31.56 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002979/10.14, allocations: 126.6 kB / 3.471 GB, free: 31.44 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/10.14, allocations: 0 / 3.471 GB, free: 31.44 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.098e-05/10.14, allocations: 8.125 kB / 3.471 GB, free: 31.43 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/10.15, allocations: 16.56 kB / 3.471 GB, free: 31.42 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6664/10.81, allocations: 95.68 MB / 3.565 GB, free: 94.43 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/10.81, allocations: 0.7196 MB / 3.565 GB, free: 93.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/10.81, allocations: 61.66 kB / 3.566 GB, free: 93.72 MB / 490.7 MB Notification: Performance of SimCode: time 1.052e-06/10.81, allocations: 0 / 3.566 GB, free: 93.72 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.402/13.21, allocations: 4.757 MB / 3.57 GB, free: 93.34 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat does not exist to compare? outputFormat=mat