Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.607/2.607, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.758e-05/1.768e-05, allocations: 0 / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3607, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.11/11.47, allocations: 3.667 GB / 4.017 GB, free: 104.5 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/11.47, allocations: 96.94 kB / 4.017 GB, free: 104.5 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.317/13.79, allocations: 427.6 MB / 4.434 GB, free: 41.3 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.114e-06/13.79, allocations: 3.938 kB / 4.434 GB, free: 41.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.495e-05/13.79, allocations: 23.91 kB / 4.434 GB, free: 41.28 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.00962/13.8, allocations: 2.347 MB / 4.437 GB, free: 38.89 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/13.8, allocations: 19.95 kB / 4.437 GB, free: 38.87 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008803/13.8, allocations: 103.5 kB / 4.437 GB, free: 38.77 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002036/13.8, allocations: 0.6435 MB / 4.437 GB, free: 38.09 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/13.8, allocations: 97.41 kB / 4.437 GB, free: 37.98 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/13.8, allocations: 40 kB / 4.437 GB, free: 37.95 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003717/13.81, allocations: 1.031 MB / 4.438 GB, free: 36.91 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003627/13.81, allocations: 1.023 MB / 4.439 GB, free: 35.84 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.523e-05/13.81, allocations: 3.906 kB / 4.439 GB, free: 35.83 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001996/13.81, allocations: 4 kB / 4.439 GB, free: 35.83 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001439/13.81, allocations: 57.91 kB / 4.44 GB, free: 35.77 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01246/13.82, allocations: 4.999 MB / 4.444 GB, free: 30.44 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002034/13.83, allocations: 0.6461 MB / 4.445 GB, free: 29.79 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007052/13.83, allocations: 330.8 kB / 4.445 GB, free: 29.46 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001086/13.83, allocations: 1.063 MB / 4.446 GB, free: 28.18 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/13.83, allocations: 47.11 kB / 4.446 GB, free: 28.12 MB / 474.7 MB Notification: Performance of pre-optimization done (n=63): time 3.546e-06/13.83, allocations: 0 / 4.446 GB, free: 28.12 MB / 474.7 MB Notification: Performance of matching and sorting (n=75): time 0.02301/13.85, allocations: 3.715 MB / 4.45 GB, free: 24.37 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/13.85, allocations: 111.6 kB / 4.45 GB, free: 24.23 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008292/13.85, allocations: 490 kB / 4.451 GB, free: 23.75 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001838/13.85, allocations: 29.7 kB / 4.451 GB, free: 23.71 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002866/13.85, allocations: 465.1 kB / 4.451 GB, free: 23.25 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/13.85, allocations: 248.3 kB / 4.451 GB, free: 23 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.92e-05/13.85, allocations: 8 kB / 4.451 GB, free: 23 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.754e-05/13.85, allocations: 346.8 kB / 4.452 GB, free: 22.65 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000903/13.85, allocations: 414.5 kB / 4.452 GB, free: 22.24 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/13.85, allocations: 0.7097 MB / 4.453 GB, free: 21.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002927/13.86, allocations: 0.7148 MB / 4.453 GB, free: 20.68 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/13.86, allocations: 0 / 4.453 GB, free: 20.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.005017/13.86, allocations: 1.589 MB / 4.455 GB, free: 19.09 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/13.86, allocations: 8 kB / 4.455 GB, free: 19.08 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/13.86, allocations: 8 kB / 4.455 GB, free: 19.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009021/13.87, allocations: 1.041 MB / 4.456 GB, free: 18.03 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/13.87, allocations: 175.7 kB / 4.456 GB, free: 17.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003146/13.88, allocations: 1.469 MB / 4.458 GB, free: 16.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/13.88, allocations: 87.84 kB / 4.458 GB, free: 16.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001988/13.88, allocations: 63.97 kB / 4.458 GB, free: 16.21 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 32} Notification: Performance of prepare postOptimizeDAE: time 0.0003478/13.88, allocations: 136.7 kB / 4.458 GB, free: 16.07 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004032/13.88, allocations: 1.119 MB / 4.459 GB, free: 14.94 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002397/13.88, allocations: 75.06 kB / 4.459 GB, free: 14.87 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004963/13.89, allocations: 1.413 MB / 4.46 GB, free: 13.43 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/13.89, allocations: 12 kB / 4.46 GB, free: 13.42 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/13.89, allocations: 0 / 4.46 GB, free: 13.42 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/13.89, allocations: 3.984 kB / 4.46 GB, free: 13.42 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00701/13.9, allocations: 2.683 MB / 4.463 GB, free: 10.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/13.9, allocations: 4 kB / 4.463 GB, free: 10.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002387/13.9, allocations: 251.7 kB / 4.463 GB, free: 10.37 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002164/13.9, allocations: 307.5 kB / 4.464 GB, free: 10.07 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002005/13.9, allocations: 23.97 kB / 4.464 GB, free: 10.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002206/13.9, allocations: 2.135 MB / 4.466 GB, free: 7.777 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.146e-06/13.9, allocations: 7.938 kB / 4.466 GB, free: 7.77 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008975/13.91, allocations: 2.302 MB / 4.468 GB, free: 5.359 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008224/13.91, allocations: 276 kB / 4.468 GB, free: 5.07 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/13.91, allocations: 15.94 kB / 4.468 GB, free: 5.055 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/13.91, allocations: 55.84 kB / 4.468 GB, free: 5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001984/13.91, allocations: 64.64 kB / 4.468 GB, free: 4.938 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000146/13.91, allocations: 47.97 kB / 4.468 GB, free: 4.891 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006239/13.91, allocations: 366.9 kB / 4.469 GB, free: 4.531 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.71e-07/13.91, allocations: 0 / 4.469 GB, free: 4.531 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00379/13.92, allocations: 0.7726 MB / 4.47 GB, free: 3.758 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01555/13.93, allocations: 5.213 MB / 4.475 GB, free: 14.61 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003686/13.94, allocations: 1.031 MB / 4.476 GB, free: 13.58 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.711e-05/13.94, allocations: 12.06 kB / 4.476 GB, free: 13.57 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002734/13.94, allocations: 0.5728 MB / 4.476 GB, free: 13 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003673/13.94, allocations: 367.5 kB / 4.477 GB, free: 12.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00902/13.95, allocations: 2.13 MB / 4.479 GB, free: 10.43 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009301/13.95, allocations: 1.054 MB / 4.48 GB, free: 9.352 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009651/13.96, allocations: 339.3 kB / 4.48 GB, free: 9.02 MB / 490.7 MB Notification: Performance of SimCode: time 1.012e-06/13.96, allocations: 0 / 4.48 GB, free: 9.02 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.889/17.85, allocations: 34.12 MB / 4.513 GB, free: 60.93 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat