Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance2.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.Sensors.Distance2,tolerance=1e-10,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|distance1.distance|distance2.distance",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002587/0.002586, allocations: 353.7 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.692/3.692, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.003527/0.003527, allocations: 229.2 kB / 397.9 MB, free: 4.977 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.4763/0.4763, allocations: 76.08 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004684/0.0004688, allocations: 8 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08542/0.08592, allocations: 48.71 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance2): time 0.3624/0.4484, allocations: 35.95 MB / 0.6419 GB, free: 69.61 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02203/0.4705, allocations: 8.188 MB / 0.6498 GB, free: 64.14 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007929/0.4785, allocations: 164.4 kB / 0.65 GB, free: 64.11 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006506/0.485, allocations: 1.72 MB / 0.6517 GB, free: 63.55 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02103/0.5061, allocations: 6.144 MB / 0.6577 GB, free: 59.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003318/0.5095, allocations: 0.508 MB / 0.6582 GB, free: 59.49 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0274/0.5369, allocations: 15.11 MB / 0.6729 GB, free: 45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00536/0.5423, allocations: 3.042 MB / 0.6759 GB, free: 42 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/0.5442, allocations: 1.054 MB / 0.6769 GB, free: 40.94 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003167/0.5474, allocations: 1.753 MB / 0.6786 GB, free: 39.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001099/0.5486, allocations: 124 kB / 0.6788 GB, free: 39.06 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003481/0.5521, allocations: 0.9674 MB / 0.6797 GB, free: 38.09 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002496/0.5547, allocations: 1.508 MB / 0.6812 GB, free: 36.58 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001209/0.5559, allocations: 0.7298 MB / 0.6819 GB, free: 35.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006276/0.5622, allocations: 4.875 MB / 0.6867 GB, free: 30.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.5623, allocations: 0 / 0.6867 GB, free: 30.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.5623, allocations: 0 / 0.6867 GB, free: 30.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001507/0.5625, allocations: 0 / 0.6867 GB, free: 30.95 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1363 * Number of variables: 1363 Notification: Performance of Generate backend data structure: time 0.01022/0.5727, allocations: 3.574 MB / 0.6901 GB, free: 27.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.5728, allocations: 8.031 kB / 0.6902 GB, free: 27.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03141/0.6042, allocations: 2.889 MB / 0.693 GB, free: 24.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007236/0.6115, allocations: 2.371 MB / 0.6953 GB, free: 21.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001714/0.6117, allocations: 192.9 kB / 0.6955 GB, free: 21.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008796/0.6126, allocations: 259.8 kB / 0.6957 GB, free: 21.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02346/0.6361, allocations: 8.814 MB / 0.7043 GB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001432/0.6363, allocations: 39.61 kB / 0.7044 GB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008127/0.6371, allocations: 127.9 kB / 0.7045 GB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004262/0.6414, allocations: 1.778 MB / 0.7062 GB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0197/0.6612, allocations: 7.487 MB / 0.7135 GB, free: 2.656 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06196/0.7232, allocations: 34.19 MB / 0.7469 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008729/0.732, allocations: 2.593 MB / 0.7495 GB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003018/0.7351, allocations: 1.176 MB / 0.7506 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005531/0.7357, allocations: 332 kB / 0.7509 GB, free: 11.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.237e-05/0.7357, allocations: 55.11 kB / 0.751 GB, free: 11.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=119): time 7.043e-06/0.7358, allocations: 3.094 kB / 0.751 GB, free: 11.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=133): time 0.04327/0.779, allocations: 9.774 MB / 0.7605 GB, free: 1.273 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001624/0.7792, allocations: 200.5 kB / 0.7607 GB, free: 1.031 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2873/1.067, allocations: 3.912 MB / 0.7645 GB, free: 123 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003079/1.067, allocations: 46.33 kB / 0.7646 GB, free: 123 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002908/1.07, allocations: 2.931 MB / 0.7674 GB, free: 121.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009708/1.071, allocations: 0.5395 MB / 0.768 GB, free: 121.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006567/1.072, allocations: 118.9 kB / 0.7681 GB, free: 121.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000454/1.072, allocations: 0.553 MB / 0.7686 GB, free: 120.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005104/1.077, allocations: 1.782 MB / 0.7704 GB, free: 120.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008073/1.085, allocations: 5.583 MB / 0.7758 GB, free: 114.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007757/1.093, allocations: 3.082 MB / 0.7788 GB, free: 113.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000234/1.093, allocations: 39.69 kB / 0.7789 GB, free: 113.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=767) (initialization): time 0.02233/1.116, allocations: 7.521 MB / 0.7862 GB, free: 110.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001547/1.116, allocations: 70.09 kB / 0.7863 GB, free: 110.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002677/1.116, allocations: 133.8 kB / 0.7864 GB, free: 110.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00323/1.119, allocations: 0.6852 MB / 0.7871 GB, free: 110.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008258/1.128, allocations: 1.351 MB / 0.7884 GB, free: 110.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007539/1.135, allocations: 3.804 MB / 0.7921 GB, free: 108.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006343/1.142, allocations: 319.5 kB / 0.7924 GB, free: 108.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00129/1.143, allocations: 375.3 kB / 0.7928 GB, free: 108.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 616 * Number of states: 0 () * Number of discrete variables: 28 (LessEqualThreshold1.y,distance2.arrowColor[3],distance2.arrowColor[2],distance2.arrowColor[1],distance1.arrowColor[3],distance1.arrowColor[2],distance1.arrowColor[1],fixed.color[3],fixed.color[2],fixed.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (732): * Single equations (assignments): 728 * 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 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005019/1.148, allocations: 1.93 MB / 0.7946 GB, free: 107.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008038/1.149, allocations: 323.6 kB / 0.795 GB, free: 107.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005979/1.155, allocations: 2.063 MB / 0.797 GB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.264e-05/1.155, allocations: 11.62 kB / 0.797 GB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/1.155, allocations: 3.938 kB / 0.797 GB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001726/1.157, allocations: 0.5455 MB / 0.7975 GB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000743/1.158, allocations: 20.59 kB / 0.7975 GB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001931/1.16, allocations: 69.39 kB / 0.7976 GB, free: 106 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002609/1.16, allocations: 80.92 kB / 0.7977 GB, free: 106 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007109/1.167, allocations: 2.571 MB / 0.8002 GB, free: 105 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006984/1.174, allocations: 3.556 MB / 0.8037 GB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001792/1.176, allocations: 0.8456 MB / 0.8045 GB, free: 102 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004855/1.181, allocations: 2.439 MB / 0.8069 GB, free: 100 MB / 410.7 MB Notification: Performance of Backend: time 9.62e-07/1.181, allocations: 0 / 0.8069 GB, free: 100 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01078/1.192, allocations: 3.702 MB / 0.8105 GB, free: 96.78 MB / 410.7 MB Notification: Performance of SimCode: time 0.0196/1.211, allocations: 9.551 MB / 0.8198 GB, free: 87.43 MB / 410.7 MB Notification: Performance of Templates: time 0.1007/1.312, allocations: 36.76 MB / 0.8557 GB, free: 51.22 MB / 410.7 MB