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.Oscillator.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.Oscillator,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.115/1.115, allocations: 111.1 MB / 126.7 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003531, allocations: 4 kB / 158.3 MB, free: 15.14 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06668/0.06708, allocations: 25.18 MB / 183.5 MB, free: 5.918 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.00388/0.07116, allocations: 1.718 MB / 185.2 MB, free: 4.199 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.0726, allocations: 0.4955 MB / 185.7 MB, free: 3.699 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.07277, allocations: 4 kB / 185.7 MB, free: 3.695 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 9.137e-05/0.07288, allocations: 27.77 kB / 185.8 MB, free: 3.668 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.07321, allocations: 79.77 kB / 185.8 MB, free: 3.59 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.07351, allocations: 39.95 kB / 185.9 MB, free: 3.551 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.000437/0.07397, allocations: 171.6 kB / 186 MB, free: 3.383 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002749/0.07426, allocations: 81.61 kB / 186.1 MB, free: 3.305 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002077/0.07448, allocations: 75.72 kB / 186.2 MB, free: 3.23 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.07474, allocations: 91.55 kB / 186.3 MB, free: 3.141 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 5.199e-05/0.07481, allocations: 8 kB / 186.3 MB, free: 3.133 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.88e-05/0.07489, allocations: 12 kB / 186.3 MB, free: 3.121 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 6.591e-05/0.07497, allocations: 31.84 kB / 186.3 MB, free: 3.09 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 9.759e-05/0.07509, allocations: 69.58 kB / 186.4 MB, free: 3.016 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003725/0.07548, allocations: 183.4 kB / 186.6 MB, free: 2.836 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.0755, allocations: 0 / 186.6 MB, free: 2.836 MB / 154.7 MB Notification: Performance of FrontEnd: time 4.578e-06/0.07551, allocations: 0 / 186.6 MB, free: 2.836 MB / 154.7 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.07553, allocations: 3.938 kB / 186.6 MB, free: 2.832 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001261/0.0768, allocations: 491 kB / 187.1 MB, free: 2.305 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.07688, allocations: 12.03 kB / 187.1 MB, free: 2.293 MB / 154.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001033/0.07699, allocations: 54.55 kB / 187.1 MB, free: 2.23 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.286e-05/0.0771, allocations: 27.72 kB / 187.2 MB, free: 2.203 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/0.07753, allocations: 230.5 kB / 187.4 MB, free: 1.938 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.07758, allocations: 12.44 kB / 187.4 MB, free: 1.926 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.827e-05/0.07767, allocations: 24 kB / 187.4 MB, free: 1.902 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008891/0.07857, allocations: 221.8 kB / 187.6 MB, free: 1.672 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.07862, allocations: 0 / 187.6 MB, free: 1.672 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.286e-05/0.07867, allocations: 8 kB / 187.6 MB, free: 1.664 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.0787, allocations: 4 kB / 187.6 MB, free: 1.66 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007589/0.07947, allocations: 149.1 kB / 187.8 MB, free: 1.516 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002313/0.0818, allocations: 0.7969 MB / 188.6 MB, free: 0.6523 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008292/0.08266, allocations: 205 kB / 188.8 MB, free: 444 kB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.875e-05/0.08272, allocations: 4 kB / 188.8 MB, free: 440 kB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.08277, allocations: 34.56 kB / 188.8 MB, free: 396 kB / 154.7 MB Notification: Performance of pre-optimization done (n=21): time 2.615e-06/0.08278, allocations: 0 / 188.8 MB, free: 396 kB / 154.7 MB Notification: Performance of matching and sorting (n=25): time 0.003175/0.08597, allocations: 0.8555 MB / 189.7 MB, free: 15.44 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/0.08607, allocations: 85.11 kB / 189.8 MB, free: 15.34 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003164/0.08641, allocations: 182.7 kB / 189.9 MB, free: 15.15 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/0.08646, allocations: 25.7 kB / 190 MB, free: 15.12 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.08665, allocations: 202.8 kB / 190.2 MB, free: 14.91 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.08681, allocations: 94.8 kB / 190.3 MB, free: 14.82 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/0.08684, allocations: 4 kB / 190.3 MB, free: 14.82 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.08701, allocations: 326.8 kB / 190.6 MB, free: 14.49 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/0.08732, allocations: 67.97 kB / 190.6 MB, free: 14.42 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003096/0.08764, allocations: 112.2 kB / 190.8 MB, free: 14.3 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.08797, allocations: 79.98 kB / 190.8 MB, free: 14.22 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.08799, allocations: 0 / 190.8 MB, free: 14.22 MB / 170.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007503/0.08875, allocations: 231.8 kB / 191.1 MB, free: 13.99 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.08879, allocations: 9.875 kB / 191.1 MB, free: 13.98 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.08881, allocations: 4.094 kB / 191.1 MB, free: 13.98 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.08884, allocations: 4 kB / 191.1 MB, free: 13.97 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004996/0.08935, allocations: 63.91 kB / 191.1 MB, free: 13.91 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.08937, allocations: 3.938 kB / 191.1 MB, free: 13.91 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.0896, allocations: 15.98 kB / 191.2 MB, free: 13.89 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.784e-05/0.08964, allocations: 8 kB / 191.2 MB, free: 13.88 MB / 170.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (31): * Single equations (assignments): 31 * 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.0001865/0.08984, allocations: 141.7 kB / 191.3 MB, free: 13.73 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.195e-05/0.08994, allocations: 27.72 kB / 191.3 MB, free: 13.71 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.687e-05/0.09004, allocations: 29.86 kB / 191.4 MB, free: 13.68 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.09006, allocations: 4 kB / 191.4 MB, free: 13.68 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.09007, allocations: 0 / 191.4 MB, free: 13.68 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.09009, allocations: 0 / 191.4 MB, free: 13.68 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.09139, allocations: 0.5749 MB / 191.9 MB, free: 13.04 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.09141, allocations: 0 / 191.9 MB, free: 13.04 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005246/0.09195, allocations: 55.91 kB / 192 MB, free: 12.98 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-06/0.09197, allocations: 4 kB / 192 MB, free: 12.98 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/0.09201, allocations: 8 kB / 192 MB, free: 12.97 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.09203, allocations: 3.984 kB / 192 MB, free: 12.96 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.09204, allocations: 3.953 kB / 192 MB, free: 12.96 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.09312, allocations: 0.4972 MB / 192.5 MB, free: 12.44 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.09327, allocations: 101 kB / 192.6 MB, free: 12.32 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.025e-05/0.09334, allocations: 11.94 kB / 192.6 MB, free: 12.31 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.09361, allocations: 15.98 kB / 192.6 MB, free: 12.29 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.666e-05/0.0937, allocations: 19.94 kB / 192.7 MB, free: 12.27 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.09374, allocations: 7.984 kB / 192.7 MB, free: 12.27 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.000155/0.0939, allocations: 136.3 kB / 192.8 MB, free: 12.13 MB / 170.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.09391, allocations: 0 / 192.8 MB, free: 12.13 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0004955/0.09442, allocations: 52 kB / 192.9 MB, free: 12.08 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.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 (25): * Single equations (assignments): 25 * 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.001371/0.0958, allocations: 1.031 MB / 193.9 MB, free: 11.01 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0006522/0.09648, allocations: 184 kB / 194.1 MB, free: 10.83 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.0965, allocations: 0 / 194.1 MB, free: 10.83 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003045/0.09681, allocations: 96.2 kB / 194.2 MB, free: 10.74 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005368/0.09737, allocations: 40.44 kB / 194.2 MB, free: 10.7 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003669/0.1011, allocations: 1.6 MB / 195.8 MB, free: 9.012 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.1015, allocations: 0.7558 MB / 196.6 MB, free: 8.23 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.1017, allocations: 71.42 kB / 196.6 MB, free: 8.164 MB / 170.7 MB Notification: Performance of SimCode: time 7.92e-07/0.1017, allocations: 0 / 196.6 MB, free: 8.164 MB / 170.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.665/2.767, allocations: 3.465 MB / 200.1 MB, free: 4.695 MB / 170.7 MB