Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.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.Utilities.Examples.WriteRealMatrixToFile,fileNamePrefix="Modelica_3_2_2_Modelica_Utilities_Examples_WriteRealMatrixToFile",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.049/2.049, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003512, allocations: 15.98 kB / 264 MB, free: 3.496 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3184, allocations: 44.51 MB / 308.6 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.0006406/0.3191, allocations: 208.3 kB / 308.8 MB, free: 12.56 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002335/0.3194, allocations: 51.89 kB / 308.8 MB, free: 12.51 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.544e-05/0.3194, allocations: 0 / 308.8 MB, free: 12.51 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.125e-05/0.3195, allocations: 7.875 kB / 308.8 MB, free: 12.5 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.624e-05/0.3196, allocations: 15.97 kB / 308.8 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.3197, allocations: 15.98 kB / 308.8 MB, free: 12.47 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.113e-05/0.3198, allocations: 15.97 kB / 308.9 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.849e-05/0.3199, allocations: 3.938 kB / 308.9 MB, free: 12.45 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.959e-05/0.3199, allocations: 15.98 kB / 308.9 MB, free: 12.44 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.127e-05/0.32, allocations: 23.91 kB / 308.9 MB, free: 12.41 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.32, allocations: 4 kB / 308.9 MB, free: 12.41 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.189e-05/0.3201, allocations: 4 kB / 308.9 MB, free: 12.41 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.617e-05/0.3201, allocations: 4 kB / 308.9 MB, free: 12.4 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.065e-05/0.3202, allocations: 25.7 kB / 308.9 MB, free: 12.37 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.961e-05/0.3202, allocations: 11.98 kB / 309 MB, free: 12.36 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.3203, allocations: 0 / 309 MB, free: 12.36 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3203, allocations: 0 / 309 MB, free: 12.36 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.3203, allocations: 0 / 309 MB, free: 12.36 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000398/0.3207, allocations: 339.3 kB / 309.3 MB, free: 11.98 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.3208, allocations: 15.97 kB / 309.3 MB, free: 11.96 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.216e-05/0.3208, allocations: 39.45 kB / 309.3 MB, free: 11.92 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/0.3209, allocations: 4 kB / 309.3 MB, free: 11.91 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.321, allocations: 171 kB / 309.5 MB, free: 11.71 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.3211, allocations: 4 kB / 309.5 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.3211, allocations: 4 kB / 309.5 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.3213, allocations: 105 kB / 309.6 MB, free: 11.58 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.3214, allocations: 4 kB / 309.6 MB, free: 11.57 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.3214, allocations: 0 / 309.6 MB, free: 11.57 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.3214, allocations: 0 / 309.6 MB, free: 11.57 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.787e-05/0.3215, allocations: 35.92 kB / 309.7 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004567/0.322, allocations: 0.4957 MB / 310.2 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.3222, allocations: 122.3 kB / 310.3 MB, free: 10.83 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.497e-06/0.3222, allocations: 4 kB / 310.3 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.3222, allocations: 34.62 kB / 310.3 MB, free: 10.78 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 2.074e-06/0.3222, allocations: 0 / 310.3 MB, free: 10.78 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005118/0.3228, allocations: 185.5 kB / 310.5 MB, free: 10.59 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.844e-05/0.3229, allocations: 137 kB / 310.6 MB, free: 10.43 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.323, allocations: 117.8 kB / 310.7 MB, free: 10.3 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.323, allocations: 29.64 kB / 310.8 MB, free: 10.27 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/0.3231, allocations: 80.14 kB / 310.8 MB, free: 10.19 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.3231, allocations: 23.73 kB / 310.9 MB, free: 10.16 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-06/0.3232, allocations: 0 / 310.9 MB, free: 10.16 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3233, allocations: 322.8 kB / 311.2 MB, free: 9.84 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.895e-05/0.3234, allocations: 31.92 kB / 311.2 MB, free: 9.809 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.993e-05/0.3235, allocations: 59.42 kB / 311.3 MB, free: 9.738 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.945e-05/0.3236, allocations: 35.92 kB / 311.3 MB, free: 9.703 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3236, allocations: 0 / 311.3 MB, free: 9.703 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002352/0.3238, allocations: 121.5 kB / 311.4 MB, free: 9.578 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.3239, allocations: 8.125 kB / 311.4 MB, free: 9.57 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.3239, allocations: 4 kB / 311.4 MB, free: 9.566 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.3239, allocations: 0 / 311.4 MB, free: 9.566 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.041e-05/0.324, allocations: 15.92 kB / 311.5 MB, free: 9.551 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.324, allocations: 0 / 311.5 MB, free: 9.551 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.139e-05/0.324, allocations: 4 kB / 311.5 MB, free: 9.547 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.3241, allocations: 0 / 311.5 MB, free: 9.547 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (success1,$outputAlias_success1,success2,$outputAlias_success2,success3,$outputAlias_success3,success4,$outputAlias_success4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001203/0.3242, allocations: 128.6 kB / 311.6 MB, free: 9.414 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.078e-05/0.3243, allocations: 7.906 kB / 311.6 MB, free: 9.406 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.864e-05/0.3243, allocations: 7.531 kB / 311.6 MB, free: 9.398 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.3243, allocations: 4 kB / 311.6 MB, free: 9.395 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3244, allocations: 0 / 311.6 MB, free: 9.395 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.3244, allocations: 3.984 kB / 311.6 MB, free: 9.391 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008265/0.3252, allocations: 0.6135 MB / 312.2 MB, free: 8.719 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3252, allocations: 0 / 312.2 MB, free: 8.719 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.136e-05/0.3253, allocations: 16.05 kB / 312.2 MB, free: 8.703 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3253, allocations: 0 / 312.2 MB, free: 8.703 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.3253, allocations: 8 kB / 312.2 MB, free: 8.695 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.3253, allocations: 0 / 312.2 MB, free: 8.695 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3253, allocations: 0 / 312.2 MB, free: 8.695 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004266/0.3258, allocations: 473.2 kB / 312.7 MB, free: 8.215 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.158e-05/0.3258, allocations: 81.11 kB / 312.8 MB, free: 8.117 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.3259, allocations: 0 / 312.8 MB, free: 8.117 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.3261, allocations: 7.984 kB / 312.8 MB, free: 8.109 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.43e-05/0.3261, allocations: 11.94 kB / 312.8 MB, free: 8.098 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.3261, allocations: 256 / 312.8 MB, free: 8.098 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.622e-05/0.3262, allocations: 99.2 kB / 312.9 MB, free: 8 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3262, allocations: 0 / 312.9 MB, free: 8 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004405/0.3267, allocations: 12 kB / 312.9 MB, free: 7.988 MB / 250.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: 8 (success4,$outputAlias_success4,success3,$outputAlias_success3,success2,$outputAlias_success2,success1,$outputAlias_success1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001113/0.3278, allocations: 1.073 MB / 314 MB, free: 6.898 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000227/0.328, allocations: 83.94 kB / 314.1 MB, free: 6.816 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.328, allocations: 0 / 314.1 MB, free: 6.816 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.748e-05/0.3282, allocations: 43.92 kB / 314.1 MB, free: 6.773 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.3285, allocations: 7.938 kB / 314.1 MB, free: 6.766 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.3298, allocations: 0.6154 MB / 314.7 MB, free: 6.082 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.3301, allocations: 0.6887 MB / 315.4 MB, free: 5.367 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.472e-05/0.3302, allocations: 4.188 kB / 315.4 MB, free: 5.359 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.793e-05/0.3303, allocations: 23.42 kB / 315.5 MB, free: 5.34 MB / 250.7 MB Notification: Performance of SimCode: time 1.162e-06/0.3303, allocations: 0 / 315.5 MB, free: 5.34 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01892/0.3492, allocations: 1.476 MB / 316.9 MB, free: 3.902 MB / 250.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002536/0.3495, allocations: 222.3 kB / 317.1 MB, free: 3.66 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.369/2.718, allocations: 0 / 317.1 MB, free: 3.66 MB / 250.7 MB