Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadModel(Modelica): time 1.196/1.196, allocations: 111.1 MB / 126.7 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002662/0.0002661, allocations: 4 kB / 158.2 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04596/0.04625, allocations: 25.17 MB / 183.4 MB, free: 6.016 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002478/0.04878, allocations: 1.647 MB / 185.1 MB, free: 4.367 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004491/0.04927, allocations: 203.3 kB / 185.3 MB, free: 4.168 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.04938, allocations: 4 kB / 185.3 MB, free: 4.164 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 6.67e-05/0.04946, allocations: 27.77 kB / 185.3 MB, free: 4.137 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001785/0.04965, allocations: 63.84 kB / 185.4 MB, free: 4.074 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.04983, allocations: 43.91 kB / 185.4 MB, free: 4.031 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.05008, allocations: 159.7 kB / 185.6 MB, free: 3.875 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.0503, allocations: 81.97 kB / 185.6 MB, free: 3.797 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.05043, allocations: 71.73 kB / 185.7 MB, free: 3.727 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.0506, allocations: 87.61 kB / 185.8 MB, free: 3.641 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 3.393e-05/0.05065, allocations: 12 kB / 185.8 MB, free: 3.629 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.935e-05/0.0507, allocations: 8 kB / 185.8 MB, free: 3.621 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 4.357e-05/0.05076, allocations: 35.86 kB / 185.8 MB, free: 3.586 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 7.223e-05/0.05084, allocations: 61.64 kB / 185.9 MB, free: 3.52 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.05112, allocations: 195.7 kB / 186.1 MB, free: 3.328 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.63e-06/0.05113, allocations: 3.938 kB / 186.1 MB, free: 3.324 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.088e-06/0.05114, allocations: 0 / 186.1 MB, free: 3.324 MB / 154.7 MB Notification: Performance of Transformations before backend: time 6.568e-06/0.05116, allocations: 0 / 186.1 MB, free: 3.324 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007726/0.05194, allocations: 475.2 kB / 186.6 MB, free: 2.812 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.052, allocations: 12.03 kB / 186.6 MB, free: 2.801 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.148e-05/0.05208, allocations: 23.72 kB / 186.6 MB, free: 2.777 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.05236, allocations: 210.8 kB / 186.8 MB, free: 2.531 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.05241, allocations: 20.56 kB / 186.8 MB, free: 2.512 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.705e-05/0.05248, allocations: 23.91 kB / 186.8 MB, free: 2.488 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000484/0.05297, allocations: 232.3 kB / 187.1 MB, free: 2.242 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.053, allocations: 0 / 187.1 MB, free: 2.242 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.05305, allocations: 15.94 kB / 187.1 MB, free: 2.227 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.05307, allocations: 4 kB / 187.1 MB, free: 2.223 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003348/0.05341, allocations: 127.9 kB / 187.2 MB, free: 2.098 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.05496, allocations: 0.8634 MB / 188.1 MB, free: 1.172 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003261/0.05532, allocations: 163.7 kB / 188.2 MB, free: 0.9766 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.05535, allocations: 0 / 188.2 MB, free: 0.9766 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.05539, allocations: 42.56 kB / 188.3 MB, free: 0.9258 MB / 154.7 MB Notification: Performance of pre-optimization done (n=17): time 2.49e-06/0.05541, allocations: 0 / 188.3 MB, free: 0.9258 MB / 154.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005416/0.05596, allocations: 169.7 kB / 188.5 MB, free: 0.7539 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.104e-05/0.05605, allocations: 110.8 kB / 188.6 MB, free: 0.6172 MB / 154.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.05633, allocations: 195 kB / 188.7 MB, free: 424 kB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.05637, allocations: 25.7 kB / 188.8 MB, free: 392 kB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.05655, allocations: 234.2 kB / 189 MB, free: 152 kB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.048e-05/0.05663, allocations: 63.09 kB / 189.1 MB, free: 88 kB / 154.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.372e-05/0.05666, allocations: 4 kB / 189.1 MB, free: 84 kB / 154.7 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.05686, allocations: 322.8 kB / 189.4 MB, free: 15.76 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.05701, allocations: 44.55 kB / 189.4 MB, free: 15.71 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.05724, allocations: 150.8 kB / 189.6 MB, free: 15.52 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.05744, allocations: 75.92 kB / 189.6 MB, free: 15.44 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.194e-06/0.05745, allocations: 0 / 189.6 MB, free: 15.44 MB / 170.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005326/0.05799, allocations: 237.2 kB / 189.9 MB, free: 15.2 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.05803, allocations: 6.031 kB / 189.9 MB, free: 15.2 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.05805, allocations: 8 kB / 189.9 MB, free: 15.19 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.05809, allocations: 11.98 kB / 189.9 MB, free: 15.18 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.05839, allocations: 59.92 kB / 190 MB, free: 15.12 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.05842, allocations: 4 kB / 190 MB, free: 15.12 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.05863, allocations: 27.69 kB / 190 MB, free: 15.09 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/0.05868, allocations: 16.23 kB / 190 MB, free: 15.07 MB / 170.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (33): * Single equations (assignments): 33 * 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.0001875/0.05888, allocations: 149.6 kB / 190.2 MB, free: 14.92 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.059, allocations: 19.81 kB / 190.2 MB, free: 14.9 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.93e-05/0.05907, allocations: 21.41 kB / 190.2 MB, free: 14.88 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.956e-06/0.05909, allocations: 0 / 190.2 MB, free: 14.88 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.811e-06/0.05911, allocations: 4 kB / 190.2 MB, free: 14.88 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.112e-06/0.05913, allocations: 3.984 kB / 190.2 MB, free: 14.88 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008072/0.05994, allocations: 420.9 kB / 190.6 MB, free: 14.4 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.759e-06/0.05997, allocations: 0 / 190.6 MB, free: 14.4 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002682/0.06025, allocations: 35.98 kB / 190.7 MB, free: 14.36 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.052e-06/0.06027, allocations: 4 kB / 190.7 MB, free: 14.36 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.0603, allocations: 4 kB / 190.7 MB, free: 14.36 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.079e-05/0.06032, allocations: 11.92 kB / 190.7 MB, free: 14.34 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.06034, allocations: 3.953 kB / 190.7 MB, free: 14.34 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005375/0.06088, allocations: 366.3 kB / 191 MB, free: 13.95 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.807e-05/0.061, allocations: 100.9 kB / 191.1 MB, free: 13.84 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.085e-05/0.06105, allocations: 4 kB / 191.1 MB, free: 13.83 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.06125, allocations: 7.938 kB / 191.1 MB, free: 13.82 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.0613, allocations: 11.98 kB / 191.2 MB, free: 13.81 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.06134, allocations: 15.94 kB / 191.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.00017/0.06152, allocations: 144.1 kB / 191.3 MB, free: 13.66 MB / 170.7 MB Notification: Performance of sort global known variables: time 7.69e-07/0.06153, allocations: 7.938 kB / 191.3 MB, free: 13.65 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0005205/0.06206, allocations: 55.84 kB / 191.4 MB, free: 13.59 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,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 (17): * Single equations (assignments): 17 * 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.0001358/0.06221, allocations: 99.23 kB / 191.5 MB, free: 13.48 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0003614/0.06258, allocations: 144.4 kB / 191.6 MB, free: 13.34 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.028e-06/0.0626, allocations: 0 / 191.6 MB, free: 13.34 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.06273, allocations: 56.38 kB / 191.7 MB, free: 13.29 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.06316, allocations: 27.08 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.001437/0.06462, allocations: 0.752 MB / 192.4 MB, free: 12.47 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/0.06511, allocations: 0.7478 MB / 193.2 MB, free: 11.7 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.649e-05/0.0652, allocations: 19.44 kB / 193.2 MB, free: 11.68 MB / 170.7 MB Notification: Performance of SimCode: time 1.616e-06/0.06521, allocations: 0 / 193.2 MB, free: 11.68 MB / 170.7 MB Notification: Performance of Templates: time 0.005005/0.07023, allocations: 2.208 MB / 195.4 MB, free: 9.465 MB / 170.7 MB