Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.ConversionBlocks.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.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.493/2.493, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.279e-05/2.275e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3589, allocations: 54.85 MB / 358.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1632/0.5222, allocations: 83.48 MB / 441.6 MB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/0.5225, allocations: 67.91 kB / 441.7 MB, free: 11.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02678/0.5493, allocations: 6.001 MB / 447.7 MB, free: 5.086 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5494, allocations: 4 kB / 447.7 MB, free: 5.082 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.974e-05/0.5494, allocations: 4 kB / 447.7 MB, free: 5.078 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007757/0.5502, allocations: 494.2 kB / 448.2 MB, free: 4.551 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.5503, allocations: 8.031 kB / 448.2 MB, free: 4.543 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.5514, allocations: 71.62 kB / 448.2 MB, free: 4.473 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.5516, allocations: 178.8 kB / 448.4 MB, free: 4.258 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.5517, allocations: 12 kB / 448.4 MB, free: 4.246 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.177e-05/0.5517, allocations: 16 kB / 448.4 MB, free: 4.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003853/0.5521, allocations: 121 kB / 448.6 MB, free: 4.113 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004048/0.5525, allocations: 151.8 kB / 448.7 MB, free: 3.961 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.5526, allocations: 0 / 448.7 MB, free: 3.961 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.5526, allocations: 0 / 448.7 MB, free: 3.961 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.5526, allocations: 11.95 kB / 448.7 MB, free: 3.949 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.5539, allocations: 0.5336 MB / 449.2 MB, free: 3.371 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007827/0.5547, allocations: 199.2 kB / 449.4 MB, free: 3.168 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.5548, allocations: 57.33 kB / 449.5 MB, free: 3.109 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.059e-05/0.5549, allocations: 4.219 kB / 449.5 MB, free: 3.105 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.5549, allocations: 38.8 kB / 449.5 MB, free: 3.059 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 5.52e-06/0.555, allocations: 0 / 449.5 MB, free: 3.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004567/0.5554, allocations: 144.1 kB / 449.7 MB, free: 2.914 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.5555, allocations: 51.41 kB / 449.7 MB, free: 2.852 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.25e-05/0.5556, allocations: 97 kB / 449.8 MB, free: 2.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.5556, allocations: 25.7 kB / 449.8 MB, free: 2.719 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.5557, allocations: 202.7 kB / 450 MB, free: 2.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.5559, allocations: 86.66 kB / 450.1 MB, free: 2.434 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.343e-05/0.5559, allocations: 0 / 450.1 MB, free: 2.434 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.556, allocations: 326.8 kB / 450.5 MB, free: 2.105 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.5561, allocations: 32 kB / 450.5 MB, free: 2.074 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.245e-05/0.5563, allocations: 32 kB / 450.5 MB, free: 2.043 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.5564, allocations: 39.97 kB / 450.6 MB, free: 2.004 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.5564, allocations: 0 / 450.6 MB, free: 2.004 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003322/0.5567, allocations: 142.2 kB / 450.7 MB, free: 1.859 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.5568, allocations: 8 kB / 450.7 MB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.5568, allocations: 3.984 kB / 450.7 MB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.5568, allocations: 3.938 kB / 450.7 MB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007364/0.5576, allocations: 95.95 kB / 450.8 MB, free: 1.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.5576, allocations: 0 / 450.8 MB, free: 1.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.5577, allocations: 15.83 kB / 450.8 MB, free: 1.734 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.5578, allocations: 12 kB / 450.8 MB, free: 1.723 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001137/0.5579, allocations: 110.9 kB / 450.9 MB, free: 1.609 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003494/0.5583, allocations: 137.7 kB / 451.1 MB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-05/0.5583, allocations: 15.81 kB / 451.1 MB, free: 1.453 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.537e-05/0.5584, allocations: 25.75 kB / 451.1 MB, free: 1.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.5584, allocations: 11.92 kB / 451.1 MB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.5584, allocations: 0 / 451.1 MB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.5585, allocations: 0 / 451.1 MB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003667/0.5588, allocations: 218 kB / 451.3 MB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.5588, allocations: 0 / 451.3 MB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007272/0.5596, allocations: 96.19 kB / 451.4 MB, free: 1.074 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.5596, allocations: 4 kB / 451.4 MB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.5596, allocations: 4 kB / 451.4 MB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.5597, allocations: 4 kB / 451.4 MB, free: 1.062 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.5597, allocations: 0 / 451.4 MB, free: 1.062 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003924/0.5601, allocations: 243.3 kB / 451.7 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.053e-05/0.5601, allocations: 88.95 kB / 451.8 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.5602, allocations: 0 / 451.8 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.5603, allocations: 8 kB / 451.8 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.424e-05/0.5604, allocations: 15.97 kB / 451.8 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.5604, allocations: 8 kB / 451.8 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.325e-05/0.5605, allocations: 79.28 kB / 451.9 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5605, allocations: 0 / 451.9 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004086/0.5609, allocations: 39.75 kB / 451.9 MB, free: 0.5547 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009246/0.5619, allocations: 0.8377 MB / 452.8 MB, free: 15.69 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003219/0.5622, allocations: 103.9 kB / 452.9 MB, free: 15.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.5622, allocations: 0 / 452.9 MB, free: 15.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.5624, allocations: 67.94 kB / 452.9 MB, free: 15.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.5626, allocations: 9.375 kB / 452.9 MB, free: 15.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009731/0.5636, allocations: 311.9 kB / 453.2 MB, free: 15.17 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.564, allocations: 0.7436 MB / 454 MB, free: 14.39 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.5642, allocations: 55.42 kB / 454 MB, free: 14.34 MB / 394.7 MB Notification: Performance of SimCode: time 1.212e-06/0.5642, allocations: 0 / 454 MB, free: 14.34 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.453/3.017, allocations: 2.366 MB / 456.4 MB, free: 11.98 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.ConversionBlocks_res.mat does not exist to compare? outputFormat=mat