Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.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.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.v_rel_a.1.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002752/0.002751, 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.622/3.622, 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.003645/0.003645, allocations: 221.2 kB / 397.9 MB, free: 4.988 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.5297/0.5297, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006121/0.0006122, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09317/0.09381, allocations: 48.71 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.3498/0.4437, allocations: 64.84 MB / 0.6701 GB, free: 47.4 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04014/0.4839, allocations: 13.77 MB / 0.6835 GB, free: 34.12 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01603/0.5, allocations: 316.7 kB / 0.6838 GB, free: 33.81 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0115/0.5115, allocations: 3.165 MB / 0.6869 GB, free: 30.63 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03592/0.5475, allocations: 10.83 MB / 0.6975 GB, free: 19.76 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006581/0.5542, allocations: 0.9338 MB / 0.6984 GB, free: 18.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.05633/0.6106, allocations: 29.34 MB / 0.7271 GB, free: 5.445 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0146/0.6252, allocations: 6.329 MB / 0.7332 GB, free: 15.22 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004885/0.6302, allocations: 1.801 MB / 0.735 GB, free: 13.41 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006916/0.6371, allocations: 2.905 MB / 0.7378 GB, free: 10.5 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001627/0.6388, allocations: 215.9 kB / 0.738 GB, free: 10.29 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004461/0.6433, allocations: 1.046 MB / 0.7391 GB, free: 9.242 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005028/0.6484, allocations: 2.474 MB / 0.7415 GB, free: 6.762 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003012/0.6515, allocations: 1.185 MB / 0.7426 GB, free: 5.566 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01377/0.6653, allocations: 7.848 MB / 0.7503 GB, free: 13.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.6654, allocations: 0 / 0.7503 GB, free: 13.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.035e-06/0.6654, allocations: 0 / 0.7503 GB, free: 13.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004053/0.6658, allocations: 0 / 0.7503 GB, free: 13.7 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: 2023 * Number of variables: 2023 Notification: Performance of Generate backend data structure: time 0.02585/0.6917, allocations: 6.26 MB / 0.7564 GB, free: 7.359 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.6917, allocations: 8.031 kB / 0.7564 GB, free: 7.352 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05508/0.7468, allocations: 3.904 MB / 0.7602 GB, free: 3.434 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3453/1.092, allocations: 4.496 MB / 0.7646 GB, free: 123.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005541/1.093, allocations: 335.5 kB / 0.7649 GB, free: 123.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002377/1.095, allocations: 450.3 kB / 0.7654 GB, free: 123.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03999/1.135, allocations: 13.86 MB / 0.7789 GB, free: 118.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003531/1.136, allocations: 65.98 kB / 0.779 GB, free: 118.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001729/1.137, allocations: 210.1 kB / 0.7792 GB, free: 118.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006071/1.143, allocations: 2.424 MB / 0.7815 GB, free: 118.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0399/1.183, allocations: 11.97 MB / 0.7932 GB, free: 114.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08951/1.273, allocations: 54.19 MB / 0.8462 GB, free: 59.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02326/1.296, allocations: 5.948 MB / 0.852 GB, free: 53.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00674/1.303, allocations: 3.546 MB / 0.8554 GB, free: 50.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00088/1.304, allocations: 0.6857 MB / 0.8561 GB, free: 49.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.953e-05/1.304, allocations: 64.48 kB / 0.8562 GB, free: 49.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=254): time 6.733e-06/1.304, allocations: 0 / 0.8562 GB, free: 49.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=324): time 0.1792/1.483, allocations: 38.09 MB / 0.8934 GB, free: 10.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/1.484, allocations: 265.3 kB / 0.8936 GB, free: 10.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01113/1.495, allocations: 5.26 MB / 0.8987 GB, free: 5.426 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001066/1.496, allocations: 78.41 kB / 0.8988 GB, free: 5.344 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003559/1.499, allocations: 3.973 MB / 0.9027 GB, free: 1.371 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002122/1.502, allocations: 1.209 MB / 0.9039 GB, free: 176 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001241/1.503, allocations: 160 kB / 0.904 GB, free: 16 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0008253/1.504, allocations: 0.6449 MB / 0.9047 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01095/1.515, allocations: 3.65 MB / 0.9082 GB, free: 11.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01601/1.531, allocations: 7.918 MB / 0.916 GB, free: 1.707 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0145/1.545, allocations: 5.291 MB / 0.9211 GB, free: 12.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001464/1.545, allocations: 44 kB / 0.9212 GB, free: 12.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=1046) (initialization): time 0.3516/1.897, allocations: 13.88 MB / 0.9347 GB, free: 129.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000149/1.897, allocations: 69.33 kB / 0.9348 GB, free: 129.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002895/1.898, allocations: 145.6 kB / 0.9349 GB, free: 129.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0136/1.911, allocations: 2.786 MB / 0.9376 GB, free: 129.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01197/1.923, allocations: 1.826 MB / 0.9394 GB, free: 129.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0371/1.96, allocations: 16.61 MB / 0.9557 GB, free: 123.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009432/1.97, allocations: 480.6 kB / 0.9561 GB, free: 123.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002078/1.972, allocations: 470 kB / 0.9566 GB, free: 123.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 669 * Number of states: 0 () * Number of discrete variables: 39 (universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (970): * Single equations (assignments): 965 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 24,(3,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008569/1.981, allocations: 2.822 MB / 0.9593 GB, free: 122.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001921/1.983, allocations: 491.2 kB / 0.9598 GB, free: 122.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03369/2.016, allocations: 8.152 MB / 0.9677 GB, free: 119.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001354/2.017, allocations: 18.58 kB / 0.9678 GB, free: 119.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.678e-05/2.017, allocations: 0.6562 kB / 0.9678 GB, free: 119.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005252/2.022, allocations: 1.117 MB / 0.9689 GB, free: 119 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002455/2.024, allocations: 53.48 kB / 0.9689 GB, free: 119 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007484/2.032, allocations: 240.7 kB / 0.9691 GB, free: 118.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001563/2.033, allocations: 225.5 kB / 0.9693 GB, free: 118.9 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03969/2.073, allocations: 8.488 MB / 0.9776 GB, free: 116 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02847/2.102, allocations: 10.41 MB / 0.9878 GB, free: 111.3 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006574/2.108, allocations: 2.91 MB / 0.9906 GB, free: 108.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008032/2.116, allocations: 3.315 MB / 0.9939 GB, free: 105.9 MB / 442.7 MB Notification: Performance of Backend: time 1.352e-06/2.116, allocations: 0 / 0.9939 GB, free: 105.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02155/2.138, allocations: 6.73 MB / 1 GB, free: 99.32 MB / 442.7 MB Notification: Performance of SimCode: time 0.03411/2.172, allocations: 15.88 MB / 1.016 GB, free: 83.62 MB / 442.7 MB Notification: Performance of Templates: time 0.2101/2.382, allocations: 74.75 MB / 1.089 GB, free: 9.453 MB / 442.7 MB