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.SimpleAir.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.SimpleAir,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.732/2.732, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.305e-05/2.308e-05, allocations: 7.938 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.35, allocations: 54.85 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.157/1.507, allocations: 371.9 MB / 0.7129 GB, free: 122.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/1.508, allocations: 69.2 kB / 0.713 GB, free: 122.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07482/1.583, allocations: 21.05 MB / 0.7336 GB, free: 105 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.924e-06/1.583, allocations: 0 / 0.7336 GB, free: 105 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.473e-05/1.583, allocations: 4 kB / 0.7336 GB, free: 105 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.001177/1.584, allocations: 0.5659 MB / 0.7341 GB, free: 104.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/1.584, allocations: 12.03 kB / 0.7341 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/1.584, allocations: 23.81 kB / 0.7342 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/1.584, allocations: 233.2 kB / 0.7344 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/1.585, allocations: 123.3 kB / 0.7345 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/1.585, allocations: 16 kB / 0.7345 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000985/1.586, allocations: 0.7151 MB / 0.7352 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004577/1.586, allocations: 275 kB / 0.7355 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/1.586, allocations: 11.89 kB / 0.7355 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.463e-05/1.586, allocations: 0 / 0.7355 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/1.586, allocations: 8 kB / 0.7355 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002953/1.589, allocations: 3.196 MB / 0.7386 GB, free: 99.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/1.589, allocations: 52.62 kB / 0.7387 GB, free: 99.47 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.106e-05/1.589, allocations: 32.58 kB / 0.7387 GB, free: 99.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007626/1.59, allocations: 0.5285 MB / 0.7392 GB, free: 98.88 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/1.59, allocations: 34.56 kB / 0.7392 GB, free: 98.83 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 2.444e-06/1.59, allocations: 0 / 0.7392 GB, free: 98.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006384/1.591, allocations: 147.6 kB / 0.7394 GB, free: 98.69 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.078e-05/1.591, allocations: 59.41 kB / 0.7394 GB, free: 98.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/1.591, allocations: 196.7 kB / 0.7396 GB, free: 98.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/1.591, allocations: 29.7 kB / 0.7397 GB, free: 98.42 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/1.591, allocations: 295.9 kB / 0.7399 GB, free: 98.14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/1.591, allocations: 31.33 kB / 0.74 GB, free: 98.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.339e-05/1.591, allocations: 0 / 0.74 GB, free: 98.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.423e-05/1.591, allocations: 326.3 kB / 0.7403 GB, free: 97.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.865e-05/1.591, allocations: 40.23 kB / 0.7403 GB, free: 97.77 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/1.592, allocations: 318.2 kB / 0.7406 GB, free: 97.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003757/1.592, allocations: 105.1 kB / 0.7407 GB, free: 97.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/1.592, allocations: 4 kB / 0.7407 GB, free: 97.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007818/1.593, allocations: 329.9 kB / 0.741 GB, free: 96.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/1.593, allocations: 8 kB / 0.7411 GB, free: 96.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/1.593, allocations: 12.09 kB / 0.7411 GB, free: 96.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.972e-05/1.593, allocations: 15.94 kB / 0.7411 GB, free: 96.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005792/1.594, allocations: 107.8 kB / 0.7412 GB, free: 96.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.771e-05/1.594, allocations: 20.77 kB / 0.7412 GB, free: 96.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003979/1.594, allocations: 23.56 kB / 0.7412 GB, free: 96.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.035e-05/1.594, allocations: 24 kB / 0.7412 GB, free: 96.74 MB / 490.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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.356e-05/1.594, allocations: 122.2 kB / 0.7414 GB, free: 96.62 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002238/1.594, allocations: 96.44 kB / 0.7415 GB, free: 96.53 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.344e-05/1.594, allocations: 19.81 kB / 0.7415 GB, free: 96.51 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/1.595, allocations: 93.56 kB / 0.7416 GB, free: 96.42 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/1.595, allocations: 0 / 0.7416 GB, free: 96.42 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.595, allocations: 4 kB / 0.7416 GB, free: 96.41 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/1.595, allocations: 0 / 0.7416 GB, free: 96.41 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006015/1.595, allocations: 379.9 kB / 0.7419 GB, free: 96.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.595, allocations: 3.984 kB / 0.7419 GB, free: 96.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/1.596, allocations: 23.67 kB / 0.742 GB, free: 96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/1.596, allocations: 0 / 0.742 GB, free: 96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/1.596, allocations: 4 kB / 0.742 GB, free: 96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/1.596, allocations: 0 / 0.742 GB, free: 96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/1.596, allocations: 0 / 0.742 GB, free: 96 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/1.596, allocations: 212.2 kB / 0.7422 GB, free: 95.78 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.797e-05/1.596, allocations: 111.6 kB / 0.7423 GB, free: 95.66 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.678e-05/1.596, allocations: 96 / 0.7423 GB, free: 95.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000313/1.596, allocations: 7.938 kB / 0.7423 GB, free: 95.65 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/1.596, allocations: 11.98 kB / 0.7423 GB, free: 95.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/1.597, allocations: 11.98 kB / 0.7423 GB, free: 95.62 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001101/1.597, allocations: 138.2 kB / 0.7424 GB, free: 95.51 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.8e-07/1.597, allocations: 0 / 0.7424 GB, free: 95.51 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006819/1.597, allocations: 91.58 kB / 0.7425 GB, free: 95.42 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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.0006602/1.598, allocations: 0.879 MB / 0.7434 GB, free: 94.53 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003296/1.598, allocations: 144.6 kB / 0.7435 GB, free: 94.41 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.598, allocations: 2.562 kB / 0.7435 GB, free: 94.41 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.566e-05/1.598, allocations: 19.5 kB / 0.7435 GB, free: 94.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/1.599, allocations: 31.25 kB / 0.7436 GB, free: 94.37 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008127/1.6, allocations: 268.2 kB / 0.7438 GB, free: 94.07 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/1.6, allocations: 0.7249 MB / 0.7445 GB, free: 93.31 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/1.6, allocations: 63.59 kB / 0.7446 GB, free: 93.28 MB / 490.7 MB Notification: Performance of SimCode: time 6.81e-07/1.6, allocations: 0 / 0.7446 GB, free: 93.28 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.714/4.314, allocations: 4.06 MB / 0.7486 GB, free: 89.23 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat does not exist to compare? outputFormat=mat