Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Translational.TestBraking.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Translational.TestBraking") Notification: Performance of loadModel(ModelicaTest): time 2.23/2.23, allocations: 234.9 MB / 250.5 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000441/0.0004411, allocations: 12 kB / 314.3 MB, free: 9.656 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2897, allocations: 54.86 MB / 369.2 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.002803/0.2925, allocations: 1.767 MB / 370.9 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.2939, allocations: 0.6793 MB / 371.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.2941, allocations: 4 kB / 371.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.01e-05/0.2941, allocations: 19.78 kB / 371.6 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.2944, allocations: 83.75 kB / 371.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.2947, allocations: 75.84 kB / 371.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003125/0.295, allocations: 175.6 kB / 372 MB, free: 9.938 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.2952, allocations: 60.61 kB / 372 MB, free: 9.871 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.2954, allocations: 83.64 kB / 372.1 MB, free: 9.789 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.2955, allocations: 87.62 kB / 372.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.813e-05/0.2956, allocations: 12 kB / 372.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.369e-05/0.2957, allocations: 16 kB / 372.2 MB, free: 9.676 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.152e-05/0.2957, allocations: 35.83 kB / 372.3 MB, free: 9.641 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.619e-05/0.2958, allocations: 73.52 kB / 372.3 MB, free: 9.562 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.2961, allocations: 172.2 kB / 372.5 MB, free: 9.395 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.127e-06/0.2961, allocations: 4 kB / 372.5 MB, free: 9.391 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.126e-06/0.2961, allocations: 0 / 372.5 MB, free: 9.391 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.665e-06/0.2961, allocations: 0 / 372.5 MB, free: 9.391 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008542/0.297, allocations: 498.8 kB / 373 MB, free: 8.855 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.297, allocations: 12.03 kB / 373 MB, free: 8.844 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.464e-05/0.2971, allocations: 23.72 kB / 373 MB, free: 8.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.2975, allocations: 234.6 kB / 373.2 MB, free: 8.551 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.2975, allocations: 16.44 kB / 373.3 MB, free: 8.535 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.775e-05/0.2976, allocations: 20 kB / 373.3 MB, free: 8.516 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004641/0.298, allocations: 222.6 kB / 373.5 MB, free: 8.281 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/0.2981, allocations: 7.906 kB / 373.5 MB, free: 8.273 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.2981, allocations: 8 kB / 373.5 MB, free: 8.266 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.2982, allocations: 11.98 kB / 373.5 MB, free: 8.254 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003416/0.2985, allocations: 131.9 kB / 373.7 MB, free: 8.125 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.3003, allocations: 0.9847 MB / 374.6 MB, free: 7.055 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004507/0.3008, allocations: 230.5 kB / 374.9 MB, free: 6.793 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.3009, allocations: 4 kB / 374.9 MB, free: 6.789 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/0.3009, allocations: 42.56 kB / 374.9 MB, free: 6.738 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 3.034e-06/0.3009, allocations: 3.938 kB / 374.9 MB, free: 6.734 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.001829/0.3028, allocations: 1.003 MB / 375.9 MB, free: 5.586 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.996e-05/0.3029, allocations: 140.5 kB / 376.1 MB, free: 5.418 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.3031, allocations: 182.6 kB / 376.2 MB, free: 5.227 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.3032, allocations: 33.7 kB / 376.3 MB, free: 5.188 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.3034, allocations: 214.6 kB / 376.5 MB, free: 4.977 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.3035, allocations: 106.5 kB / 376.6 MB, free: 4.871 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.911e-05/0.3035, allocations: 8 kB / 376.6 MB, free: 4.863 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.3037, allocations: 322.8 kB / 376.9 MB, free: 4.539 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.3039, allocations: 64.72 kB / 377 MB, free: 4.477 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002791/0.3042, allocations: 184 kB / 377.1 MB, free: 4.246 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002394/0.3044, allocations: 104.1 kB / 377.3 MB, free: 4.145 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.372e-06/0.3044, allocations: 0 / 377.3 MB, free: 4.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006749/0.3051, allocations: 305 kB / 377.5 MB, free: 3.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.3052, allocations: 4 kB / 377.6 MB, free: 3.836 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.3052, allocations: 4 kB / 377.6 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.3052, allocations: 8 kB / 377.6 MB, free: 3.824 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003904/0.3056, allocations: 83.89 kB / 377.6 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/0.3057, allocations: 11.94 kB / 377.7 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.3059, allocations: 11.94 kB / 377.7 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.3059, allocations: 20.31 kB / 377.7 MB, free: 3.699 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (45): * Single equations (assignments): 45 * 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.000179/0.3061, allocations: 141.7 kB / 377.8 MB, free: 3.551 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.3063, allocations: 31.7 kB / 377.9 MB, free: 3.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002749/0.3065, allocations: 103 kB / 378 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.3066, allocations: 4 kB / 378 MB, free: 3.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.045e-06/0.3066, allocations: 0 / 378 MB, free: 3.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.3066, allocations: 11.98 kB / 378 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.3082, allocations: 0.7789 MB / 378.8 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.3082, allocations: 7.984 kB / 378.8 MB, free: 2.535 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004156/0.3086, allocations: 68.09 kB / 378.8 MB, free: 2.469 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.3087, allocations: 8 kB / 378.8 MB, free: 2.461 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.689e-05/0.3087, allocations: 8 kB / 378.8 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.25e-06/0.3087, allocations: 7.938 kB / 378.9 MB, free: 2.445 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.79e-06/0.3087, allocations: 4 kB / 378.9 MB, free: 2.441 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000797/0.3095, allocations: 0.6201 MB / 379.5 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.459e-05/0.3097, allocations: 101 kB / 379.6 MB, free: 1.664 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.757e-05/0.3097, allocations: 8 kB / 379.6 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003151/0.31, allocations: 8 kB / 379.6 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.849e-05/0.3101, allocations: 31.91 kB / 379.6 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.3101, allocations: 11.94 kB / 379.6 MB, free: 1.605 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001606/0.3103, allocations: 140.2 kB / 379.8 MB, free: 1.469 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.43e-07/0.3103, allocations: 0 / 379.8 MB, free: 1.469 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006446/0.311, allocations: 60 kB / 379.8 MB, free: 1.41 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.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 (29): * Single equations (assignments): 29 * 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.0001378/0.3111, allocations: 103.2 kB / 379.9 MB, free: 1.301 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004827/0.3116, allocations: 203.9 kB / 380.1 MB, free: 1.102 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.3117, allocations: 0 / 380.1 MB, free: 1.102 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.3119, allocations: 88.81 kB / 380.2 MB, free: 1.016 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006244/0.3125, allocations: 57.95 kB / 380.3 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.3146, allocations: 1.118 MB / 381.4 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005029/0.3151, allocations: 0.756 MB / 382.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.528e-05/0.3152, allocations: 23.44 kB / 382.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of SimCode: time 1.763e-06/0.3152, allocations: 4 kB / 382.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of Templates: time 0.005934/0.3212, allocations: 2.772 MB / 384.9 MB, free: 12.2 MB / 314.7 MB