Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.ComplexBlocks.Examples.TestConversionBlock.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) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_2_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.142/2.142, allocations: 194.9 MB / 211.1 MB, free: 7.59 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000992/0.0009918, allocations: 4 kB / 264.1 MB, free: 2.52 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.586/0.587, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1561/0.7432, allocations: 71.42 MB / 380 MB, free: 5.141 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.7436, allocations: 63.97 kB / 380 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005685/0.7493, allocations: 1.255 MB / 381.3 MB, free: 3.816 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.7493, allocations: 0 / 381.3 MB, free: 3.816 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.7493, allocations: 4 kB / 381.3 MB, free: 3.812 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000705/0.7501, allocations: 383.8 kB / 381.7 MB, free: 3.391 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/0.7501, allocations: 15.97 kB / 381.7 MB, free: 3.375 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.42e-05/0.7502, allocations: 30.56 kB / 381.7 MB, free: 3.336 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/0.7502, allocations: 15.84 kB / 381.7 MB, free: 3.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.7504, allocations: 174.9 kB / 381.9 MB, free: 3.109 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.7505, allocations: 4 kB / 381.9 MB, free: 3.105 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.7505, allocations: 7.984 kB / 381.9 MB, free: 3.098 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004531/0.7509, allocations: 93.58 kB / 382 MB, free: 3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.751, allocations: 4 kB / 382 MB, free: 2.996 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.751, allocations: 0 / 382 MB, free: 2.996 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.751, allocations: 4 kB / 382 MB, free: 2.992 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006213/0.7516, allocations: 107.9 kB / 382.1 MB, free: 2.887 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006426/0.7523, allocations: 304.7 kB / 382.4 MB, free: 2.539 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000431/0.7528, allocations: 86.53 kB / 382.5 MB, free: 2.445 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.7528, allocations: 0 / 382.5 MB, free: 2.445 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.7528, allocations: 34.69 kB / 382.5 MB, free: 2.402 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/0.7529, allocations: 0 / 382.5 MB, free: 2.402 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.001044/0.7539, allocations: 189.5 kB / 382.7 MB, free: 2.211 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.754, allocations: 51.41 kB / 382.8 MB, free: 2.148 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.7541, allocations: 108.9 kB / 382.9 MB, free: 2.035 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.7541, allocations: 25.7 kB / 382.9 MB, free: 2.004 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.652e-05/0.7542, allocations: 92.03 kB / 383 MB, free: 1.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.7543, allocations: 27.73 kB / 383 MB, free: 1.883 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-06/0.7543, allocations: 384 / 383 MB, free: 1.883 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.7544, allocations: 310.8 kB / 383.3 MB, free: 1.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/0.7547, allocations: 51.95 kB / 383.4 MB, free: 1.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.755, allocations: 43.97 kB / 383.4 MB, free: 1.477 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.7553, allocations: 55.89 kB / 383.5 MB, free: 1.422 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.7554, allocations: 4 kB / 383.5 MB, free: 1.418 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0007096/0.7561, allocations: 133.6 kB / 383.6 MB, free: 1.281 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.7561, allocations: 10.5 kB / 383.6 MB, free: 1.273 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.7561, allocations: 0 / 383.6 MB, free: 1.273 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.7562, allocations: 0 / 383.6 MB, free: 1.273 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.7564, allocations: 23.97 kB / 383.6 MB, free: 1.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.7564, allocations: 0 / 383.6 MB, free: 1.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.7566, allocations: 23.94 kB / 383.7 MB, free: 1.227 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.7567, allocations: 4 kB / 383.7 MB, free: 1.223 MB / 314.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001236/0.7568, allocations: 109.8 kB / 383.8 MB, free: 1.105 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/0.7568, allocations: 11.84 kB / 383.8 MB, free: 1.094 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007208/0.7576, allocations: 157.5 kB / 383.9 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.7576, allocations: 0 / 383.9 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.7576, allocations: 0 / 383.9 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.7576, allocations: 0 / 383.9 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.7579, allocations: 189.6 kB / 384.1 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.7579, allocations: 0 / 384.1 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.7581, allocations: 31.97 kB / 384.2 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.7582, allocations: 0 / 384.2 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.7582, allocations: 448 / 384.2 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.7582, allocations: 0 / 384.2 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.7582, allocations: 4 kB / 384.2 MB, free: 0.668 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007231/0.7589, allocations: 255.2 kB / 384.4 MB, free: 412 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.259e-05/0.759, allocations: 81.02 kB / 384.5 MB, free: 312 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.7591, allocations: 4 kB / 384.5 MB, free: 308 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.7593, allocations: 15.98 kB / 384.5 MB, free: 292 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.538e-05/0.7593, allocations: 7.984 kB / 384.5 MB, free: 284 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.7594, allocations: 4 kB / 384.5 MB, free: 280 kB / 314.7 MB Notification: Performance of sorting global known variables: time 8.305e-05/0.7595, allocations: 87.27 kB / 384.6 MB, free: 192 kB / 314.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.7595, allocations: 4 kB / 384.6 MB, free: 188 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003179/0.7598, allocations: 23.94 kB / 384.6 MB, free: 164 kB / 314.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.001119/0.7609, allocations: 0.7865 MB / 385.4 MB, free: 15.35 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006525/0.7616, allocations: 108 kB / 385.5 MB, free: 15.24 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.7616, allocations: 7.938 kB / 385.5 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003176/0.762, allocations: 59.95 kB / 385.6 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.7622, allocations: 4 kB / 385.6 MB, free: 15.17 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006718/0.7629, allocations: 214.4 kB / 385.8 MB, free: 14.92 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.7632, allocations: 0.6887 MB / 386.5 MB, free: 14.2 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.507e-05/0.7633, allocations: 4 kB / 386.5 MB, free: 14.2 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.072e-05/0.7634, allocations: 23.42 kB / 386.5 MB, free: 14.18 MB / 330.7 MB Notification: Performance of SimCode: time 9.31e-07/0.7634, allocations: 4 kB / 386.5 MB, free: 14.17 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.7846, allocations: 1.662 MB / 388.2 MB, free: 12.55 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002974/0.785, allocations: 185.7 kB / 388.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.648/3.433, allocations: 0 / 388.4 MB, free: 12.3 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat does not exist to compare? outputFormat=mat