Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.6/1.6, allocations: 171.2 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003418, allocations: 16 kB / 233.2 MB, free: 2.973 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07794/0.07831, allocations: 38.78 MB / 272 MB, free: 12.12 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.00265/0.081, allocations: 1.643 MB / 273.7 MB, free: 10.46 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004227/0.08145, allocations: 175.4 kB / 273.8 MB, free: 10.29 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.456e-05/0.08156, allocations: 0 / 273.8 MB, free: 10.29 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.574e-05/0.08163, allocations: 19.84 kB / 273.9 MB, free: 10.27 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.08183, allocations: 59.81 kB / 273.9 MB, free: 10.21 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001592/0.082, allocations: 31.97 kB / 273.9 MB, free: 10.18 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002577/0.08227, allocations: 123.8 kB / 274.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.08244, allocations: 53.78 kB / 274.1 MB, free: 10 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.336e-05/0.08254, allocations: 55.78 kB / 274.2 MB, free: 9.945 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.08268, allocations: 67.64 kB / 274.2 MB, free: 9.879 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.08273, allocations: 8 kB / 274.3 MB, free: 9.871 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.061e-05/0.08278, allocations: 8 kB / 274.3 MB, free: 9.863 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.623e-05/0.08282, allocations: 27.84 kB / 274.3 MB, free: 9.836 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.581e-05/0.08289, allocations: 57.58 kB / 274.3 MB, free: 9.773 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.08311, allocations: 139.9 kB / 274.5 MB, free: 9.637 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.08312, allocations: 0 / 274.5 MB, free: 9.637 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.08313, allocations: 4 kB / 274.5 MB, free: 9.633 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.689e-06/0.08315, allocations: 0 / 274.5 MB, free: 9.633 MB / 234.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.0007033/0.08386, allocations: 434.7 kB / 274.9 MB, free: 9.16 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.08392, allocations: 12.03 kB / 274.9 MB, free: 9.148 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.382e-05/0.084, allocations: 50.55 kB / 275 MB, free: 9.09 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.186e-05/0.08406, allocations: 19.81 kB / 275 MB, free: 9.07 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.08433, allocations: 222.7 kB / 275.2 MB, free: 8.812 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.08437, allocations: 8 kB / 275.2 MB, free: 8.805 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.865e-05/0.08443, allocations: 20 kB / 275.2 MB, free: 8.785 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000403/0.08484, allocations: 180 kB / 275.4 MB, free: 8.594 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.08487, allocations: 4 kB / 275.4 MB, free: 8.59 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.08491, allocations: 8 kB / 275.4 MB, free: 8.582 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.08493, allocations: 8 kB / 275.4 MB, free: 8.574 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002916/0.08523, allocations: 107.9 kB / 275.5 MB, free: 8.469 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/0.08676, allocations: 0.7717 MB / 276.3 MB, free: 7.625 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.08705, allocations: 119.7 kB / 276.4 MB, free: 7.48 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.08708, allocations: 4.156 kB / 276.4 MB, free: 7.477 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.08712, allocations: 38.56 kB / 276.5 MB, free: 7.43 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.763e-06/0.08713, allocations: 0 / 276.5 MB, free: 7.43 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004089/0.08755, allocations: 129.5 kB / 276.6 MB, free: 7.297 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.808e-05/0.08763, allocations: 118.7 kB / 276.7 MB, free: 7.156 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.08793, allocations: 207 kB / 276.9 MB, free: 6.945 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.08797, allocations: 25.7 kB / 276.9 MB, free: 6.914 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.0881, allocations: 198.4 kB / 277.1 MB, free: 6.715 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.031e-05/0.08817, allocations: 59.19 kB / 277.2 MB, free: 6.656 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.281e-05/0.08819, allocations: 4 kB / 277.2 MB, free: 6.652 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.08832, allocations: 322.8 kB / 277.5 MB, free: 6.328 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.08845, allocations: 36.45 kB / 277.5 MB, free: 6.293 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.08864, allocations: 128.9 kB / 277.7 MB, free: 6.125 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.08882, allocations: 55.94 kB / 277.7 MB, free: 6.07 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/0.08884, allocations: 4 kB / 277.7 MB, free: 6.066 MB / 234.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004532/0.0893, allocations: 201.7 kB / 277.9 MB, free: 5.863 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.08934, allocations: 8 kB / 277.9 MB, free: 5.855 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.08936, allocations: 4.328 kB / 277.9 MB, free: 5.852 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.08939, allocations: 12 kB / 277.9 MB, free: 5.84 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002848/0.08968, allocations: 47.91 kB / 278 MB, free: 5.793 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.0897, allocations: 4 kB / 278 MB, free: 5.789 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.08989, allocations: 31.64 kB / 278 MB, free: 5.758 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.08992, allocations: 12 kB / 278 MB, free: 5.746 MB / 234.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.0001336/0.09007, allocations: 129.8 kB / 278.2 MB, free: 5.609 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.912e-05/0.09016, allocations: 19.81 kB / 278.2 MB, free: 5.59 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.153e-05/0.09023, allocations: 20.98 kB / 278.2 MB, free: 5.574 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-06/0.09025, allocations: 8 kB / 278.2 MB, free: 5.566 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.09027, allocations: 256 / 278.2 MB, free: 5.566 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.09028, allocations: 0 / 278.2 MB, free: 5.566 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006062/0.09089, allocations: 253.4 kB / 278.5 MB, free: 5.27 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.09091, allocations: 3.984 kB / 278.5 MB, free: 5.266 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003208/0.09125, allocations: 39.92 kB / 278.5 MB, free: 5.227 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.09126, allocations: 0 / 278.5 MB, free: 5.227 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.09129, allocations: 4 kB / 278.5 MB, free: 5.223 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.0913, allocations: 0 / 278.5 MB, free: 5.223 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.09131, allocations: 0 / 278.5 MB, free: 5.223 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004486/0.09177, allocations: 398.1 kB / 278.9 MB, free: 4.816 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.948e-05/0.09186, allocations: 96.89 kB / 279 MB, free: 4.703 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.09191, allocations: 3.938 kB / 279 MB, free: 4.699 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.09214, allocations: 8 kB / 279 MB, free: 4.691 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.09218, allocations: 7.984 kB / 279 MB, free: 4.684 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.0922, allocations: 7.938 kB / 279 MB, free: 4.676 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001908/0.0924, allocations: 164.1 kB / 279.2 MB, free: 4.516 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.09241, allocations: 0 / 279.2 MB, free: 4.516 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0004675/0.09289, allocations: 43.94 kB / 279.2 MB, free: 4.473 MB / 234.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.0007057/0.0936, allocations: 0.918 MB / 280.1 MB, free: 3.527 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003104/0.09393, allocations: 108 kB / 280.2 MB, free: 3.422 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.09395, allocations: 0 / 280.2 MB, free: 3.422 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 9.287e-05/0.09405, allocations: 39.92 kB / 280.3 MB, free: 3.383 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.09453, allocations: 26.39 kB / 280.3 MB, free: 3.359 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002941/0.09748, allocations: 1.528 MB / 281.8 MB, free: 1.73 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.09785, allocations: 0.7284 MB / 282.6 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.09799, allocations: 59.42 kB / 282.6 MB, free: 0.918 MB / 234.7 MB Notification: Performance of SimCode: time 3.506e-06/0.098, allocations: 0 / 282.6 MB, free: 0.918 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.24/2.338, allocations: 2.795 MB / 285.4 MB, free: 14.12 MB / 250.7 MB