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/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.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.48/2.48, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004607/0.0004607, allocations: 15.98 kB / 314.5 MB, free: 9.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3825, allocations: 54.86 MB / 369.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1553/0.5378, allocations: 84.24 MB / 453.6 MB, free: 6.266 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/0.5382, allocations: 67.97 kB / 453.7 MB, free: 6.199 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02676/0.565, allocations: 6.048 MB / 459.7 MB, free: 32 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.565, allocations: 0 / 459.7 MB, free: 32 kB / 378.7 MB Notification: Performance of Transformations before backend: time 2.235e-05/0.5651, allocations: 4 kB / 459.7 MB, free: 28 kB / 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.0008342/0.5659, allocations: 0.4912 MB / 460.2 MB, free: 15.49 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.566, allocations: 11.97 kB / 460.2 MB, free: 15.48 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001659/0.5661, allocations: 86.92 kB / 460.3 MB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.5673, allocations: 79.53 kB / 460.4 MB, free: 15.3 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.5675, allocations: 186.8 kB / 460.6 MB, free: 15.08 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.842e-05/0.5675, allocations: 24.66 kB / 460.6 MB, free: 15.06 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.457e-05/0.5676, allocations: 35.94 kB / 460.6 MB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006255/0.5683, allocations: 230.1 kB / 460.8 MB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.5683, allocations: 0 / 460.8 MB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/0.5683, allocations: 12 kB / 460.8 MB, free: 14.78 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.5684, allocations: 11.95 kB / 460.9 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005102/0.5689, allocations: 162.5 kB / 461 MB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001786/0.5707, allocations: 0.6556 MB / 461.7 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009494/0.5717, allocations: 227.3 kB / 461.9 MB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/0.5717, allocations: 4.234 kB / 461.9 MB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.5718, allocations: 38.73 kB / 461.9 MB, free: 13.61 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 5.3e-06/0.5718, allocations: 0 / 461.9 MB, free: 13.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007548/0.5726, allocations: 228.2 kB / 462.2 MB, free: 13.39 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.5726, allocations: 51.41 kB / 462.2 MB, free: 13.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.5728, allocations: 101 kB / 462.3 MB, free: 13.22 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.5728, allocations: 29.7 kB / 462.3 MB, free: 13.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.573, allocations: 218.7 kB / 462.6 MB, free: 12.96 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.5731, allocations: 86.66 kB / 462.6 MB, free: 12.88 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.142e-05/0.5731, allocations: 8 kB / 462.6 MB, free: 12.87 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.5733, allocations: 318.8 kB / 463 MB, free: 12.55 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.5735, allocations: 47.97 kB / 463 MB, free: 12.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.5737, allocations: 39.98 kB / 463 MB, free: 12.46 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.5739, allocations: 61.31 kB / 463.1 MB, free: 12.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.5739, allocations: 0 / 463.1 MB, free: 12.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005316/0.5744, allocations: 169.5 kB / 463.3 MB, free: 12.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.5745, allocations: 11.95 kB / 463.3 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.5745, allocations: 0 / 463.3 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.5745, allocations: 0 / 463.3 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007283/0.5753, allocations: 108.1 kB / 463.4 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.5753, allocations: 0 / 463.4 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.5755, allocations: 19.84 kB / 463.4 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.5755, allocations: 8 kB / 463.4 MB, free: 12.09 MB / 394.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 (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.0002083/0.5757, allocations: 125.8 kB / 463.5 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.606e-05/0.5758, allocations: 7.906 kB / 463.5 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.913e-05/0.5759, allocations: 29.02 kB / 463.6 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.5759, allocations: 8 kB / 463.6 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.5759, allocations: 0 / 463.6 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.5759, allocations: 3.984 kB / 463.6 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004966/0.5764, allocations: 285.3 kB / 463.9 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5765, allocations: 0 / 463.9 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007251/0.5772, allocations: 103.9 kB / 464 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/0.5772, allocations: 0 / 464 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.5773, allocations: 8 kB / 464 MB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.719e-06/0.5773, allocations: 7.953 kB / 464 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5773, allocations: 0 / 464 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005956/0.5779, allocations: 271.3 kB / 464.2 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.543e-05/0.578, allocations: 92.86 kB / 464.3 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.018e-05/0.5781, allocations: 7.938 kB / 464.3 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.5783, allocations: 11.98 kB / 464.4 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.738e-05/0.5785, allocations: 19.94 kB / 464.4 MB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.5785, allocations: 4 kB / 464.4 MB, free: 11.03 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.818e-05/0.5786, allocations: 83.28 kB / 464.5 MB, free: 10.95 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5786, allocations: 0 / 464.5 MB, free: 10.95 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000449/0.5791, allocations: 63.67 kB / 464.5 MB, free: 10.89 MB / 394.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 (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.001111/0.5802, allocations: 0.8731 MB / 465.4 MB, free: 9.988 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004423/0.5807, allocations: 135.9 kB / 465.5 MB, free: 9.855 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5807, allocations: 0 / 465.5 MB, free: 9.855 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.5809, allocations: 83.84 kB / 465.6 MB, free: 9.773 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.5811, allocations: 9.984 kB / 465.6 MB, free: 9.766 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.5834, allocations: 1.144 MB / 466.8 MB, free: 8.566 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.5839, allocations: 0.7441 MB / 467.5 MB, free: 7.793 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001639/0.584, allocations: 71.41 kB / 467.6 MB, free: 7.727 MB / 394.7 MB Notification: Performance of SimCode: time 1.182e-06/0.5841, allocations: 0 / 467.6 MB, free: 7.727 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.595/3.18, allocations: 2.551 MB / 470.1 MB, free: 5.168 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