Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadModel(ModelicaTest): time 2.18/2.18, allocations: 234.9 MB / 250.5 MB, free: 9.473 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006928/0.000693, allocations: 8 kB / 314.3 MB, free: 9.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3718, allocations: 54.87 MB / 369.2 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.06876/0.4405, allocations: 47.88 MB / 417.1 MB, free: 10.6 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03004/0.4706, allocations: 11.78 MB / 428.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009473/0.4801, allocations: 239.4 kB / 429.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007598/0.4878, allocations: 2.419 MB / 431.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0236/0.5114, allocations: 6.939 MB / 438.4 MB, free: 5.164 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004541/0.516, allocations: 1.053 MB / 439.5 MB, free: 4.109 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0253/0.5413, allocations: 11.8 MB / 451.3 MB, free: 8.293 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01351/0.5549, allocations: 6.99 MB / 458.3 MB, free: 1.227 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004139/0.5591, allocations: 1.795 MB / 460.1 MB, free: 15.43 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004994/0.5641, allocations: 2.535 MB / 462.6 MB, free: 12.88 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001472/0.5657, allocations: 260 kB / 462.9 MB, free: 12.63 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004027/0.5697, allocations: 1.299 MB / 464.2 MB, free: 11.33 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004331/0.5741, allocations: 2.696 MB / 466.9 MB, free: 8.625 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002534/0.5767, allocations: 1.388 MB / 468.2 MB, free: 7.227 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2973/0.874, allocations: 9.64 MB / 477.9 MB, free: 20.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.863e-06/0.874, allocations: 0 / 477.9 MB, free: 20.45 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.874, allocations: 1.219 kB / 477.9 MB, free: 20.45 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003029/0.8744, allocations: 0 / 477.9 MB, free: 20.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: 2561 * Number of variables: 2561 Notification: Performance of Generate backend data structure: time 0.01717/0.8915, allocations: 6.739 MB / 484.6 MB, free: 17.56 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.8916, allocations: 9.688 kB / 484.6 MB, free: 17.56 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0402/0.9318, allocations: 7.156 MB / 491.8 MB, free: 17.06 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01211/0.944, allocations: 4.893 MB / 496.7 MB, free: 16.3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004888/0.9445, allocations: 398.6 kB / 497.1 MB, free: 16.28 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002957/0.9475, allocations: 0.5529 MB / 497.6 MB, free: 16.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04558/0.9931, allocations: 19.07 MB / 0.5046 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002762/0.9934, allocations: 69.72 kB / 0.5047 GB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002174/0.9956, allocations: 249 kB / 0.5049 GB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007431/1.003, allocations: 3.425 MB / 0.5082 GB, free: 8.637 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0414/1.045, allocations: 16.75 MB / 0.5246 GB, free: 12.83 MB / 410.7 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.1161/1.161, allocations: 66.88 MB / 0.5899 GB, free: 1.059 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02168/1.182, allocations: 6.299 MB / 0.5961 GB, free: 10.51 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03426/1.217, allocations: 13.99 MB / 0.6097 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.073e-05/1.217, allocations: 67.56 kB / 0.6098 GB, free: 11.88 MB / 490.7 MB Notification: Performance of pre-optimization done (n=284): time 7.91e-06/1.217, allocations: 0 / 0.6098 GB, free: 11.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=345): time 0.1188/1.336, allocations: 26.01 MB / 0.6352 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/1.336, allocations: 191.4 kB / 0.6354 GB, free: 1.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01337/1.349, allocations: 6.227 MB / 0.6415 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006044/1.35, allocations: 71.78 kB / 0.6415 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005161/1.355, allocations: 4.828 MB / 0.6462 GB, free: 6.512 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001997/1.357, allocations: 1.284 MB / 0.6475 GB, free: 5.238 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008853/1.358, allocations: 180 kB / 0.6477 GB, free: 5.062 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008324/1.359, allocations: 0.7172 MB / 0.6484 GB, free: 4.336 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008283/1.367, allocations: 3.251 MB / 0.6515 GB, free: 1.078 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2772/1.644, allocations: 8.708 MB / 0.66 GB, free: 194.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0104/1.655, allocations: 5.216 MB / 0.6651 GB, free: 192.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002125/1.655, allocations: 58.78 kB / 0.6652 GB, free: 192.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.03109/1.686, allocations: 12.53 MB / 0.6774 GB, free: 187.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001646/1.686, allocations: 90.42 kB / 0.6775 GB, free: 187.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002449/1.687, allocations: 192.7 kB / 0.6777 GB, free: 187.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005801/1.692, allocations: 1.344 MB / 0.679 GB, free: 187.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008597/1.701, allocations: 2.154 MB / 0.6811 GB, free: 186.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01447/1.716, allocations: 7.537 MB / 0.6885 GB, free: 180.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008531/1.724, allocations: 0.4959 MB / 0.689 GB, free: 179.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001565/1.726, allocations: 0.5482 MB / 0.6895 GB, free: 179.3 MB / 0.5105 GB 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.007146/1.733, allocations: 3.445 MB / 0.6929 GB, free: 176.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001087/1.734, allocations: 0.5226 MB / 0.6934 GB, free: 176.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01379/1.748, allocations: 5.395 MB / 0.6986 GB, free: 171.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.949e-05/1.748, allocations: 36.86 kB / 0.6987 GB, free: 171.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-05/1.748, allocations: 8 kB / 0.6987 GB, free: 171.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.027e-05/1.748, allocations: 18.91 kB / 0.6987 GB, free: 171.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03413/1.782, allocations: 14.03 MB / 0.7124 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-05/1.782, allocations: 14.97 kB / 0.7124 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003009/1.785, allocations: 0.4953 MB / 0.7129 GB, free: 157.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00419/1.79, allocations: 0.8164 MB / 0.7137 GB, free: 156.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000588/1.79, allocations: 67.95 kB / 0.7137 GB, free: 156.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01129/1.802, allocations: 5.558 MB / 0.7192 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.45e-05/1.802, allocations: 19.94 kB / 0.7192 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0181/1.82, allocations: 8.26 MB / 0.7273 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002709/1.822, allocations: 0.9431 MB / 0.7282 GB, free: 141.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001312/1.824, allocations: 65.47 kB / 0.7282 GB, free: 141.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003523/1.827, allocations: 131.9 kB / 0.7284 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008148/1.828, allocations: 224.5 kB / 0.7286 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003411/1.829, allocations: 108.5 kB / 0.7287 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007645/1.836, allocations: 3.925 MB / 0.7325 GB, free: 137.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.171e-06/1.836, allocations: 0 / 0.7325 GB, free: 137.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009616/1.846, allocations: 1.646 MB / 0.7341 GB, free: 135.7 MB / 0.5105 GB 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.001048/1.847, allocations: 267.7 kB / 0.7344 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01496/1.862, allocations: 7.731 MB / 0.7419 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/1.862, allocations: 0 / 0.7419 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004943/1.867, allocations: 2.376 MB / 0.7443 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004019/1.871, allocations: 0.6389 MB / 0.7449 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03286/1.904, allocations: 18.96 MB / 0.7634 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009669/1.914, allocations: 5.316 MB / 0.7686 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002102/1.916, allocations: 463.4 kB / 0.769 GB, free: 99.8 MB / 0.5105 GB Notification: Performance of SimCode: time 2.33e-06/1.916, allocations: 0 / 0.769 GB, free: 99.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.4438/2.36, allocations: 121.8 MB / 0.8879 GB, free: 152 MB / 0.5105 GB