Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003324/0.003323, allocations: 370.6 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.072/4.072, allocations: 388.9 MB / 405.6 MB, free: 9.648 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003538/0.003538, allocations: 229.6 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5071/0.5071, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004932/0.0004936, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09588/0.0964, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.4153/0.5117, allocations: 59.58 MB / 0.7383 GB, free: 11.7 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.04134/0.5531, allocations: 13.12 MB / 0.7511 GB, free: 8.461 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0148/0.568, allocations: 289.8 kB / 0.7514 GB, free: 8.414 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01037/0.5784, allocations: 2.881 MB / 0.7542 GB, free: 7.137 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03382/0.6123, allocations: 10.07 MB / 0.764 GB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006755/0.6191, allocations: 1.157 MB / 0.7651 GB, free: 15.81 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.09024/0.7094, allocations: 41.92 MB / 0.8061 GB, free: 8.484 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01784/0.7273, allocations: 8.158 MB / 0.8141 GB, free: 256 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005637/0.733, allocations: 2.09 MB / 0.8161 GB, free: 14.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008078/0.7411, allocations: 3.373 MB / 0.8194 GB, free: 10.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001881/0.743, allocations: 240 kB / 0.8196 GB, free: 10.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005509/0.7486, allocations: 1.287 MB / 0.8209 GB, free: 9.246 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005948/0.7546, allocations: 2.848 MB / 0.8237 GB, free: 6.391 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003334/0.758, allocations: 1.306 MB / 0.8249 GB, free: 5.074 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01608/0.7741, allocations: 9.386 MB / 0.8341 GB, free: 11.67 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.7742, allocations: 0 / 0.8341 GB, free: 11.67 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.7742, allocations: 0 / 0.8341 GB, free: 11.67 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003932/0.7746, allocations: 0 / 0.8341 GB, free: 11.67 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2163 * Number of variables: 2163 Notification: Performance of Generate backend data structure: time 0.02566/0.8003, allocations: 6.801 MB / 0.8407 GB, free: 4.785 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.8004, allocations: 8.828 kB / 0.8407 GB, free: 4.777 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03089/0.8313, allocations: 3.646 MB / 0.8443 GB, free: 1.117 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01809/0.8494, allocations: 5.077 MB / 0.8493 GB, free: 11.96 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005658/0.85, allocations: 377.8 kB / 0.8496 GB, free: 11.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002829/0.8529, allocations: 0.5113 MB / 0.8501 GB, free: 11.08 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05155/0.9045, allocations: 15.79 MB / 0.8655 GB, free: 10.39 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003276/0.9048, allocations: 63.42 kB / 0.8656 GB, free: 10.33 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002052/0.9069, allocations: 239.8 kB / 0.8658 GB, free: 10.09 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006737/0.9137, allocations: 2.493 MB / 0.8683 GB, free: 7.598 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04795/0.9617, allocations: 13.34 MB / 0.8813 GB, free: 10.23 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5782/1.54, allocations: 57.45 MB / 0.9374 GB, free: 134.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04678/1.587, allocations: 6.535 MB / 0.9438 GB, free: 132.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01153/1.598, allocations: 3.456 MB / 0.9472 GB, free: 131.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04013/1.639, allocations: 11.61 MB / 0.9585 GB, free: 125.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.58e-05/1.639, allocations: 70.59 kB / 0.9586 GB, free: 125.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=251): time 1.002e-05/1.639, allocations: 0 / 0.9586 GB, free: 125.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=353): time 0.3194/1.958, allocations: 42.25 MB / 0.9998 GB, free: 91.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.19e-05/1.958, allocations: 243.9 kB / 1 GB, free: 90.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01169/1.97, allocations: 5.682 MB / 1.006 GB, free: 85.26 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009704/1.971, allocations: 77.7 kB / 1.006 GB, free: 85.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003677/1.975, allocations: 4.312 MB / 1.01 GB, free: 80.87 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002016/1.977, allocations: 1.299 MB / 1.011 GB, free: 79.58 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001163/1.978, allocations: 176 kB / 1.011 GB, free: 79.41 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006173/1.979, allocations: 0.6699 MB / 1.012 GB, free: 78.73 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009789/1.988, allocations: 4.081 MB / 1.016 GB, free: 74.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01254/2.001, allocations: 8.624 MB / 1.024 GB, free: 63.79 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01334/2.014, allocations: 5.798 MB / 1.03 GB, free: 57.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000137/2.015, allocations: 44 kB / 1.03 GB, free: 57.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=1133) (initialization): time 0.05398/2.069, allocations: 16.34 MB / 1.046 GB, free: 41.55 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001155/2.069, allocations: 72 kB / 1.046 GB, free: 41.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002092/2.069, allocations: 160 kB / 1.046 GB, free: 41.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02468/2.094, allocations: 4.329 MB / 1.05 GB, free: 36.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01167/2.105, allocations: 1.895 MB / 1.052 GB, free: 35.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04946/2.155, allocations: 20.24 MB / 1.072 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01241/2.167, allocations: 0.5032 MB / 1.073 GB, free: 14.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002538/2.17, allocations: 480.8 kB / 1.073 GB, free: 13.76 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 714 * Number of states: 0 () * Number of discrete variables: 43 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1032): * Single equations (assignments): 1028 * 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%) 77} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01127/2.181, allocations: 3.13 MB / 1.076 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002065/2.183, allocations: 0.5168 MB / 1.077 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3777/2.561, allocations: 10.19 MB / 1.087 GB, free: 152.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001121/2.561, allocations: 17.38 kB / 1.087 GB, free: 152.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/2.561, allocations: 0 / 1.087 GB, free: 152.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004589/2.566, allocations: 1.198 MB / 1.088 GB, free: 152.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002496/2.569, allocations: 56.83 kB / 1.088 GB, free: 152.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00616/2.575, allocations: 240.2 kB / 1.088 GB, free: 152.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001463/2.576, allocations: 262.8 kB / 1.088 GB, free: 152.1 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03736/2.614, allocations: 9.845 MB / 1.098 GB, free: 150.2 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02834/2.642, allocations: 11.49 MB / 1.109 GB, free: 145.5 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007253/2.649, allocations: 3.261 MB / 1.112 GB, free: 144.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.008138/2.658, allocations: 3.588 MB / 1.116 GB, free: 143 MB / 490.7 MB Notification: Performance of Backend: time 8.12e-07/2.658, allocations: 0 / 1.116 GB, free: 143 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02189/2.679, allocations: 7.288 MB / 1.123 GB, free: 140.2 MB / 490.7 MB Notification: Performance of SimCode: time 0.04428/2.724, allocations: 16.89 MB / 1.139 GB, free: 129.2 MB / 490.7 MB Notification: Performance of Templates: time 0.2322/2.956, allocations: 83.38 MB / 1.221 GB, free: 47.14 MB / 490.7 MB