Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00266/0.002666, allocations: 369.2 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.041/4.041, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.003478/0.003478, allocations: 228.8 kB / 451 MB, free: 145.1 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.5187/0.5187, allocations: 80.01 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004508/0.000451, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1041, allocations: 54.88 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.4017/0.5059, allocations: 55.04 MB / 0.7339 GB, free: 11.84 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03402/0.54, allocations: 12.17 MB / 0.7457 GB, free: 10.18 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01377/0.5538, allocations: 258 kB / 0.746 GB, free: 10.14 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01086/0.5647, allocations: 2.662 MB / 0.7486 GB, free: 9.598 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03303/0.5978, allocations: 9.37 MB / 0.7577 GB, free: 4.824 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006555/0.6044, allocations: 1.275 MB / 0.759 GB, free: 4.09 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.04388/0.6484, allocations: 21.05 MB / 0.7795 GB, free: 3.695 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01846/0.6669, allocations: 7.843 MB / 0.7872 GB, free: 11.79 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007033/0.674, allocations: 2.386 MB / 0.7895 GB, free: 9.391 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00971/0.6838, allocations: 3.977 MB / 0.7934 GB, free: 5.402 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002506/0.6863, allocations: 292 kB / 0.7937 GB, free: 5.117 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006289/0.6927, allocations: 1.385 MB / 0.795 GB, free: 3.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006781/0.6995, allocations: 3.269 MB / 0.7982 GB, free: 464 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004189/0.7037, allocations: 1.513 MB / 0.7997 GB, free: 14.93 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01872/0.7225, allocations: 10.49 MB / 0.81 GB, free: 4.414 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.7226, allocations: 0 / 0.81 GB, free: 4.414 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.7226, allocations: 4 kB / 0.81 GB, free: 4.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004635/0.7231, allocations: 0 / 0.81 GB, free: 4.41 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: 2779 * Number of variables: 2779 Notification: Performance of Generate backend data structure: time 0.0304/0.7535, allocations: 7.727 MB / 0.8175 GB, free: 12.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.311e-05/0.7536, allocations: 8.031 kB / 0.8175 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07869/0.8323, allocations: 4.837 MB / 0.8222 GB, free: 7.734 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02267/0.855, allocations: 5.171 MB / 0.8273 GB, free: 2.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006693/0.8557, allocations: 438.9 kB / 0.8277 GB, free: 2.051 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003666/0.8594, allocations: 0.5932 MB / 0.8283 GB, free: 1.457 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06723/0.9267, allocations: 20.95 MB / 0.8487 GB, free: 11.37 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003896/0.9272, allocations: 79.3 kB / 0.8488 GB, free: 11.29 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002794/0.93, allocations: 283.6 kB / 0.8491 GB, free: 11.01 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01089/0.9409, allocations: 3.702 MB / 0.8527 GB, free: 7.301 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.112/1.053, allocations: 18.51 MB / 0.8708 GB, free: 4.785 MB / 458.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.8215/1.875, allocations: 74.46 MB / 0.9435 GB, free: 120.1 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03106/1.906, allocations: 7.487 MB / 0.9508 GB, free: 117.6 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01005/1.916, allocations: 4.127 MB / 0.9548 GB, free: 115.9 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0479/1.964, allocations: 18.26 MB / 0.9727 GB, free: 106.5 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.537e-05/1.964, allocations: 76.45 kB / 0.9727 GB, free: 106.4 MB / 490.8 MB Notification: Performance of pre-optimization done (n=338): time 8.456e-06/1.964, allocations: 0 / 0.9727 GB, free: 106.4 MB / 490.8 MB Notification: Performance of matching and sorting (n=428): time 0.2332/2.197, allocations: 37.13 MB / 1.009 GB, free: 75.22 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.085e-05/2.197, allocations: 197 kB / 1.009 GB, free: 74.99 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0136/2.211, allocations: 6.454 MB / 1.015 GB, free: 68.54 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009672/2.212, allocations: 86.56 kB / 1.016 GB, free: 68.45 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004587/2.216, allocations: 5.349 MB / 1.021 GB, free: 63.1 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002436/2.219, allocations: 1.57 MB / 1.022 GB, free: 61.54 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00148/2.221, allocations: 212 kB / 1.023 GB, free: 61.34 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0007756/2.221, allocations: 0.7727 MB / 1.023 GB, free: 60.56 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0115/2.233, allocations: 4.39 MB / 1.028 GB, free: 56.16 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01534/2.248, allocations: 10.31 MB / 1.038 GB, free: 43.01 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01557/2.264, allocations: 6.586 MB / 1.044 GB, free: 36.41 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001946/2.264, allocations: 60 kB / 1.044 GB, free: 36.36 MB / 490.8 MB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.05286/2.317, allocations: 16.51 MB / 1.06 GB, free: 19.82 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001489/2.317, allocations: 96 kB / 1.06 GB, free: 19.72 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002691/2.317, allocations: 204 kB / 1.061 GB, free: 19.52 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01508/2.333, allocations: 2.481 MB / 1.063 GB, free: 17.04 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0159/2.349, allocations: 2.456 MB / 1.065 GB, free: 14.58 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03259/2.381, allocations: 12.36 MB / 1.077 GB, free: 2.09 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01221/2.393, allocations: 0.5824 MB / 1.078 GB, free: 1.508 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002467/2.396, allocations: 0.6089 MB / 1.079 GB, free: 0.9062 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 937 * Number of states: 0 () * Number of discrete variables: 46 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[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 (1316): * Single equations (assignments): 1309 * 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%) 52} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01124/2.407, allocations: 3.764 MB / 1.082 GB, free: 13.12 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002023/2.409, allocations: 0.5901 MB / 1.083 GB, free: 12.53 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03678/2.446, allocations: 8.639 MB / 1.091 GB, free: 3.848 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001206/2.446, allocations: 19.94 kB / 1.091 GB, free: 3.828 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/2.446, allocations: 0 / 1.091 GB, free: 3.828 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005993/2.452, allocations: 1.247 MB / 1.093 GB, free: 2.555 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002858/2.455, allocations: 60 kB / 1.093 GB, free: 2.496 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006512/2.462, allocations: 235.7 kB / 1.093 GB, free: 2.266 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00163/2.463, allocations: 262.8 kB / 1.093 GB, free: 2.008 MB / 0.4949 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.3799/2.843, allocations: 8.724 MB / 1.102 GB, free: 162.8 MB / 0.4949 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0312/2.875, allocations: 11.68 MB / 1.113 GB, free: 158.2 MB / 0.4949 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008432/2.883, allocations: 3.288 MB / 1.116 GB, free: 156.9 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01025/2.893, allocations: 4.009 MB / 1.12 GB, free: 155.6 MB / 0.4949 GB Notification: Performance of Backend: time 1.233e-06/2.894, allocations: 0 / 1.12 GB, free: 155.6 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02482/2.918, allocations: 7.964 MB / 1.128 GB, free: 152.7 MB / 0.4949 GB Notification: Performance of SimCode: time 0.04269/2.961, allocations: 19.6 MB / 1.147 GB, free: 140.4 MB / 0.4949 GB Notification: Performance of Templates: time 0.2256/3.187, allocations: 85.86 MB / 1.231 GB, free: 57.23 MB / 0.4949 GB