Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadModel(ModelicaTest): time 2.183/2.183, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004544/0.0004546, allocations: 8 kB / 314.3 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2982, allocations: 54.87 MB / 369.2 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002089/0.3004, allocations: 1.264 MB / 370.4 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002936/0.3007, allocations: 115.7 kB / 370.6 MB, free: 11.37 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.11e-05/0.3008, allocations: 3.938 kB / 370.6 MB, free: 11.37 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.66e-05/0.3008, allocations: 15.86 kB / 370.6 MB, free: 11.35 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.3009, allocations: 39.91 kB / 370.6 MB, free: 11.31 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001072/0.3011, allocations: 15.98 kB / 370.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.3012, allocations: 87.81 kB / 370.7 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.3014, allocations: 21.11 kB / 370.7 MB, free: 11.19 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8e-05/0.3015, allocations: 47.84 kB / 370.8 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.299e-05/0.3016, allocations: 43.84 kB / 370.8 MB, free: 11.1 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.3016, allocations: 4 kB / 370.8 MB, free: 11.1 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.679e-05/0.3016, allocations: 8 kB / 370.8 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.55e-05/0.3017, allocations: 15.92 kB / 370.9 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.794e-05/0.3017, allocations: 49.64 kB / 370.9 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.3019, allocations: 84.45 kB / 371 MB, free: 10.94 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.4e-06/0.3019, allocations: 0 / 371 MB, free: 10.94 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.912e-06/0.3019, allocations: 0 / 371 MB, free: 10.94 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.3019, allocations: 0 / 371 MB, free: 10.94 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005574/0.3025, allocations: 399.2 kB / 371.4 MB, free: 10.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.3026, allocations: 8.031 kB / 371.4 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.776e-05/0.3026, allocations: 11.86 kB / 371.4 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.3029, allocations: 198.9 kB / 371.6 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.3029, allocations: 8.234 kB / 371.6 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.302e-05/0.303, allocations: 19.84 kB / 371.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.3033, allocations: 126.4 kB / 371.7 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.3033, allocations: 0 / 371.7 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.3033, allocations: 12 kB / 371.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.387e-06/0.3033, allocations: 0 / 371.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.3035, allocations: 67.84 kB / 371.8 MB, free: 10 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009908/0.3045, allocations: 0.5411 MB / 372.4 MB, free: 9.402 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.3047, allocations: 85.16 kB / 372.4 MB, free: 9.301 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.3047, allocations: 4 kB / 372.4 MB, free: 9.297 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.3048, allocations: 34.56 kB / 372.5 MB, free: 9.254 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 2.294e-06/0.3048, allocations: 3.938 kB / 372.5 MB, free: 9.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007356/0.3056, allocations: 301.8 kB / 372.8 MB, free: 8.906 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.3056, allocations: 85.05 kB / 372.9 MB, free: 8.805 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.3058, allocations: 117.8 kB / 373 MB, free: 8.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.3058, allocations: 25.7 kB / 373 MB, free: 8.648 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.3059, allocations: 190.1 kB / 373.2 MB, free: 8.461 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.537e-05/0.306, allocations: 35.55 kB / 373.2 MB, free: 8.426 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.792e-06/0.306, allocations: 0 / 373.2 MB, free: 8.426 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3062, allocations: 314.8 kB / 373.5 MB, free: 8.109 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.098e-05/0.3063, allocations: 19.98 kB / 373.6 MB, free: 8.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.3064, allocations: 94.06 kB / 373.6 MB, free: 7.969 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.51e-05/0.3065, allocations: 39.92 kB / 373.7 MB, free: 7.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3065, allocations: 0 / 373.7 MB, free: 7.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000418/0.3069, allocations: 175 kB / 373.9 MB, free: 7.746 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.307, allocations: 8 kB / 373.9 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.727e-06/0.307, allocations: 0 / 373.9 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002203/0.3072, allocations: 37.7 kB / 373.9 MB, free: 7.695 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.3074, allocations: 24.23 kB / 373.9 MB, free: 7.672 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002643/0.31, allocations: 2.544 MB / 376.5 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.3102, allocations: 11.84 kB / 376.5 MB, free: 4.848 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.3102, allocations: 8.25 kB / 376.5 MB, free: 4.84 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001488/0.3103, allocations: 129.7 kB / 376.6 MB, free: 4.703 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.203e-05/0.3104, allocations: 4.094 kB / 376.6 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.336e-05/0.3105, allocations: 23.88 kB / 376.6 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.989e-06/0.3105, allocations: 0 / 376.6 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3105, allocations: 0 / 376.6 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.814e-06/0.3105, allocations: 4 kB / 376.6 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003584/0.3109, allocations: 201.5 kB / 376.8 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.562e-06/0.3109, allocations: 3.984 kB / 376.8 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.311, allocations: 16 kB / 376.9 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000177/0.3112, allocations: 37.64 kB / 376.9 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.3113, allocations: 7.938 kB / 376.9 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002549/0.3138, allocations: 2.541 MB / 379.4 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.3139, allocations: 3.938 kB / 379.4 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004362/0.3143, allocations: 300.3 kB / 379.7 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.862e-05/0.3144, allocations: 89.05 kB / 379.8 MB, free: 1.117 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.3144, allocations: 96 / 379.8 MB, free: 1.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.3146, allocations: 12.19 kB / 379.8 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.3146, allocations: 15.88 kB / 379.9 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.3147, allocations: 3.984 kB / 379.9 MB, free: 1.086 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.916e-05/0.3147, allocations: 87.28 kB / 379.9 MB, free: 1 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.05e-07/0.3148, allocations: 0 / 379.9 MB, free: 1 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004931/0.3153, allocations: 36 kB / 380 MB, free: 0.9648 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001484/0.3154, allocations: 111.2 kB / 380.1 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005463/0.316, allocations: 293.2 kB / 380.4 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.353e-06/0.316, allocations: 0 / 380.4 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003711/0.3164, allocations: 253.9 kB / 380.6 MB, free: 264 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.3168, allocations: 25.53 kB / 380.6 MB, free: 240 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.3179, allocations: 0.5844 MB / 381.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004257/0.3184, allocations: 0.72 MB / 382 MB, free: 14.87 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/0.3184, allocations: 15.44 kB / 382 MB, free: 14.85 MB / 314.7 MB Notification: Performance of SimCode: time 1.564e-06/0.3184, allocations: 0 / 382 MB, free: 14.85 MB / 314.7 MB Notification: Performance of Templates: time 0.005086/0.3235, allocations: 2.342 MB / 384.3 MB, free: 12.5 MB / 314.7 MB