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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.329/2.329, allocations: 235 MB / 248.1 MB, free: 14.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.123e-05/3.139e-05, allocations: 4 kB / 309.8 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3971, allocations: 54.85 MB / 364.6 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.246/1.644, allocations: 372.6 MB / 0.7199 GB, free: 147.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/1.644, allocations: 72.5 kB / 0.72 GB, free: 147.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07653/1.72, allocations: 21.2 MB / 0.7407 GB, free: 145.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.423e-06/1.72, allocations: 0 / 0.7407 GB, free: 145.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.456e-05/1.721, allocations: 3.906 kB / 0.7407 GB, free: 145.1 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.00129/1.722, allocations: 0.5634 MB / 0.7413 GB, free: 144.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/1.722, allocations: 7.812 kB / 0.7413 GB, free: 144.6 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.677e-05/1.722, allocations: 60.73 kB / 0.7413 GB, free: 144.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/1.722, allocations: 23.44 kB / 0.7414 GB, free: 144.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/1.722, allocations: 235.7 kB / 0.7416 GB, free: 144.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001621/1.723, allocations: 130.2 kB / 0.7417 GB, free: 144.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.82e-05/1.723, allocations: 26.75 kB / 0.7417 GB, free: 144.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005786/1.723, allocations: 303 kB / 0.742 GB, free: 144.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/1.723, allocations: 7.891 kB / 0.742 GB, free: 144.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.973e-05/1.723, allocations: 10.84 kB / 0.742 GB, free: 144.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.717e-05/1.723, allocations: 11.8 kB / 0.7421 GB, free: 144.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009692/1.724, allocations: 0.7312 MB / 0.7428 GB, free: 144.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/1.726, allocations: 1.145 MB / 0.7439 GB, free: 143.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004774/1.726, allocations: 170.5 kB / 0.744 GB, free: 143.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/1.727, allocations: 82.06 kB / 0.7441 GB, free: 143.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002826/1.73, allocations: 2.858 MB / 0.7469 GB, free: 140.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/1.73, allocations: 34.5 kB / 0.7469 GB, free: 140.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 3.196e-06/1.73, allocations: 3.906 kB / 0.747 GB, free: 140.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007666/1.73, allocations: 197.7 kB / 0.7471 GB, free: 140.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/1.73, allocations: 51.41 kB / 0.7472 GB, free: 140.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/1.731, allocations: 192.3 kB / 0.7474 GB, free: 140.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/1.731, allocations: 25.7 kB / 0.7474 GB, free: 140.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/1.731, allocations: 281.5 kB / 0.7477 GB, free: 140 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.345e-05/1.731, allocations: 58.19 kB / 0.7477 GB, free: 140 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.824e-05/1.731, allocations: 10.66 kB / 0.7477 GB, free: 140 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.415e-05/1.731, allocations: 329.8 kB / 0.748 GB, free: 139.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/1.731, allocations: 42.53 kB / 0.7481 GB, free: 139.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/1.731, allocations: 311.5 kB / 0.7484 GB, free: 139.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/1.732, allocations: 103.9 kB / 0.7485 GB, free: 139.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/1.732, allocations: 3.906 kB / 0.7485 GB, free: 139.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007202/1.732, allocations: 369.8 kB / 0.7488 GB, free: 139.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/1.732, allocations: 7.875 kB / 0.7488 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/1.732, allocations: 7.875 kB / 0.7489 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.011e-05/1.732, allocations: 15.59 kB / 0.7489 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006486/1.733, allocations: 112.9 kB / 0.749 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.07e-05/1.733, allocations: 15.59 kB / 0.749 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004056/1.734, allocations: 26.88 kB / 0.749 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-05/1.734, allocations: 27.33 kB / 0.749 GB, free: 139.2 MB / 490.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: 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 0.0001183/1.734, allocations: 139.2 kB / 0.7492 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.473e-05/1.734, allocations: 23.48 kB / 0.7492 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005075/1.734, allocations: 184.4 kB / 0.7494 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/1.734, allocations: 11.72 kB / 0.7494 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.734, allocations: 0 / 0.7494 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/1.734, allocations: 0 / 0.7494 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006937/1.735, allocations: 462.5 kB / 0.7498 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/1.735, allocations: 0 / 0.7498 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/1.735, allocations: 27.38 kB / 0.7499 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/1.735, allocations: 0 / 0.7499 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/1.735, allocations: 3.906 kB / 0.7499 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/1.735, allocations: 7.688 kB / 0.7499 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.735, allocations: 7.906 kB / 0.7499 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/1.736, allocations: 260.6 kB / 0.7501 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/1.736, allocations: 107.8 kB / 0.7502 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.129e-05/1.736, allocations: 11.23 kB / 0.7502 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003731/1.736, allocations: 15.61 kB / 0.7502 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/1.736, allocations: 11.2 kB / 0.7503 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/1.736, allocations: 11.72 kB / 0.7503 GB, free: 138.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001449/1.737, allocations: 143.9 kB / 0.7504 GB, free: 138.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.737, allocations: 0 / 0.7504 GB, free: 138.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006909/1.737, allocations: 96.36 kB / 0.7505 GB, free: 138.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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.0007432/1.738, allocations: 1.08 MB / 0.7516 GB, free: 137.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004479/1.738, allocations: 175.3 kB / 0.7517 GB, free: 137.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/1.738, allocations: 0 / 0.7517 GB, free: 137.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.933e-05/1.739, allocations: 39.72 kB / 0.7518 GB, free: 137.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005162/1.739, allocations: 50.77 kB / 0.7518 GB, free: 137.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01926/1.758, allocations: 5.771 MB / 0.7574 GB, free: 135.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/1.759, allocations: 0.7316 MB / 0.7582 GB, free: 134.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/1.759, allocations: 66.66 kB / 0.7582 GB, free: 134.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.042e-06/1.759, allocations: 0 / 0.7582 GB, free: 134.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.609/4.367, allocations: 4.224 MB / 0.7623 GB, free: 132.4 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