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.248/2.248, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004223/0.0004224, allocations: 12 kB / 314.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.369, allocations: 54.85 MB / 369.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.18/1.549, allocations: 372.7 MB / 0.7246 GB, free: 137.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/1.55, allocations: 75.59 kB / 0.7247 GB, free: 137.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07593/1.626, allocations: 21.24 MB / 0.7455 GB, free: 124 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.345e-06/1.626, allocations: 0 / 0.7455 GB, free: 124 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.395e-05/1.626, allocations: 4 kB / 0.7455 GB, free: 124 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.001321/1.627, allocations: 0.5744 MB / 0.746 GB, free: 123.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/1.627, allocations: 12.03 kB / 0.746 GB, free: 123.4 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.01e-05/1.627, allocations: 59.92 kB / 0.7461 GB, free: 123.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/1.627, allocations: 35.64 kB / 0.7461 GB, free: 123.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/1.628, allocations: 224.9 kB / 0.7463 GB, free: 123.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/1.628, allocations: 126.2 kB / 0.7465 GB, free: 122.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/1.628, allocations: 22.44 kB / 0.7465 GB, free: 122.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007087/1.629, allocations: 322.1 kB / 0.7468 GB, free: 122.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/1.629, allocations: 7.953 kB / 0.7468 GB, free: 122.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.079e-05/1.629, allocations: 11.56 kB / 0.7468 GB, free: 122.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/1.629, allocations: 4 kB / 0.7468 GB, free: 122.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009568/1.63, allocations: 0.7387 MB / 0.7475 GB, free: 122 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/1.631, allocations: 1.143 MB / 0.7487 GB, free: 120.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004794/1.632, allocations: 168.4 kB / 0.7488 GB, free: 120.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002645/1.634, allocations: 2.65 MB / 0.7514 GB, free: 117.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/1.634, allocations: 42.05 kB / 0.7514 GB, free: 117.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 2.375e-06/1.634, allocations: 0 / 0.7514 GB, free: 117.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008671/1.635, allocations: 229.6 kB / 0.7517 GB, free: 117.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/1.635, allocations: 55.41 kB / 0.7517 GB, free: 117.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/1.636, allocations: 188.5 kB / 0.7519 GB, free: 117.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/1.636, allocations: 28.83 kB / 0.7519 GB, free: 117.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/1.636, allocations: 276.1 kB / 0.7522 GB, free: 117 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.897e-05/1.636, allocations: 61.81 kB / 0.7522 GB, free: 116.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.757e-05/1.636, allocations: 11.5 kB / 0.7523 GB, free: 116.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.57e-05/1.636, allocations: 326.3 kB / 0.7526 GB, free: 116.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/1.636, allocations: 51.77 kB / 0.7526 GB, free: 116.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/1.636, allocations: 314.3 kB / 0.7529 GB, free: 116.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/1.637, allocations: 103.5 kB / 0.753 GB, free: 116.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/1.637, allocations: 4 kB / 0.753 GB, free: 116.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007262/1.637, allocations: 378.6 kB / 0.7534 GB, free: 115.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/1.637, allocations: 8 kB / 0.7534 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/1.637, allocations: 12 kB / 0.7534 GB, free: 115.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.11e-05/1.637, allocations: 12 kB / 0.7534 GB, free: 115.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006309/1.638, allocations: 111.2 kB / 0.7535 GB, free: 115.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.149e-05/1.638, allocations: 19.92 kB / 0.7535 GB, free: 115.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003783/1.638, allocations: 20.03 kB / 0.7536 GB, free: 115.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-05/1.639, allocations: 31.56 kB / 0.7536 GB, free: 115.6 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 () * Number of clocked 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.000163/1.639, allocations: 144.2 kB / 0.7537 GB, free: 115.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.56e-05/1.639, allocations: 23.77 kB / 0.7537 GB, free: 115.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005019/1.639, allocations: 182.6 kB / 0.7539 GB, free: 115.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/1.639, allocations: 4 kB / 0.7539 GB, free: 115.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.639, allocations: 0 / 0.7539 GB, free: 115.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/1.639, allocations: 8.031 kB / 0.7539 GB, free: 115.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006802/1.64, allocations: 463.9 kB / 0.7544 GB, free: 114.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/1.64, allocations: 0 / 0.7544 GB, free: 114.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002634/1.64, allocations: 35.55 kB / 0.7544 GB, free: 114.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/1.64, allocations: 0 / 0.7544 GB, free: 114.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/1.64, allocations: 4 kB / 0.7544 GB, free: 114.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/1.64, allocations: 0 / 0.7544 GB, free: 114.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.64, allocations: 4 kB / 0.7544 GB, free: 114.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/1.641, allocations: 264.5 kB / 0.7547 GB, free: 114.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/1.641, allocations: 116.1 kB / 0.7548 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.405e-05/1.641, allocations: 0 / 0.7548 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003506/1.641, allocations: 19.42 kB / 0.7548 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/1.641, allocations: 11.94 kB / 0.7548 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/1.641, allocations: 7.984 kB / 0.7548 GB, free: 114.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001395/1.641, allocations: 146.2 kB / 0.755 GB, free: 114.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.641, allocations: 0 / 0.755 GB, free: 114.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007096/1.642, allocations: 98.98 kB / 0.755 GB, free: 114.1 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 () * Number of clocked 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.0007698/1.643, allocations: 1.078 MB / 0.7561 GB, free: 113 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004371/1.643, allocations: 174.7 kB / 0.7563 GB, free: 112.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/1.643, allocations: 0 / 0.7563 GB, free: 112.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.772e-05/1.644, allocations: 39.14 kB / 0.7563 GB, free: 112.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005087/1.644, allocations: 44.97 kB / 0.7563 GB, free: 112.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02089/1.665, allocations: 13.18 MB / 0.7692 GB, free: 100.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/1.665, allocations: 0.7326 MB / 0.7699 GB, free: 99.84 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/1.665, allocations: 66.84 kB / 0.77 GB, free: 99.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.192e-06/1.665, allocations: 0 / 0.77 GB, free: 99.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.451/4.117, allocations: 4.212 MB / 0.7741 GB, free: 95.61 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