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.054/1.054, allocations: 111.1 MB / 126.7 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002807/0.0002808, allocations: 8 kB / 158.3 MB, free: 15.13 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05529/0.05562, allocations: 25.16 MB / 183.5 MB, free: 5.922 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002727/0.05841, allocations: 1.53 MB / 185 MB, free: 4.391 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004853/0.05895, allocations: 167.4 kB / 185.2 MB, free: 4.227 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.05908, allocations: 4 kB / 185.2 MB, free: 4.223 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 6.336e-05/0.05915, allocations: 23.84 kB / 185.2 MB, free: 4.199 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.05936, allocations: 51.83 kB / 185.3 MB, free: 4.148 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001793/0.05955, allocations: 27.97 kB / 185.3 MB, free: 4.121 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002818/0.05985, allocations: 131.8 kB / 185.4 MB, free: 3.992 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.06006, allocations: 54.41 kB / 185.5 MB, free: 3.938 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.239e-05/0.06016, allocations: 55.78 kB / 185.5 MB, free: 3.883 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.06031, allocations: 67.64 kB / 185.6 MB, free: 3.816 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 3.441e-05/0.06036, allocations: 8 kB / 185.6 MB, free: 3.809 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.349e-05/0.06041, allocations: 12 kB / 185.6 MB, free: 3.797 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 3.698e-05/0.06046, allocations: 23.91 kB / 185.7 MB, free: 3.773 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 6.33e-05/0.06053, allocations: 61.56 kB / 185.7 MB, free: 3.707 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.06077, allocations: 127.6 kB / 185.8 MB, free: 3.582 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.06079, allocations: 0 / 185.8 MB, free: 3.582 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.0608, allocations: 0 / 185.8 MB, free: 3.582 MB / 154.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.06081, allocations: 0 / 185.8 MB, free: 3.582 MB / 154.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.0007834/0.06161, allocations: 443.2 kB / 186.3 MB, free: 3.102 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.06166, allocations: 8.031 kB / 186.3 MB, free: 3.094 MB / 154.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.044e-05/0.06174, allocations: 46.55 kB / 186.3 MB, free: 3.039 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.284e-05/0.06182, allocations: 23.72 kB / 186.3 MB, free: 3.016 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.06211, allocations: 214.8 kB / 186.6 MB, free: 2.766 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.06215, allocations: 13.08 kB / 186.6 MB, free: 2.754 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.092e-05/0.06222, allocations: 16 kB / 186.6 MB, free: 2.738 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004438/0.06267, allocations: 196 kB / 186.8 MB, free: 2.531 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.0627, allocations: 0 / 186.8 MB, free: 2.531 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.06274, allocations: 8 kB / 186.8 MB, free: 2.523 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.06276, allocations: 4 kB / 186.8 MB, free: 2.52 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.06308, allocations: 103.9 kB / 186.9 MB, free: 2.418 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.06482, allocations: 0.7834 MB / 187.7 MB, free: 1.566 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.06514, allocations: 111.7 kB / 187.8 MB, free: 1.43 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.06518, allocations: 8.031 kB / 187.8 MB, free: 1.422 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.06522, allocations: 34.69 kB / 187.8 MB, free: 1.379 MB / 154.7 MB Notification: Performance of pre-optimization done (n=13): time 2.785e-06/0.06523, allocations: 0 / 187.8 MB, free: 1.379 MB / 154.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004598/0.0657, allocations: 141.9 kB / 188 MB, free: 1.234 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/0.06578, allocations: 106.8 kB / 188.1 MB, free: 1.105 MB / 154.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/0.06609, allocations: 210.9 kB / 188.3 MB, free: 0.8867 MB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.06613, allocations: 33.7 kB / 188.3 MB, free: 0.8477 MB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.06628, allocations: 198.4 kB / 188.5 MB, free: 0.6484 MB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.989e-05/0.06635, allocations: 51.33 kB / 188.5 MB, free: 0.5977 MB / 154.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.563e-05/0.06638, allocations: 11.94 kB / 188.6 MB, free: 0.5859 MB / 154.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.06653, allocations: 322.8 kB / 188.9 MB, free: 268 kB / 154.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.06666, allocations: 36.45 kB / 188.9 MB, free: 228 kB / 154.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.06686, allocations: 132.9 kB / 189 MB, free: 52 kB / 154.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.06708, allocations: 60.02 kB / 189.1 MB, free: 15.99 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.06709, allocations: 0 / 189.1 MB, free: 15.99 MB / 170.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004852/0.06759, allocations: 197.5 kB / 189.3 MB, free: 15.79 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.06762, allocations: 8 kB / 189.3 MB, free: 15.78 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.06765, allocations: 4 kB / 189.3 MB, free: 15.78 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.06768, allocations: 4 kB / 189.3 MB, free: 15.77 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/0.06802, allocations: 43.92 kB / 189.3 MB, free: 15.73 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/0.06805, allocations: 7.984 kB / 189.4 MB, free: 15.72 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.06826, allocations: 27.69 kB / 189.4 MB, free: 15.7 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.0683, allocations: 16 kB / 189.4 MB, free: 15.68 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.0001691/0.06848, allocations: 137.7 kB / 189.5 MB, free: 15.54 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.582e-05/0.06858, allocations: 23.75 kB / 189.6 MB, free: 15.51 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.941e-05/0.06866, allocations: 20.98 kB / 189.6 MB, free: 15.49 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.06868, allocations: 4 kB / 189.6 MB, free: 15.49 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.0687, allocations: 0 / 189.6 MB, free: 15.49 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.06871, allocations: 0 / 189.6 MB, free: 15.49 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006558/0.06938, allocations: 245.5 kB / 189.8 MB, free: 15.2 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.0694, allocations: 0 / 189.8 MB, free: 15.2 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000329/0.06974, allocations: 31.92 kB / 189.9 MB, free: 15.17 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.06976, allocations: 0 / 189.9 MB, free: 15.17 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.06979, allocations: 4 kB / 189.9 MB, free: 15.16 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.0698, allocations: 0 / 189.9 MB, free: 15.16 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/0.06982, allocations: 7.984 kB / 189.9 MB, free: 15.16 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005045/0.07033, allocations: 397.7 kB / 190.3 MB, free: 14.75 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.076e-05/0.07044, allocations: 100.9 kB / 190.4 MB, free: 14.63 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.586e-05/0.07049, allocations: 4 kB / 190.4 MB, free: 14.63 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.07073, allocations: 4.375 kB / 190.4 MB, free: 14.62 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.07078, allocations: 15.92 kB / 190.4 MB, free: 14.61 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.0708, allocations: 8 kB / 190.4 MB, free: 14.6 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0002022/0.07101, allocations: 156.4 kB / 190.5 MB, free: 14.45 MB / 170.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.07102, allocations: 0 / 190.5 MB, free: 14.45 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0005006/0.07153, allocations: 36 kB / 190.6 MB, free: 14.41 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.0008428/0.07239, allocations: 0.9375 MB / 191.5 MB, free: 13.45 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.000354/0.07277, allocations: 107.9 kB / 191.6 MB, free: 13.34 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.07278, allocations: 3.938 kB / 191.6 MB, free: 13.34 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 9.764e-05/0.07289, allocations: 40.61 kB / 191.7 MB, free: 13.3 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005227/0.07343, allocations: 27.98 kB / 191.7 MB, free: 13.27 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003247/0.07669, allocations: 1.5 MB / 193.2 MB, free: 11.66 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.07715, allocations: 0.7361 MB / 193.9 MB, free: 10.9 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.0773, allocations: 59.41 kB / 194 MB, free: 10.84 MB / 170.7 MB Notification: Performance of SimCode: time 1.422e-06/0.07731, allocations: 0 / 194 MB, free: 10.84 MB / 170.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.762/2.839, allocations: 2.794 MB / 196.8 MB, free: 8.047 MB / 170.7 MB