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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.215/1.215, allocations: 111.1 MB / 126.7 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002586/0.0002587, allocations: 4 kB / 158.4 MB, free: 15.1 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05486/0.05516, allocations: 25.16 MB / 183.6 MB, free: 5.895 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2048/0.26, allocations: 33.61 MB / 217.2 MB, free: 6.41 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.2603, allocations: 59.94 kB / 217.3 MB, free: 6.402 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01042/0.2707, allocations: 2.82 MB / 220.1 MB, free: 5.223 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.2708, allocations: 0 / 220.1 MB, free: 5.223 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.2708, allocations: 6.688 kB / 220.1 MB, free: 5.223 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.0005743/0.2714, allocations: 446.3 kB / 220.5 MB, free: 4.805 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.2714, allocations: 7.625 kB / 220.5 MB, free: 4.805 MB / 170.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.31e-05/0.2715, allocations: 56.5 kB / 220.6 MB, free: 4.758 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.944e-05/0.2715, allocations: 23.55 kB / 220.6 MB, free: 4.742 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.2718, allocations: 205.2 kB / 220.8 MB, free: 4.527 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.2718, allocations: 11.03 kB / 220.8 MB, free: 4.527 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/0.2718, allocations: 21.41 kB / 220.8 MB, free: 4.523 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00036/0.2722, allocations: 180.4 kB / 221 MB, free: 4.434 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.2722, allocations: 3.969 kB / 221 MB, free: 4.434 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.2723, allocations: 11 kB / 221 MB, free: 4.43 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.2723, allocations: 11.78 kB / 221 MB, free: 4.422 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002465/0.2726, allocations: 94.91 kB / 221.1 MB, free: 4.406 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.274, allocations: 0.7768 MB / 221.9 MB, free: 3.785 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.2742, allocations: 121.1 kB / 222 MB, free: 3.695 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.2742, allocations: 0 / 222 MB, free: 3.695 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.2743, allocations: 38.38 kB / 222.1 MB, free: 3.652 MB / 170.7 MB Notification: Performance of pre-optimization done (n=13): time 1.964e-06/0.2743, allocations: 0 / 222.1 MB, free: 3.652 MB / 170.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003892/0.2747, allocations: 132 kB / 222.2 MB, free: 3.598 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.2747, allocations: 114.5 kB / 222.3 MB, free: 3.469 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.275, allocations: 184.2 kB / 222.5 MB, free: 3.359 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.275, allocations: 29.45 kB / 222.5 MB, free: 3.328 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.692e-05/0.2751, allocations: 192.6 kB / 222.7 MB, free: 3.152 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.867e-05/0.2751, allocations: 61.47 kB / 222.8 MB, free: 3.109 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.263e-05/0.2752, allocations: 3.5 kB / 222.8 MB, free: 3.109 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 6.51e-05/0.2752, allocations: 322.2 kB / 223.1 MB, free: 2.793 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.59e-05/0.2753, allocations: 34.52 kB / 223.1 MB, free: 2.785 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.2755, allocations: 137.7 kB / 223.3 MB, free: 2.656 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.2756, allocations: 56.2 kB / 223.3 MB, free: 2.648 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.2757, allocations: 0 / 223.3 MB, free: 2.648 MB / 170.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003828/0.276, allocations: 209.1 kB / 223.5 MB, free: 2.57 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.2761, allocations: 3.781 kB / 223.5 MB, free: 2.57 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.2761, allocations: 11.81 kB / 223.5 MB, free: 2.562 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.2761, allocations: 3.844 kB / 223.5 MB, free: 2.562 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.2764, allocations: 49.52 kB / 223.6 MB, free: 2.555 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.2764, allocations: 7.781 kB / 223.6 MB, free: 2.551 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.2766, allocations: 26.59 kB / 223.6 MB, free: 2.535 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.2766, allocations: 11.56 kB / 223.6 MB, free: 2.535 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 () * 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.0001084/0.2768, allocations: 136.7 kB / 223.8 MB, free: 2.41 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.307e-05/0.2769, allocations: 19.11 kB / 223.8 MB, free: 2.398 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.68e-05/0.2769, allocations: 22.81 kB / 223.8 MB, free: 2.391 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.2769, allocations: 0 / 223.8 MB, free: 2.391 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2769, allocations: 3.844 kB / 223.8 MB, free: 2.391 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.277, allocations: 3.984 kB / 223.8 MB, free: 2.387 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005328/0.2775, allocations: 246.6 kB / 224 MB, free: 2.164 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.2775, allocations: 7.844 kB / 224.1 MB, free: 2.16 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/0.2778, allocations: 26.86 kB / 224.1 MB, free: 2.156 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.2779, allocations: 3.844 kB / 224.1 MB, free: 2.156 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.2779, allocations: 7.516 kB / 224.1 MB, free: 2.152 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.2779, allocations: 4 kB / 224.1 MB, free: 2.148 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2779, allocations: 3.844 kB / 224.1 MB, free: 2.148 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003551/0.2783, allocations: 425.6 kB / 224.5 MB, free: 1.801 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-05/0.2783, allocations: 99.78 kB / 224.6 MB, free: 1.691 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/0.2784, allocations: 7.719 kB / 224.6 MB, free: 1.688 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.2786, allocations: 3.688 kB / 224.6 MB, free: 1.688 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.2787, allocations: 7.469 kB / 224.6 MB, free: 1.688 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.2787, allocations: 3.984 kB / 224.6 MB, free: 1.684 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0001485/0.2788, allocations: 157.8 kB / 224.8 MB, free: 1.594 MB / 170.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.2788, allocations: 0 / 224.8 MB, free: 1.594 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0004742/0.2793, allocations: 42.41 kB / 224.8 MB, free: 1.59 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 () * 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.0005351/0.2799, allocations: 1.096 MB / 225.9 MB, free: 0.5781 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0002744/0.2802, allocations: 113.1 kB / 226 MB, free: 0.5508 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2802, allocations: 0 / 226 MB, free: 0.5508 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 7.718e-05/0.2803, allocations: 40.52 kB / 226.1 MB, free: 0.543 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005032/0.2808, allocations: 22.8 kB / 226.1 MB, free: 0.5391 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003527/0.2843, allocations: 3.452 MB / 229.5 MB, free: 13.49 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.2848, allocations: 0.7304 MB / 230.3 MB, free: 12.77 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.2849, allocations: 51.3 kB / 230.3 MB, free: 12.76 MB / 186.7 MB Notification: Performance of SimCode: time 1.052e-06/0.285, allocations: 7.875 kB / 230.3 MB, free: 12.76 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.714/2.999, allocations: 2.765 MB / 233.1 MB, free: 11.39 MB / 186.7 MB