Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 1.839/1.839, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.682e-05/2.707e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08968/0.08973, allocations: 48.71 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4145/0.5043, allocations: 73.3 MB / 399.8 MB, free: 10.32 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/0.5047, allocations: 63.91 kB / 399.9 MB, free: 10.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01106/0.5157, allocations: 1.958 MB / 401.9 MB, free: 9.797 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.791e-06/0.5158, allocations: 3.938 kB / 401.9 MB, free: 9.793 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.5158, allocations: 3.719 kB / 401.9 MB, free: 9.793 MB / 314.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.0005307/0.5164, allocations: 364.4 kB / 402.2 MB, free: 9.422 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.5165, allocations: 11.53 kB / 402.2 MB, free: 9.422 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.027e-05/0.5166, allocations: 7.75 kB / 402.2 MB, free: 9.418 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.5167, allocations: 182.7 kB / 402.4 MB, free: 9.207 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.5168, allocations: 13.5 kB / 402.4 MB, free: 9.203 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.973e-05/0.5169, allocations: 14.56 kB / 402.4 MB, free: 9.203 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004178/0.5173, allocations: 126 kB / 402.6 MB, free: 9.141 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.5173, allocations: 0 / 402.6 MB, free: 9.141 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/0.5174, allocations: 6.438 kB / 402.6 MB, free: 9.141 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.912e-06/0.5174, allocations: 0 / 402.6 MB, free: 9.141 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002482/0.5177, allocations: 63.52 kB / 402.6 MB, free: 9.129 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.519, allocations: 0.5389 MB / 403.2 MB, free: 8.668 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.5193, allocations: 91.67 kB / 403.3 MB, free: 8.609 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.101e-05/0.5194, allocations: 23.69 kB / 403.3 MB, free: 8.594 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.5194, allocations: 3.875 kB / 403.3 MB, free: 8.594 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.5195, allocations: 38.11 kB / 403.3 MB, free: 8.551 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 3.766e-06/0.5195, allocations: 0 / 403.3 MB, free: 8.551 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005943/0.5201, allocations: 112.2 kB / 403.4 MB, free: 8.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.5202, allocations: 77.11 kB / 403.5 MB, free: 8.387 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.5203, allocations: 115 kB / 403.6 MB, free: 8.289 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.5204, allocations: 29.14 kB / 403.7 MB, free: 8.258 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.005e-05/0.5205, allocations: 181.2 kB / 403.8 MB, free: 8.086 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.973e-05/0.5205, allocations: 38.11 kB / 403.9 MB, free: 8.059 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.183e-05/0.5206, allocations: 0 / 403.9 MB, free: 8.059 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.317e-05/0.5207, allocations: 322.2 kB / 404.2 MB, free: 7.742 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.886e-05/0.5208, allocations: 21.75 kB / 404.2 MB, free: 7.738 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.5209, allocations: 84.95 kB / 404.3 MB, free: 7.656 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.5211, allocations: 46.25 kB / 404.3 MB, free: 7.637 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.393e-06/0.5211, allocations: 3.938 kB / 404.3 MB, free: 7.633 MB / 314.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000618/0.5218, allocations: 159.2 kB / 404.5 MB, free: 7.555 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.5218, allocations: 7.469 kB / 404.5 MB, free: 7.555 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.5218, allocations: 3.75 kB / 404.5 MB, free: 7.555 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003094/0.5222, allocations: 39.16 kB / 404.5 MB, free: 7.531 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.5224, allocations: 27.33 kB / 404.6 MB, free: 7.523 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002572/0.525, allocations: 2.537 MB / 407.1 MB, free: 4.945 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.5252, allocations: 11.69 kB / 407.1 MB, free: 4.941 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.5253, allocations: 3.875 kB / 407.1 MB, free: 4.941 MB / 314.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 () * 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.0001139/0.5254, allocations: 120.4 kB / 407.2 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.5255, allocations: 11.78 kB / 407.2 MB, free: 4.816 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.251e-05/0.5256, allocations: 19.48 kB / 407.3 MB, free: 4.805 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.335e-06/0.5256, allocations: 4.078 kB / 407.3 MB, free: 4.801 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.265e-06/0.5257, allocations: 3.875 kB / 407.3 MB, free: 4.801 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.257e-06/0.5257, allocations: 0 / 407.3 MB, free: 4.801 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000548/0.5263, allocations: 198.6 kB / 407.5 MB, free: 4.598 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.876e-06/0.5263, allocations: 0 / 407.5 MB, free: 4.598 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/0.5265, allocations: 11.53 kB / 407.5 MB, free: 4.598 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000228/0.5268, allocations: 36.64 kB / 407.5 MB, free: 4.578 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.5268, allocations: 7.938 kB / 407.5 MB, free: 4.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002459/0.5293, allocations: 2.527 MB / 410 MB, free: 2 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.5293, allocations: 0 / 410 MB, free: 2 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000527/0.5299, allocations: 318 kB / 410.4 MB, free: 1.742 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-05/0.5299, allocations: 84.95 kB / 410.4 MB, free: 1.641 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/0.53, allocations: 7.812 kB / 410.5 MB, free: 1.637 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003008/0.5303, allocations: 0 / 410.5 MB, free: 1.637 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.5304, allocations: 7.219 kB / 410.5 MB, free: 1.637 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.5304, allocations: 11.91 kB / 410.5 MB, free: 1.629 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002012/0.5306, allocations: 90.98 kB / 410.6 MB, free: 17.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.764e-06/0.5307, allocations: 0 / 410.6 MB, free: 17.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001061/0.5318, allocations: 42.06 kB / 410.6 MB, free: 17.54 MB / 330.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 () * 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.0002169/0.532, allocations: 109.6 kB / 410.7 MB, free: 17.44 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006967/0.5327, allocations: 290.9 kB / 411 MB, free: 17.2 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.095e-06/0.5327, allocations: 3.938 kB / 411 MB, free: 17.2 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005118/0.5333, allocations: 251.8 kB / 411.2 MB, free: 16.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000692/0.534, allocations: 22.06 kB / 411.3 MB, free: 16.96 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.5352, allocations: 428.9 kB / 411.7 MB, free: 16.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006219/0.5359, allocations: 0.7186 MB / 412.4 MB, free: 15.89 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.536, allocations: 15.19 kB / 412.4 MB, free: 15.88 MB / 330.7 MB Notification: Performance of SimCode: time 3.338e-06/0.536, allocations: 0 / 412.4 MB, free: 15.88 MB / 330.7 MB Notification: Performance of Templates: time 0.007394/0.5434, allocations: 2.352 MB / 414.8 MB, free: 14.69 MB / 330.7 MB