Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.065/1.065, allocations: 111.2 MB / 119.1 MB, free: 11.18 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.972e-05/1.983e-05, allocations: 0 / 148.2 MB, free: 6.125 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05562/0.05568, allocations: 25.18 MB / 173.4 MB, free: 12.91 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2129/0.2686, allocations: 32.85 MB / 206.2 MB, free: 4.652 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.2689, allocations: 60.84 kB / 206.3 MB, free: 4.652 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01139/0.2804, allocations: 2.794 MB / 209.1 MB, free: 4.16 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.2804, allocations: 0 / 209.1 MB, free: 4.16 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.894e-05/0.2804, allocations: 14.64 kB / 209.1 MB, free: 4.152 MB / 170.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.0006582/0.2811, allocations: 420.5 kB / 209.5 MB, free: 3.773 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.2812, allocations: 9.219 kB / 209.5 MB, free: 3.773 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.623e-05/0.2813, allocations: 22.08 kB / 209.5 MB, free: 3.762 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.2815, allocations: 206.6 kB / 209.7 MB, free: 3.551 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.2816, allocations: 9.406 kB / 209.8 MB, free: 3.547 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.132e-05/0.2816, allocations: 15.28 kB / 209.8 MB, free: 3.547 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002799/0.2819, allocations: 85.91 kB / 209.9 MB, free: 3.543 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/0.2822, allocations: 162 kB / 210 MB, free: 3.473 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.2823, allocations: 1.312 kB / 210 MB, free: 3.473 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.2823, allocations: 2.406 kB / 210 MB, free: 3.473 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.2823, allocations: 8.078 kB / 210 MB, free: 3.469 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.2838, allocations: 0.7159 MB / 210.7 MB, free: 2.965 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.284, allocations: 105 kB / 210.8 MB, free: 2.895 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.894e-05/0.2841, allocations: 46.14 kB / 210.9 MB, free: 2.867 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.2842, allocations: 5.797 kB / 210.9 MB, free: 2.863 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.2842, allocations: 40.47 kB / 210.9 MB, free: 2.82 MB / 170.7 MB Notification: Performance of pre-optimization done (n=13): time 3.276e-06/0.2842, allocations: 0 / 210.9 MB, free: 2.82 MB / 170.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003433/0.2846, allocations: 101 kB / 211 MB, free: 2.773 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.2846, allocations: 105.2 kB / 211.1 MB, free: 2.648 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.2848, allocations: 133.7 kB / 211.3 MB, free: 2.559 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.2848, allocations: 30.77 kB / 211.3 MB, free: 2.523 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.344e-05/0.2849, allocations: 209.4 kB / 211.5 MB, free: 2.34 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.931e-05/0.285, allocations: 55.28 kB / 211.6 MB, free: 2.305 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.766e-06/0.285, allocations: 0 / 211.6 MB, free: 2.305 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 6.691e-05/0.2851, allocations: 323.2 kB / 211.9 MB, free: 1.992 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.429e-05/0.2852, allocations: 29.34 kB / 211.9 MB, free: 1.988 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.2853, allocations: 126.6 kB / 212 MB, free: 1.871 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.2855, allocations: 47.97 kB / 212.1 MB, free: 1.867 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.2855, allocations: 1.812 kB / 212.1 MB, free: 1.867 MB / 170.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004024/0.2859, allocations: 174.4 kB / 212.2 MB, free: 1.812 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.2859, allocations: 13.56 kB / 212.3 MB, free: 1.809 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.286, allocations: 7.328 kB / 212.3 MB, free: 1.805 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/0.286, allocations: 8.438 kB / 212.3 MB, free: 1.801 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003161/0.2863, allocations: 48.25 kB / 212.3 MB, free: 1.797 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.2863, allocations: 4.312 kB / 212.3 MB, free: 1.797 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.2865, allocations: 12.97 kB / 212.3 MB, free: 1.789 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.2866, allocations: 12.06 kB / 212.3 MB, free: 1.789 MB / 170.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 () * 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 8.493e-05/0.2867, allocations: 111.6 kB / 212.5 MB, free: 1.676 MB / 170.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002757/0.2869, allocations: 105.4 kB / 212.6 MB, free: 1.629 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.033e-05/0.287, allocations: 15.23 kB / 212.6 MB, free: 1.621 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.223e-05/0.2871, allocations: 18.52 kB / 212.6 MB, free: 1.617 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.2871, allocations: 5.125 kB / 212.6 MB, free: 1.613 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.2871, allocations: 1.094 kB / 212.6 MB, free: 1.613 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.2872, allocations: 1.25 kB / 212.6 MB, free: 1.613 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005743/0.2877, allocations: 209.8 kB / 212.8 MB, free: 1.453 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2878, allocations: 1.469 kB / 212.8 MB, free: 1.453 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000334/0.2881, allocations: 30.83 kB / 212.8 MB, free: 1.453 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/0.2881, allocations: 1.406 kB / 212.8 MB, free: 1.453 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.2882, allocations: 10.33 kB / 212.8 MB, free: 1.449 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.2882, allocations: 1.469 kB / 212.8 MB, free: 1.449 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.2882, allocations: 0 / 212.8 MB, free: 1.449 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003877/0.2886, allocations: 406 kB / 213.2 MB, free: 1.117 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.473e-05/0.2887, allocations: 89.7 kB / 213.3 MB, free: 1.016 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.044e-05/0.2887, allocations: 1.5 kB / 213.3 MB, free: 1.016 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.289, allocations: 1.562 kB / 213.3 MB, free: 1.016 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.289, allocations: 14.11 kB / 213.3 MB, free: 1.012 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.289, allocations: 10.94 kB / 213.4 MB, free: 1.008 MB / 170.7 MB Notification: Performance of sorting global known variables: time 9.415e-05/0.2891, allocations: 112.1 kB / 213.5 MB, free: 0.9297 MB / 170.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.2891, allocations: 0 / 213.5 MB, free: 0.9297 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.000564/0.2897, allocations: 41.12 kB / 213.5 MB, free: 0.9219 MB / 170.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 () * 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.0006939/0.2904, allocations: 1.063 MB / 214.6 MB, free: 15.94 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003117/0.2908, allocations: 96.11 kB / 214.7 MB, free: 15.93 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.2908, allocations: 5.812 kB / 214.7 MB, free: 15.92 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 7.978e-05/0.2909, allocations: 36.16 kB / 214.7 MB, free: 15.92 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005223/0.2914, allocations: 26.81 kB / 214.7 MB, free: 15.91 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.2932, allocations: 0.6349 MB / 215.4 MB, free: 15.42 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.2936, allocations: 0.7308 MB / 216.1 MB, free: 14.73 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.2938, allocations: 51.42 kB / 216.1 MB, free: 14.72 MB / 186.7 MB Notification: Performance of SimCode: time 1.162e-06/0.2938, allocations: 0 / 216.1 MB, free: 14.72 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.888/3.182, allocations: 2.551 MB / 218.7 MB, free: 14.5 MB / 186.7 MB