Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") Notification: Performance of loadModel(Modelica): time 1.859/1.859, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003458, allocations: 15.94 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08994/0.0903, allocations: 44.52 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.07061/0.161, allocations: 45.46 MB / 354.5 MB, free: 2.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03086/0.1919, allocations: 11.41 MB / 365.9 MB, free: 7.324 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008324/0.2002, allocations: 227.4 kB / 366.2 MB, free: 7.102 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007961/0.2083, allocations: 2.302 MB / 368.5 MB, free: 4.789 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.287/0.4953, allocations: 6.534 MB / 375 MB, free: 10.14 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004794/0.5001, allocations: 0.893 MB / 375.9 MB, free: 10.14 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.04885/0.549, allocations: 18.07 MB / 394 MB, free: 8.141 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01186/0.5609, allocations: 6.529 MB / 400.5 MB, free: 6.816 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003181/0.5642, allocations: 1.342 MB / 401.8 MB, free: 6.582 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003597/0.5678, allocations: 1.769 MB / 403.6 MB, free: 6.172 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001206/0.5691, allocations: 186.5 kB / 403.8 MB, free: 6.16 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003558/0.5726, allocations: 1.205 MB / 405 MB, free: 5.184 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002912/0.5756, allocations: 2.028 MB / 407 MB, free: 3.742 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001613/0.5773, allocations: 1.043 MB / 408.1 MB, free: 3.379 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01103/0.5883, allocations: 7.567 MB / 415.6 MB, free: 12.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.5884, allocations: 0 / 415.6 MB, free: 12.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.947e-06/0.5884, allocations: 0 / 415.6 MB, free: 12.8 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002672/0.5887, allocations: 1.75 kB / 415.6 MB, free: 12.8 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: 1738 * Number of variables: 1738 Notification: Performance of Generate backend data structure: time 0.01827/0.6069, allocations: 5.228 MB / 420.9 MB, free: 7.938 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.607, allocations: 8.031 kB / 420.9 MB, free: 7.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08328/0.6903, allocations: 7.948 MB / 428.8 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01419/0.7045, allocations: 4.225 MB / 433 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000388/0.705, allocations: 302.7 kB / 433.3 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002105/0.7071, allocations: 439.9 kB / 433.8 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03704/0.7441, allocations: 12.46 MB / 446.2 MB, free: 3.527 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002392/0.7444, allocations: 51.42 kB / 446.3 MB, free: 3.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001028/0.7455, allocations: 188.9 kB / 446.5 MB, free: 3.445 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005112/0.7506, allocations: 1.972 MB / 448.4 MB, free: 1.844 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03541/0.7861, allocations: 10.52 MB / 459 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08377/0.8699, allocations: 44.18 MB / 0.4913 GB, free: 1.426 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02284/0.8928, allocations: 4.863 MB / 0.4961 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01906/0.9119, allocations: 7.115 MB / 0.503 GB, free: 5.105 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.22e-05/0.912, allocations: 54.09 kB / 0.5031 GB, free: 5.047 MB / 410.7 MB Notification: Performance of pre-optimization done (n=179): time 5.861e-06/0.912, allocations: 0 / 0.5031 GB, free: 5.047 MB / 410.7 MB Notification: Performance of matching and sorting (n=223): time 0.1195/1.031, allocations: 19.56 MB / 0.5222 GB, free: 1.445 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/1.032, allocations: 197.9 kB / 0.5224 GB, free: 1.207 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2664/1.298, allocations: 4.696 MB / 0.527 GB, free: 158.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004866/1.299, allocations: 57.55 kB / 0.527 GB, free: 158.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003361/1.302, allocations: 3.549 MB / 0.5305 GB, free: 156.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001282/1.303, allocations: 0.8302 MB / 0.5313 GB, free: 155.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006199/1.304, allocations: 125.3 kB / 0.5314 GB, free: 155.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004299/1.304, allocations: 0.5687 MB / 0.532 GB, free: 155 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005911/1.31, allocations: 2.197 MB / 0.5341 GB, free: 154.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008218/1.319, allocations: 5.914 MB / 0.5399 GB, free: 148.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007998/1.327, allocations: 3.545 MB / 0.5434 GB, free: 147.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001555/1.327, allocations: 35.31 kB / 0.5434 GB, free: 147.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=827) (initialization): time 0.02533/1.352, allocations: 8.965 MB / 0.5521 GB, free: 143.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/1.352, allocations: 59.62 kB / 0.5522 GB, free: 143.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001684/1.353, allocations: 131.3 kB / 0.5523 GB, free: 143.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006268/1.359, allocations: 1.22 MB / 0.5535 GB, free: 143.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008434/1.367, allocations: 1.414 MB / 0.5549 GB, free: 143.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01664/1.384, allocations: 7.73 MB / 0.5624 GB, free: 136.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006755/1.391, allocations: 335.4 kB / 0.5628 GB, free: 136.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001174/1.392, allocations: 385.4 kB / 0.5631 GB, free: 136.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 596 * Number of states: 0 () * Number of discrete variables: 43 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (763): * Single equations (assignments): 759 * 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%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005422/1.397, allocations: 2.481 MB / 0.5656 GB, free: 133.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/1.398, allocations: 406.8 kB / 0.5659 GB, free: 133.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01188/1.41, allocations: 3.869 MB / 0.5697 GB, free: 129.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.053e-05/1.41, allocations: 11.95 kB / 0.5697 GB, free: 129.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.447e-06/1.41, allocations: 4 kB / 0.5697 GB, free: 129.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002507/1.413, allocations: 0.7339 MB / 0.5705 GB, free: 128.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001097/1.414, allocations: 36 kB / 0.5705 GB, free: 128.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003004/1.417, allocations: 108.5 kB / 0.5706 GB, free: 128.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004934/1.418, allocations: 141.8 kB / 0.5707 GB, free: 128.3 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01378/1.431, allocations: 4.347 MB / 0.575 GB, free: 124 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01133/1.443, allocations: 5.619 MB / 0.5805 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003213/1.446, allocations: 1.469 MB / 0.5819 GB, free: 116.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006015/1.452, allocations: 2.995 MB / 0.5848 GB, free: 113.9 MB / 426.7 MB Notification: Performance of Backend: time 9.22e-07/1.452, allocations: 1.125 kB / 0.5848 GB, free: 113.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01197/1.464, allocations: 4.406 MB / 0.5891 GB, free: 109.5 MB / 426.7 MB Notification: Performance of SimCode: time 0.02473/1.489, allocations: 12.94 MB / 0.6018 GB, free: 96.57 MB / 426.7 MB Notification: Performance of Templates: time 0.138/1.627, allocations: 51.73 MB / 0.6523 GB, free: 44.9 MB / 426.7 MB