Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.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.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.085/2.085, allocations: 194.8 MB / 211.1 MB, free: 7.582 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004798/0.00048, allocations: 8 kB / 264.1 MB, free: 2.508 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2962, allocations: 44.5 MB / 308.6 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002977/0.2993, allocations: 1.655 MB / 310.2 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004885/0.2998, allocations: 167.4 kB / 310.4 MB, free: 10.81 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.2999, allocations: 4 kB / 310.4 MB, free: 10.81 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.661e-05/0.3, allocations: 23.78 kB / 310.4 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002091/0.3002, allocations: 63.81 kB / 310.5 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.3004, allocations: 27.97 kB / 310.5 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002791/0.3007, allocations: 123.8 kB / 310.6 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.3009, allocations: 57.81 kB / 310.7 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.927e-05/0.301, allocations: 59.72 kB / 310.7 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.3012, allocations: 59.7 kB / 310.8 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.3012, allocations: 8 kB / 310.8 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.96e-05/0.3013, allocations: 8 kB / 310.8 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.193e-05/0.3013, allocations: 27.91 kB / 310.8 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.759e-05/0.3014, allocations: 57.58 kB / 310.9 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.3017, allocations: 132.6 kB / 311 MB, free: 10.16 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.3017, allocations: 0 / 311 MB, free: 10.16 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3017, allocations: 0 / 311 MB, free: 10.16 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.3017, allocations: 0 / 311 MB, free: 10.16 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0007379/0.3024, allocations: 442.8 kB / 311.4 MB, free: 9.68 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.3025, allocations: 8.031 kB / 311.5 MB, free: 9.672 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.729e-05/0.3026, allocations: 54.55 kB / 311.5 MB, free: 9.609 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.292e-05/0.3027, allocations: 23.67 kB / 311.5 MB, free: 9.586 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.3029, allocations: 218.7 kB / 311.7 MB, free: 9.332 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.303, allocations: 16 kB / 311.8 MB, free: 9.316 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.768e-05/0.303, allocations: 23.88 kB / 311.8 MB, free: 9.293 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004331/0.3035, allocations: 180.2 kB / 312 MB, free: 9.102 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.3035, allocations: 0 / 312 MB, free: 9.102 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.3036, allocations: 4 kB / 312 MB, free: 9.098 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.3036, allocations: 8 kB / 312 MB, free: 9.09 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002915/0.3039, allocations: 99.88 kB / 312.1 MB, free: 8.992 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.3055, allocations: 0.7717 MB / 312.8 MB, free: 8.152 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.3058, allocations: 123.8 kB / 313 MB, free: 8.004 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.3059, allocations: 0 / 313 MB, free: 8.004 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.3059, allocations: 38.64 kB / 313 MB, free: 7.957 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 2.194e-06/0.3059, allocations: 4 kB / 313 MB, free: 7.953 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004635/0.3064, allocations: 133.5 kB / 313.1 MB, free: 7.816 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.794e-05/0.3065, allocations: 106.8 kB / 313.2 MB, free: 7.688 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.3068, allocations: 208.2 kB / 313.4 MB, free: 7.477 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.3068, allocations: 25.7 kB / 313.5 MB, free: 7.445 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.307, allocations: 143.9 kB / 313.6 MB, free: 7.297 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.885e-05/0.307, allocations: 51.28 kB / 313.7 MB, free: 7.246 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.394e-05/0.307, allocations: 8 kB / 313.7 MB, free: 7.238 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3072, allocations: 330.8 kB / 314 MB, free: 6.906 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.3073, allocations: 40.45 kB / 314 MB, free: 6.867 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.3075, allocations: 128.9 kB / 314.2 MB, free: 6.699 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.3077, allocations: 59.88 kB / 314.2 MB, free: 6.641 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3077, allocations: 0 / 314.2 MB, free: 6.641 MB / 250.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004999/0.3082, allocations: 217 kB / 314.4 MB, free: 6.422 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.3083, allocations: 6.812 kB / 314.4 MB, free: 6.418 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.3083, allocations: 7.953 kB / 314.4 MB, free: 6.41 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.3083, allocations: 4 kB / 314.4 MB, free: 6.406 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.3086, allocations: 47.92 kB / 314.5 MB, free: 6.359 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/0.3087, allocations: 7.984 kB / 314.5 MB, free: 6.352 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.3089, allocations: 32.03 kB / 314.5 MB, free: 6.32 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.3089, allocations: 8 kB / 314.5 MB, free: 6.312 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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.0001479/0.309, allocations: 129.8 kB / 314.7 MB, free: 6.176 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.497e-05/0.3092, allocations: 19.81 kB / 314.7 MB, free: 6.156 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.979e-05/0.3092, allocations: 25.5 kB / 314.7 MB, free: 6.133 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.3093, allocations: 3.953 kB / 314.7 MB, free: 6.129 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.3093, allocations: 7.938 kB / 314.7 MB, free: 6.121 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.3093, allocations: 0 / 314.7 MB, free: 6.121 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006781/0.31, allocations: 241.5 kB / 315 MB, free: 5.836 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.31, allocations: 7.984 kB / 315 MB, free: 5.828 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000345/0.3104, allocations: 35.92 kB / 315 MB, free: 5.793 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/0.3104, allocations: 4 kB / 315 MB, free: 5.789 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.3104, allocations: 0 / 315 MB, free: 5.789 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.3104, allocations: 4 kB / 315 MB, free: 5.785 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.3104, allocations: 3.953 kB / 315 MB, free: 5.781 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004823/0.3109, allocations: 398.2 kB / 315.4 MB, free: 5.375 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.904e-05/0.311, allocations: 101 kB / 315.5 MB, free: 5.258 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.021e-05/0.3111, allocations: 128 / 315.5 MB, free: 5.258 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.3113, allocations: 4 kB / 315.5 MB, free: 5.254 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.3114, allocations: 19.94 kB / 315.5 MB, free: 5.234 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.3114, allocations: 0 / 315.5 MB, free: 5.234 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001996/0.3116, allocations: 155.4 kB / 315.7 MB, free: 5.082 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3116, allocations: 0 / 315.7 MB, free: 5.082 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005313/0.3121, allocations: 39.94 kB / 315.7 MB, free: 5.043 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.v) * 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): 13 * 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.0007641/0.3129, allocations: 0.9217 MB / 316.6 MB, free: 4.094 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003397/0.3133, allocations: 116.4 kB / 316.7 MB, free: 3.98 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.3133, allocations: 0 / 316.7 MB, free: 3.98 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.3134, allocations: 35.94 kB / 316.8 MB, free: 3.945 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005353/0.314, allocations: 23.94 kB / 316.8 MB, free: 3.922 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003322/0.3173, allocations: 1.494 MB / 318.3 MB, free: 2.328 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.3177, allocations: 0.7361 MB / 319 MB, free: 1.562 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001453/0.3179, allocations: 25.94 kB / 319.1 MB, free: 1.539 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.318, allocations: 51.42 kB / 319.1 MB, free: 1.488 MB / 250.7 MB Notification: Performance of SimCode: time 1.363e-06/0.318, allocations: 0 / 319.1 MB, free: 1.488 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03249/0.3505, allocations: 3.184 MB / 322.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002511/0.3509, allocations: 188.5 kB / 322.5 MB, free: 14.1 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.432/2.783, allocations: 3.938 kB / 322.5 MB, free: 14.1 MB / 266.7 MB