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.DryAirNasa.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.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.544/2.544, allocations: 235.1 MB / 243 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.877e-05/1.883e-05, allocations: 0 / 303.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3835, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.976/2.359, allocations: 0.5922 GB / 0.9419 GB, free: 83.36 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/2.359, allocations: 74.78 kB / 0.942 GB, free: 83.32 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2271/2.587, allocations: 60.27 MB / 1.001 GB, free: 29.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.473e-06/2.587, allocations: 0 / 1.001 GB, free: 29.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.483e-05/2.587, allocations: 4 kB / 1.001 GB, free: 29.86 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.001986/2.589, allocations: 0.7092 MB / 1.002 GB, free: 29.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.716e-05/2.589, allocations: 8.031 kB / 1.002 GB, free: 29.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01185/2.601, allocations: 0.5926 MB / 1.002 GB, free: 28.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005628/2.601, allocations: 258.7 kB / 1.002 GB, free: 28.21 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001724/2.601, allocations: 119.4 kB / 1.002 GB, free: 28.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/2.602, allocations: 19.95 kB / 1.002 GB, free: 28.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001467/2.603, allocations: 0.5397 MB / 1.003 GB, free: 27.51 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006013/2.604, allocations: 316.1 kB / 1.003 GB, free: 27.17 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.885e-05/2.604, allocations: 7.938 kB / 1.003 GB, free: 27.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.747e-05/2.604, allocations: 3.938 kB / 1.003 GB, free: 27.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.549e-05/2.604, allocations: 8 kB / 1.003 GB, free: 27.15 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.003049/2.607, allocations: 1.91 MB / 1.005 GB, free: 25.07 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/2.608, allocations: 118.5 kB / 1.005 GB, free: 24.94 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.565e-05/2.609, allocations: 41 kB / 1.005 GB, free: 24.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.727e-05/2.609, allocations: 24.77 kB / 1.005 GB, free: 24.88 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.677e-05/2.609, allocations: 30.56 kB / 1.005 GB, free: 24.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 3.176e-06/2.609, allocations: 0 / 1.005 GB, free: 24.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.005247/2.614, allocations: 0.5105 MB / 1.006 GB, free: 24.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/2.614, allocations: 51.41 kB / 1.006 GB, free: 24.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/2.614, allocations: 183.1 kB / 1.006 GB, free: 24.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/2.614, allocations: 29.64 kB / 1.006 GB, free: 24.01 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/2.614, allocations: 293 kB / 1.006 GB, free: 23.72 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/2.614, allocations: 47.39 kB / 1.006 GB, free: 23.68 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/2.615, allocations: 0 / 1.006 GB, free: 23.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.689e-05/2.615, allocations: 322.8 kB / 1.007 GB, free: 23.35 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/2.615, allocations: 56.86 kB / 1.007 GB, free: 23.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/2.615, allocations: 258.1 kB / 1.007 GB, free: 22.95 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000565/2.616, allocations: 133.3 kB / 1.007 GB, free: 22.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/2.616, allocations: 4 kB / 1.007 GB, free: 22.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001027/2.617, allocations: 367.5 kB / 1.008 GB, free: 22.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/2.617, allocations: 8.938 kB / 1.008 GB, free: 22.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/2.617, allocations: 8 kB / 1.008 GB, free: 22.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.202e-05/2.617, allocations: 16 kB / 1.008 GB, free: 22.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008941/2.618, allocations: 167.8 kB / 1.008 GB, free: 22.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003164/2.618, allocations: 0.6094 MB / 1.008 GB, free: 21.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004279/2.618, allocations: 8 kB / 1.008 GB, free: 21.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-05/2.619, allocations: 55.98 kB / 1.008 GB, free: 21.57 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001381/2.619, allocations: 124.9 kB / 1.009 GB, free: 21.44 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003822/2.619, allocations: 153.4 kB / 1.009 GB, free: 21.28 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.163e-05/2.619, allocations: 27.66 kB / 1.009 GB, free: 21.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008569/2.62, allocations: 236.2 kB / 1.009 GB, free: 21.02 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/2.62, allocations: 0 / 1.009 GB, free: 21.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/2.62, allocations: 0 / 1.009 GB, free: 21.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/2.62, allocations: 4 kB / 1.009 GB, free: 21.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007896/2.621, allocations: 452.6 kB / 1.009 GB, free: 20.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/2.621, allocations: 4 kB / 1.009 GB, free: 20.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004625/2.621, allocations: 67.89 kB / 1.009 GB, free: 20.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/2.621, allocations: 4 kB / 1.009 GB, free: 20.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/2.621, allocations: 16.05 kB / 1.009 GB, free: 20.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002574/2.622, allocations: 0.586 MB / 1.01 GB, free: 19.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/2.622, allocations: 4.031 kB / 1.01 GB, free: 19.82 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003425/2.622, allocations: 276.3 kB / 1.01 GB, free: 19.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/2.622, allocations: 112.9 kB / 1.01 GB, free: 19.39 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.514e-05/2.622, allocations: 3.953 kB / 1.01 GB, free: 19.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003981/2.623, allocations: 11.98 kB / 1.01 GB, free: 19.37 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/2.623, allocations: 11.98 kB / 1.01 GB, free: 19.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.393e-05/2.623, allocations: 31.98 kB / 1.01 GB, free: 19.33 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001261/2.623, allocations: 143.2 kB / 1.011 GB, free: 19.19 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.01e-07/2.623, allocations: 0 / 1.011 GB, free: 19.19 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00129/2.624, allocations: 263.7 kB / 1.011 GB, free: 18.93 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.002364/2.627, allocations: 1.671 MB / 1.012 GB, free: 17.22 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007232/2.627, allocations: 209.4 kB / 1.013 GB, free: 17.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/2.627, allocations: 4 kB / 1.013 GB, free: 17.01 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003049/2.628, allocations: 71.91 kB / 1.013 GB, free: 16.94 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/2.628, allocations: 32.19 kB / 1.013 GB, free: 16.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4533/3.081, allocations: 28.2 MB / 1.04 GB, free: 142.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/3.082, allocations: 0.7324 MB / 1.041 GB, free: 142.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005906/3.082, allocations: 119 kB / 1.041 GB, free: 142.1 MB / 490.7 MB Notification: Performance of SimCode: time 1.242e-06/3.082, allocations: 0 / 1.041 GB, free: 142.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.872/5.954, allocations: 10.38 MB / 1.051 GB, free: 141.6 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat does not exist to compare? outputFormat=mat