Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadModel(ModelicaTest): time 1.831/1.831, allocations: 209.3 MB / 222.4 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.673e-05/2.68e-05, allocations: 4 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08715/0.0872, allocations: 48.71 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3587/0.4459, allocations: 93.38 MB / 419.9 MB, free: 14.54 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.4462, allocations: 72.41 kB / 420 MB, free: 14.51 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2771/0.7233, allocations: 71.85 MB / 491.8 MB, free: 13.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.29e-06/0.7234, allocations: 0 / 491.8 MB, free: 13.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001757/0.7236, allocations: 71.94 kB / 491.9 MB, free: 13.45 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.009861/0.7334, allocations: 3.353 MB / 495.3 MB, free: 10.04 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.7335, allocations: 12.03 kB / 495.3 MB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01229/0.7458, allocations: 2.081 MB / 497.4 MB, free: 7.941 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0129/0.7588, allocations: 4.049 MB / 0.4896 GB, free: 3.828 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003168/0.7591, allocations: 262.8 kB / 0.4899 GB, free: 3.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001203/0.7603, allocations: 343.8 kB / 0.4902 GB, free: 3.234 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02053/0.7809, allocations: 8.798 MB / 0.4988 GB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001807/0.7811, allocations: 55.81 kB / 0.4989 GB, free: 9.387 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008207/0.7819, allocations: 175.9 kB / 0.499 GB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001667/0.7836, allocations: 0.8721 MB / 0.4999 GB, free: 8.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01777/0.8014, allocations: 7.051 MB / 0.5068 GB, free: 1.277 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2916/1.093, allocations: 42.59 MB / 0.5484 GB, free: 69.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008868/1.102, allocations: 3.158 MB / 0.5515 GB, free: 68.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002385/1.104, allocations: 1.412 MB / 0.5528 GB, free: 68.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007834/1.112, allocations: 4.089 MB / 0.5568 GB, free: 67.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/1.112, allocations: 49.91 kB / 0.5569 GB, free: 67.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=114): time 5.365e-06/1.112, allocations: 0 / 0.5569 GB, free: 67.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=122): time 0.02974/1.142, allocations: 9.396 MB / 0.5661 GB, free: 64.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/1.142, allocations: 166.1 kB / 0.5662 GB, free: 64.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005611/1.148, allocations: 3.277 MB / 0.5694 GB, free: 64.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002422/1.148, allocations: 44.36 kB / 0.5695 GB, free: 64.33 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001604/1.15, allocations: 2.68 MB / 0.5721 GB, free: 62.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005384/1.15, allocations: 0.497 MB / 0.5726 GB, free: 62.58 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000316/1.151, allocations: 104.6 kB / 0.5727 GB, free: 62.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000327/1.151, allocations: 0.5309 MB / 0.5732 GB, free: 62.26 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002887/1.154, allocations: 1.628 MB / 0.5748 GB, free: 62.24 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00438/1.158, allocations: 5.021 MB / 0.5797 GB, free: 57.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004913/1.163, allocations: 2.848 MB / 0.5824 GB, free: 57.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.485e-05/1.163, allocations: 35.44 kB / 0.5825 GB, free: 57.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01371/1.177, allocations: 6.452 MB / 0.5888 GB, free: 56.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.82e-05/1.177, allocations: 54.59 kB / 0.5888 GB, free: 56.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001276/1.177, allocations: 126.5 kB / 0.589 GB, free: 56.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007398/1.178, allocations: 342.6 kB / 0.5893 GB, free: 56.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005151/1.183, allocations: 1.268 MB / 0.5905 GB, free: 55.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002663/1.186, allocations: 2.345 MB / 0.5928 GB, free: 54.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005054/1.191, allocations: 285 kB / 0.5931 GB, free: 54.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008563/1.192, allocations: 333.5 kB / 0.5934 GB, free: 54.04 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (656): * Single equations (assignments): 652 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008585/1.193, allocations: 0.5068 MB / 0.5939 GB, free: 53.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006111/1.193, allocations: 311.1 kB / 0.5942 GB, free: 53.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005683/1.199, allocations: 2.315 MB / 0.5965 GB, free: 52.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-05/1.199, allocations: 16.22 kB / 0.5965 GB, free: 52.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/1.199, allocations: 10.67 kB / 0.5965 GB, free: 52.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-05/1.199, allocations: 3.703 kB / 0.5965 GB, free: 52.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01404/1.213, allocations: 5.823 MB / 0.6022 GB, free: 50.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/1.213, allocations: 2.781 kB / 0.6022 GB, free: 50.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/1.215, allocations: 168.5 kB / 0.6023 GB, free: 50.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002829/1.217, allocations: 0.7154 MB / 0.603 GB, free: 50.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001584/1.218, allocations: 20.36 kB / 0.603 GB, free: 50.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007076/1.225, allocations: 4.443 MB / 0.6074 GB, free: 47.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/1.225, allocations: 11.53 kB / 0.6074 GB, free: 47.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008044/1.233, allocations: 4.352 MB / 0.6116 GB, free: 46.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/1.234, allocations: 0.5318 MB / 0.6122 GB, free: 45.72 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005218/1.235, allocations: 19.83 kB / 0.6122 GB, free: 45.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001635/1.236, allocations: 75.58 kB / 0.6123 GB, free: 45.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/1.237, allocations: 61.22 kB / 0.6123 GB, free: 45.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001298/1.237, allocations: 36.94 kB / 0.6124 GB, free: 45.67 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004048/1.241, allocations: 2.275 MB / 0.6146 GB, free: 44.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.068e-06/1.241, allocations: 3.938 kB / 0.6146 GB, free: 44.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005699/1.247, allocations: 0.8163 MB / 0.6154 GB, free: 44.77 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 86 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004516/1.247, allocations: 149.8 kB / 0.6155 GB, free: 44.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007262/1.254, allocations: 3.9 MB / 0.6193 GB, free: 41.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.079e-06/1.254, allocations: 0 / 0.6193 GB, free: 41.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001881/1.256, allocations: 1.075 MB / 0.6204 GB, free: 40.61 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002178/1.258, allocations: 363.6 kB / 0.6207 GB, free: 40.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01283/1.271, allocations: 6.209 MB / 0.6268 GB, free: 34.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003655/1.275, allocations: 2.84 MB / 0.6296 GB, free: 32.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000998/1.276, allocations: 246.3 kB / 0.6298 GB, free: 32.36 MB / 426.7 MB Notification: Performance of SimCode: time 1.829e-06/1.276, allocations: 0 / 0.6298 GB, free: 32.36 MB / 426.7 MB Notification: Performance of Templates: time 0.09403/1.37, allocations: 60.89 MB / 0.6893 GB, free: 8.93 MB / 458.7 MB