Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002714/0.002719, allocations: 352.3 kB / 15.95 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.573/3.573, 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.005567/0.005566, allocations: 229.1 kB / 397.9 MB, free: 4.98 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.5147/0.5147, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004733, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08312/0.08363, allocations: 48.71 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.3317/0.4154, allocations: 55.02 MB / 0.6605 GB, free: 56.09 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03457/0.45, allocations: 12.17 MB / 0.6723 GB, free: 45.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01387/0.464, allocations: 259.4 kB / 0.6726 GB, free: 45.33 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009591/0.4736, allocations: 2.66 MB / 0.6752 GB, free: 42.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03011/0.5038, allocations: 9.371 MB / 0.6843 GB, free: 33.27 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006247/0.5101, allocations: 1.298 MB / 0.6856 GB, free: 31.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.03511/0.5452, allocations: 21.04 MB / 0.7062 GB, free: 10.9 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01448/0.5598, allocations: 7.847 MB / 0.7138 GB, free: 3.16 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005194/0.5651, allocations: 2.394 MB / 0.7162 GB, free: 0.7578 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008849/0.574, allocations: 3.969 MB / 0.72 GB, free: 12.78 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002215/0.5762, allocations: 292 kB / 0.7203 GB, free: 12.49 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005607/0.5819, allocations: 1.389 MB / 0.7217 GB, free: 11.1 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006471/0.5884, allocations: 3.269 MB / 0.7249 GB, free: 7.824 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00352/0.592, allocations: 1.509 MB / 0.7263 GB, free: 6.305 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01841/0.6104, allocations: 10.5 MB / 0.7366 GB, free: 11.78 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.6105, allocations: 0 / 0.7366 GB, free: 11.78 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.64e-06/0.6105, allocations: 0 / 0.7366 GB, free: 11.78 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004677/0.611, allocations: 3.938 kB / 0.7366 GB, free: 11.78 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.02867/0.6397, allocations: 7.723 MB / 0.7441 GB, free: 3.969 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.6397, allocations: 8.031 kB / 0.7441 GB, free: 3.961 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03523/0.675, allocations: 4.841 MB / 0.7489 GB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01781/0.6928, allocations: 5.155 MB / 0.7539 GB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006773/0.6936, allocations: 442.8 kB / 0.7543 GB, free: 9.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003434/0.697, allocations: 0.6048 MB / 0.7549 GB, free: 8.824 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6357/1.333, allocations: 20.95 MB / 0.7754 GB, free: 112.9 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006306/1.333, allocations: 79.72 kB / 0.7755 GB, free: 112.8 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002909/1.336, allocations: 273.8 kB / 0.7757 GB, free: 112.7 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01052/1.347, allocations: 3.71 MB / 0.7793 GB, free: 112 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06216/1.409, allocations: 18.51 MB / 0.7974 GB, free: 106 MB / 410.8 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.1321/1.541, allocations: 74.48 MB / 0.8701 GB, free: 31.12 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02891/1.57, allocations: 7.484 MB / 0.8775 GB, free: 23.41 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008765/1.579, allocations: 4.125 MB / 0.8815 GB, free: 19.27 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04473/1.624, allocations: 18.25 MB / 0.8993 GB, free: 420 kB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.994e-05/1.624, allocations: 72.59 kB / 0.8994 GB, free: 336 kB / 410.8 MB Notification: Performance of pre-optimization done (n=338): time 8.396e-06/1.624, allocations: 0 / 0.8994 GB, free: 336 kB / 410.8 MB Notification: Performance of matching and sorting (n=428): time 0.6174/2.242, allocations: 37.13 MB / 0.9356 GB, free: 135.5 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.855e-05/2.242, allocations: 197.4 kB / 0.9358 GB, free: 135.3 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02001/2.262, allocations: 6.464 MB / 0.9421 GB, free: 134.2 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001232/2.263, allocations: 87.7 kB / 0.9422 GB, free: 134.1 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006752/2.27, allocations: 5.342 MB / 0.9474 GB, free: 130.6 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003353/2.273, allocations: 1.573 MB / 0.949 GB, free: 129.5 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001956/2.275, allocations: 215.1 kB / 0.9492 GB, free: 129.3 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.001394/2.277, allocations: 0.7669 MB / 0.9499 GB, free: 128.8 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01799/2.295, allocations: 4.399 MB / 0.9542 GB, free: 127.3 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02255/2.317, allocations: 10.3 MB / 0.9643 GB, free: 117.9 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02143/2.339, allocations: 6.578 MB / 0.9707 GB, free: 115.4 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003243/2.339, allocations: 62.41 kB / 0.9708 GB, free: 115.4 MB / 442.8 MB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.07324/2.412, allocations: 16.51 MB / 0.9869 GB, free: 109.3 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001859/2.413, allocations: 95.31 kB / 0.987 GB, free: 109.3 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003747/2.413, allocations: 209 kB / 0.9872 GB, free: 109.3 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01481/2.428, allocations: 2.479 MB / 0.9896 GB, free: 108.6 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01567/2.444, allocations: 2.458 MB / 0.992 GB, free: 106.4 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03128/2.475, allocations: 12.36 MB / 1.004 GB, free: 94.68 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01234/2.487, allocations: 0.5853 MB / 1.005 GB, free: 94.09 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002327/2.49, allocations: 0.5954 MB / 1.005 GB, free: 93.5 MB / 442.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.01089/2.501, allocations: 3.777 MB / 1.009 GB, free: 89.71 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001658/2.502, allocations: 0.5862 MB / 1.009 GB, free: 89.11 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03647/2.539, allocations: 8.65 MB / 1.018 GB, free: 80.42 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001079/2.539, allocations: 15.94 kB / 1.018 GB, free: 80.41 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.921e-05/2.539, allocations: 3.438 kB / 1.018 GB, free: 80.41 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005687/2.545, allocations: 1.239 MB / 1.019 GB, free: 79.14 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002729/2.548, allocations: 65.02 kB / 1.019 GB, free: 79.08 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007711/2.555, allocations: 233.1 kB / 1.019 GB, free: 78.85 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001407/2.557, allocations: 266.2 kB / 1.02 GB, free: 78.59 MB / 442.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04059/2.597, allocations: 8.736 MB / 1.028 GB, free: 69.89 MB / 442.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02685/2.624, allocations: 11.67 MB / 1.04 GB, free: 58.16 MB / 442.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007208/2.632, allocations: 3.289 MB / 1.043 GB, free: 54.86 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.009713/2.641, allocations: 4.016 MB / 1.047 GB, free: 50.85 MB / 442.8 MB Notification: Performance of Backend: time 1.172e-06/2.641, allocations: 0 / 1.047 GB, free: 50.85 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.02556/2.667, allocations: 7.955 MB / 1.055 GB, free: 42.97 MB / 442.8 MB Notification: Performance of SimCode: time 0.04229/2.709, allocations: 19.61 MB / 1.074 GB, free: 23.35 MB / 442.8 MB Notification: Performance of Templates: time 0.5806/3.29, allocations: 85.86 MB / 1.158 GB, free: 88.44 MB / 442.8 MB