Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002705/0.00271, allocations: 348.4 kB / 15.94 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.55/3.55, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003497/0.003497, allocations: 221.2 kB / 397.9 MB, free: 4.984 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5108/0.5108, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007548/0.0007551, allocations: 8 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1034, allocations: 48.7 MB / 0.6067 GB, free: 4.664 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.448/0.5515, allocations: 59.57 MB / 0.6649 GB, free: 52.47 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04926/0.6008, allocations: 13.1 MB / 0.6777 GB, free: 40.11 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01754/0.6185, allocations: 291 kB / 0.678 GB, free: 39.83 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01383/0.6324, allocations: 2.874 MB / 0.6808 GB, free: 36.94 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04531/0.6777, allocations: 10.08 MB / 0.6906 GB, free: 26.83 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008978/0.6868, allocations: 1.172 MB / 0.6918 GB, free: 25.66 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.1148/0.8016, allocations: 41.91 MB / 0.7327 GB, free: 15.68 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01854/0.8202, allocations: 8.145 MB / 0.7407 GB, free: 7.676 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005721/0.826, allocations: 2.098 MB / 0.7427 GB, free: 5.57 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007872/0.8339, allocations: 3.377 MB / 0.746 GB, free: 2.184 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001805/0.8358, allocations: 236 kB / 0.7462 GB, free: 1.953 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005124/0.841, allocations: 1.295 MB / 0.7475 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00553/0.8465, allocations: 2.844 MB / 0.7503 GB, free: 13.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003034/0.8496, allocations: 1.306 MB / 0.7515 GB, free: 12.49 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01648/0.8662, allocations: 9.383 MB / 0.7607 GB, free: 3.082 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.8662, allocations: 0 / 0.7607 GB, free: 3.082 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.045e-06/0.8663, allocations: 0 / 0.7607 GB, free: 3.082 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004714/0.8667, allocations: 0 / 0.7607 GB, free: 3.082 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2162 * Number of variables: 2162 Notification: Performance of Generate backend data structure: time 0.3404/1.207, allocations: 6.792 MB / 0.7673 GB, free: 125.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.255e-05/1.207, allocations: 8.594 kB / 0.7673 GB, free: 125.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03836/1.246, allocations: 3.651 MB / 0.7709 GB, free: 125.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01876/1.264, allocations: 5.081 MB / 0.7759 GB, free: 123.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006195/1.265, allocations: 380.7 kB / 0.7762 GB, free: 123.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003025/1.268, allocations: 0.5017 MB / 0.7767 GB, free: 123.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05201/1.32, allocations: 15.8 MB / 0.7922 GB, free: 114.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00036/1.321, allocations: 63.42 kB / 0.7922 GB, free: 114.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002378/1.323, allocations: 239.3 kB / 0.7924 GB, free: 114.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005784/1.329, allocations: 2.485 MB / 0.7949 GB, free: 112.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04244/1.371, allocations: 13.34 MB / 0.8079 GB, free: 98.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09925/1.471, allocations: 57.46 MB / 0.864 GB, free: 40.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03011/1.501, allocations: 6.549 MB / 0.8704 GB, free: 33.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007123/1.508, allocations: 3.457 MB / 0.8738 GB, free: 30.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02715/1.535, allocations: 11.61 MB / 0.8851 GB, free: 18.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.31e-05/1.535, allocations: 64.5 kB / 0.8852 GB, free: 18.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=251): time 7.243e-06/1.535, allocations: 0 / 0.8852 GB, free: 18.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=353): time 0.5758/2.111, allocations: 42.24 MB / 0.9264 GB, free: 128.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.805e-05/2.111, allocations: 241.7 kB / 0.9267 GB, free: 128 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01502/2.126, allocations: 5.69 MB / 0.9322 GB, free: 126.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001005/2.127, allocations: 78.55 kB / 0.9323 GB, free: 126.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00446/2.132, allocations: 4.311 MB / 0.9365 GB, free: 123 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002556/2.134, allocations: 1.292 MB / 0.9378 GB, free: 122 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001757/2.136, allocations: 175.5 kB / 0.9379 GB, free: 121.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001079/2.137, allocations: 0.6684 MB / 0.9386 GB, free: 121.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01165/2.149, allocations: 4.083 MB / 0.9426 GB, free: 119.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01485/2.164, allocations: 8.617 MB / 0.951 GB, free: 112.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01468/2.179, allocations: 5.806 MB / 0.9567 GB, free: 110 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000239/2.179, allocations: 44.22 kB / 0.9567 GB, free: 110 MB / 426.7 MB Notification: Performance of matching and sorting (n=1133) (initialization): time 0.05961/2.239, allocations: 16.35 MB / 0.9727 GB, free: 100.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000288/2.239, allocations: 75.98 kB / 0.9727 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003869/2.239, allocations: 156 kB / 0.9729 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03931/2.279, allocations: 4.321 MB / 0.9771 GB, free: 96.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01889/2.298, allocations: 1.899 MB / 0.979 GB, free: 94.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05267/2.35, allocations: 20.23 MB / 0.9987 GB, free: 73.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01063/2.361, allocations: 0.5104 MB / 0.9992 GB, free: 73.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002039/2.363, allocations: 483.8 kB / 0.9997 GB, free: 72.84 MB / 426.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.008319/2.372, allocations: 3.134 MB / 1.003 GB, free: 69.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001735/2.373, allocations: 0.5168 MB / 1.003 GB, free: 69.17 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03788/2.411, allocations: 10.2 MB / 1.013 GB, free: 58.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.504e-05/2.411, allocations: 15.94 kB / 1.013 GB, free: 58.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/2.411, allocations: 0 / 1.013 GB, free: 58.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004584/2.416, allocations: 1.201 MB / 1.014 GB, free: 57.67 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002731/2.419, allocations: 61.48 kB / 1.014 GB, free: 57.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006571/2.425, allocations: 231.7 kB / 1.015 GB, free: 57.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001485/2.427, allocations: 269.9 kB / 1.015 GB, free: 57.12 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03562/2.463, allocations: 9.846 MB / 1.025 GB, free: 47.29 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02595/2.489, allocations: 11.49 MB / 1.036 GB, free: 35.73 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006782/2.495, allocations: 3.264 MB / 1.039 GB, free: 32.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007961/2.504, allocations: 3.588 MB / 1.042 GB, free: 28.89 MB / 426.7 MB Notification: Performance of Backend: time 9.82e-07/2.504, allocations: 0 / 1.042 GB, free: 28.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02147/2.525, allocations: 7.288 MB / 1.05 GB, free: 21.68 MB / 426.7 MB Notification: Performance of SimCode: time 0.03654/2.562, allocations: 16.88 MB / 1.066 GB, free: 4.789 MB / 426.7 MB Notification: Performance of Templates: time 0.4993/3.061, allocations: 83.37 MB / 1.147 GB, free: 88.6 MB / 442.7 MB