Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadModel(ModelicaTest): time 2.036/2.036, allocations: 209.2 MB / 225.4 MB, free: 0.6875 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004251/0.0004251, allocations: 15.98 kB / 283.1 MB, free: 9.715 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1065, allocations: 48.71 MB / 331.8 MB, free: 8.922 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4432/0.5497, allocations: 73.37 MB / 405.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.5501, allocations: 67.97 kB / 405.3 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008025/0.5581, allocations: 1.953 MB / 407.2 MB, free: 9.824 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.5582, allocations: 0 / 407.2 MB, free: 9.824 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.5582, allocations: 0 / 407.2 MB, free: 9.824 MB / 330.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.0005511/0.5587, allocations: 387.3 kB / 407.6 MB, free: 9.395 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.5588, allocations: 8.031 kB / 407.6 MB, free: 9.387 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.517e-05/0.5589, allocations: 11.91 kB / 407.6 MB, free: 9.375 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.559, allocations: 167 kB / 407.8 MB, free: 9.172 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.5591, allocations: 16.19 kB / 407.8 MB, free: 9.156 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.733e-05/0.5591, allocations: 19.89 kB / 407.8 MB, free: 9.137 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003245/0.5595, allocations: 125 kB / 407.9 MB, free: 9.004 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.5595, allocations: 4 kB / 407.9 MB, free: 9 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.5595, allocations: 7.984 kB / 407.9 MB, free: 8.992 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.5596, allocations: 4 kB / 407.9 MB, free: 8.988 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.5598, allocations: 59.91 kB / 408 MB, free: 8.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.5608, allocations: 0.5372 MB / 408.5 MB, free: 8.332 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.5611, allocations: 85.08 kB / 408.6 MB, free: 8.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/0.5611, allocations: 4 kB / 408.6 MB, free: 8.227 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/0.5612, allocations: 42.73 kB / 408.7 MB, free: 8.176 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 2.394e-06/0.5612, allocations: 0 / 408.7 MB, free: 8.176 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008008/0.562, allocations: 297.3 kB / 409 MB, free: 7.836 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.5621, allocations: 77.11 kB / 409 MB, free: 7.742 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.5622, allocations: 128.1 kB / 409.2 MB, free: 7.609 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.5622, allocations: 33.7 kB / 409.2 MB, free: 7.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.5624, allocations: 190 kB / 409.4 MB, free: 7.383 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.991e-05/0.5624, allocations: 31.55 kB / 409.4 MB, free: 7.352 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/0.5624, allocations: 8 kB / 409.4 MB, free: 7.344 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.5626, allocations: 318.8 kB / 409.7 MB, free: 7.023 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.782e-05/0.5627, allocations: 20 kB / 409.7 MB, free: 7.004 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.5628, allocations: 92.5 kB / 409.8 MB, free: 6.883 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.892e-05/0.5629, allocations: 32 kB / 409.9 MB, free: 6.852 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5629, allocations: 4 kB / 409.9 MB, free: 6.848 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004247/0.5634, allocations: 167 kB / 410 MB, free: 6.672 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.5634, allocations: 8 kB / 410 MB, free: 6.664 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.5634, allocations: 0 / 410 MB, free: 6.664 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002367/0.5637, allocations: 37.91 kB / 410.1 MB, free: 6.621 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.5638, allocations: 27.94 kB / 410.1 MB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/0.5663, allocations: 2.55 MB / 412.7 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.5665, allocations: 11.94 kB / 412.7 MB, free: 3.773 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.5665, allocations: 12.31 kB / 412.7 MB, free: 3.762 MB / 330.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.0001571/0.5667, allocations: 125.7 kB / 412.8 MB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.577e-05/0.5667, allocations: 4 kB / 412.8 MB, free: 3.625 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.611e-05/0.5668, allocations: 15.86 kB / 412.8 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.5668, allocations: 0 / 412.8 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.5668, allocations: 4 kB / 412.8 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5668, allocations: 0 / 412.8 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.5672, allocations: 197.5 kB / 413 MB, free: 3.359 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.5672, allocations: 4 kB / 413 MB, free: 3.355 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.5674, allocations: 23.92 kB / 413 MB, free: 3.332 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001658/0.5675, allocations: 33.7 kB / 413.1 MB, free: 3.293 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.5676, allocations: 0.875 kB / 413.1 MB, free: 3.293 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002499/0.5701, allocations: 2.556 MB / 415.6 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.5701, allocations: 4.031 kB / 415.6 MB, free: 476 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004572/0.5706, allocations: 300.3 kB / 415.9 MB, free: 152 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.568e-05/0.5707, allocations: 89.14 kB / 416 MB, free: 44 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.5707, allocations: 8 kB / 416 MB, free: 36 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.5709, allocations: 3.938 kB / 416 MB, free: 32 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.5709, allocations: 8.031 kB / 416 MB, free: 24 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.5709, allocations: 8 kB / 416 MB, free: 16 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.571, allocations: 91.27 kB / 416.1 MB, free: 15.93 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5711, allocations: 0 / 416.1 MB, free: 15.93 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004843/0.5716, allocations: 32 kB / 416.2 MB, free: 15.89 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.phi,J2.w,J3.phi,J4.w) * 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.0001681/0.5717, allocations: 107.2 kB / 416.3 MB, free: 15.78 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005754/0.5723, allocations: 293.7 kB / 416.6 MB, free: 15.47 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.5723, allocations: 4 kB / 416.6 MB, free: 15.46 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003809/0.5727, allocations: 258.1 kB / 416.8 MB, free: 15.19 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.5732, allocations: 28.41 kB / 416.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.5744, allocations: 0.5913 MB / 417.4 MB, free: 14.53 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.5748, allocations: 0.72 MB / 418.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.898e-05/0.5749, allocations: 11.44 kB / 418.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of SimCode: time 8.02e-07/0.5749, allocations: 0 / 418.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of Templates: time 0.005911/0.5808, allocations: 2.352 MB / 420.5 MB, free: 11.42 MB / 346.7 MB