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.FourbarVariants.JointSSR.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.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadModel(ModelicaTest): time 1.888/1.888, allocations: 209.3 MB / 224.8 MB, free: 432 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000439/0.0004394, allocations: 8 kB / 282.5 MB, free: 9.684 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2879, allocations: 48.71 MB / 331.2 MB, free: 6.469 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.06462/0.3526, allocations: 47.86 MB / 379 MB, free: 14.56 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0322/0.3848, allocations: 11.78 MB / 390.8 MB, free: 2.75 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01036/0.3952, allocations: 239.4 kB / 391.1 MB, free: 2.516 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008094/0.4033, allocations: 2.423 MB / 393.5 MB, free: 84 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02526/0.4286, allocations: 6.947 MB / 400.4 MB, free: 9.117 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004768/0.4334, allocations: 1.073 MB / 401.5 MB, free: 8.043 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.02562/0.4591, allocations: 11.79 MB / 413.3 MB, free: 12.24 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01363/0.4728, allocations: 6.997 MB / 420.3 MB, free: 5.16 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004212/0.477, allocations: 1.791 MB / 422.1 MB, free: 3.363 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005041/0.4821, allocations: 2.535 MB / 424.6 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001552/0.4837, allocations: 264 kB / 424.9 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004088/0.4878, allocations: 1.307 MB / 426.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004471/0.4923, allocations: 2.689 MB / 428.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002632/0.495, allocations: 1.38 MB / 430.2 MB, free: 11.17 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01494/0.51, allocations: 9.648 MB / 439.9 MB, free: 1.496 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.771e-06/0.51, allocations: 0 / 439.9 MB, free: 1.496 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.759e-06/0.51, allocations: 4 kB / 439.9 MB, free: 1.492 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002755/0.5103, allocations: 0 / 439.9 MB, free: 1.492 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2561 * Number of variables: 2561 Notification: Performance of Generate backend data structure: time 0.01818/0.5285, allocations: 6.748 MB / 446.6 MB, free: 10.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.5286, allocations: 8.031 kB / 446.7 MB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04195/0.5706, allocations: 7.155 MB / 453.8 MB, free: 3.477 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01301/0.5836, allocations: 4.883 MB / 458.7 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005703/0.5842, allocations: 398 kB / 459.1 MB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0024/0.5867, allocations: 0.5618 MB / 459.6 MB, free: 13.58 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5623/1.149, allocations: 19.07 MB / 478.7 MB, free: 48.22 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002919/1.149, allocations: 69.41 kB / 478.8 MB, free: 48.22 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001539/1.151, allocations: 247.3 kB / 479 MB, free: 48.22 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007068/1.158, allocations: 3.42 MB / 482.4 MB, free: 48.21 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04447/1.203, allocations: 16.76 MB / 499.2 MB, free: 48.12 MB / 394.8 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09373/1.296, allocations: 66.88 MB / 0.5528 GB, free: 14 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0211/1.317, allocations: 6.281 MB / 0.5589 GB, free: 8.754 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03375/1.351, allocations: 14 MB / 0.5726 GB, free: 11.37 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.145e-05/1.351, allocations: 64.12 kB / 0.5727 GB, free: 11.3 MB / 426.8 MB Notification: Performance of pre-optimization done (n=284): time 7.756e-06/1.351, allocations: 0 / 0.5727 GB, free: 11.3 MB / 426.8 MB Notification: Performance of matching and sorting (n=345): time 0.119/1.47, allocations: 26.02 MB / 0.5981 GB, free: 1.242 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001596/1.471, allocations: 192.3 kB / 0.5983 GB, free: 1.016 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0139/1.484, allocations: 6.23 MB / 0.6043 GB, free: 10.82 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005972/1.485, allocations: 75.95 kB / 0.6044 GB, free: 10.74 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005386/1.491, allocations: 4.827 MB / 0.6091 GB, free: 5.938 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002061/1.493, allocations: 1.284 MB / 0.6104 GB, free: 4.664 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009828/1.494, allocations: 184 kB / 0.6106 GB, free: 4.484 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0009746/1.495, allocations: 0.7156 MB / 0.6113 GB, free: 3.758 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008514/1.503, allocations: 3.247 MB / 0.6144 GB, free: 0.5039 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01438/1.518, allocations: 8.702 MB / 0.6229 GB, free: 5.211 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01197/1.53, allocations: 5.228 MB / 0.628 GB, free: 144 kB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001896/1.53, allocations: 56 kB / 0.6281 GB, free: 88 kB / 474.8 MB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.03487/1.565, allocations: 12.53 MB / 0.6403 GB, free: 4.668 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000195/1.565, allocations: 84 kB / 0.6404 GB, free: 4.586 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003274/1.565, allocations: 198.9 kB / 0.6406 GB, free: 4.395 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005937/1.571, allocations: 1.341 MB / 0.6419 GB, free: 3.051 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009574/1.581, allocations: 2.16 MB / 0.644 GB, free: 1.074 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2626/1.844, allocations: 7.514 MB / 0.6514 GB, free: 179.2 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008595/1.852, allocations: 0.4975 MB / 0.6518 GB, free: 179 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001588/1.854, allocations: 0.5421 MB / 0.6524 GB, free: 178.9 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 871 * Number of states: 0 () * Number of discrete variables: 43 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1149): * Single equations (assignments): 1142 * Array equations: 6 * 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 {(2,100.0%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007466/1.861, allocations: 3.447 MB / 0.6557 GB, free: 177.6 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001112/1.862, allocations: 0.5307 MB / 0.6563 GB, free: 177.6 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01434/1.877, allocations: 5.406 MB / 0.6615 GB, free: 175.6 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.05e-05/1.877, allocations: 35.44 kB / 0.6616 GB, free: 175.6 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.367e-05/1.877, allocations: 7.844 kB / 0.6616 GB, free: 175.6 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.084e-05/1.877, allocations: 21.14 kB / 0.6616 GB, free: 175.6 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03618/1.913, allocations: 14.01 MB / 0.6753 GB, free: 170.3 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.204e-05/1.913, allocations: 17.11 kB / 0.6753 GB, free: 170.3 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003193/1.916, allocations: 0.4944 MB / 0.6758 GB, free: 170.3 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004917/1.921, allocations: 0.8159 MB / 0.6766 GB, free: 170.1 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005819/1.922, allocations: 72.09 kB / 0.6766 GB, free: 170.1 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01248/1.935, allocations: 5.547 MB / 0.6821 GB, free: 167.1 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.57e-05/1.935, allocations: 17.31 kB / 0.6821 GB, free: 167.1 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01911/1.954, allocations: 8.271 MB / 0.6902 GB, free: 163.6 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002758/1.957, allocations: 0.9457 MB / 0.6911 GB, free: 163.1 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001328/1.958, allocations: 70.64 kB / 0.6911 GB, free: 163.1 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003517/1.961, allocations: 129.5 kB / 0.6913 GB, free: 163 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007846/1.962, allocations: 224.6 kB / 0.6915 GB, free: 163 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002947/1.963, allocations: 108.5 kB / 0.6916 GB, free: 162.9 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.007986/1.971, allocations: 3.926 MB / 0.6954 GB, free: 159.8 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.456e-06/1.971, allocations: 0 / 0.6954 GB, free: 159.8 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01005/1.981, allocations: 1.647 MB / 0.697 GB, free: 158.2 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 2 (j2.s,j2.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 (269): * Single equations (assignments): 262 * Array equations: 6 * 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 {(2,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001045/1.982, allocations: 275.8 kB / 0.6973 GB, free: 157.9 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01483/1.997, allocations: 7.731 MB / 0.7048 GB, free: 150.3 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-05/1.997, allocations: 7.062 kB / 0.7049 GB, free: 150.3 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004882/2.002, allocations: 2.361 MB / 0.7072 GB, free: 147.9 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004054/2.006, allocations: 0.6439 MB / 0.7078 GB, free: 147.3 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03398/2.04, allocations: 18.95 MB / 0.7263 GB, free: 128.3 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01021/2.05, allocations: 5.328 MB / 0.7315 GB, free: 122.9 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002003/2.052, allocations: 455.4 kB / 0.7319 GB, free: 122.5 MB / 490.8 MB Notification: Performance of SimCode: time 1.96e-06/2.052, allocations: 0 / 0.7319 GB, free: 122.5 MB / 490.8 MB Notification: Performance of Templates: time 0.4405/2.493, allocations: 121.8 MB / 0.8508 GB, free: 170.6 MB / 490.8 MB