Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002549/0.002549, allocations: 348.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.52/3.52, allocations: 341.5 MB / 358.2 MB, free: 12.61 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.003548/0.003547, allocations: 221.2 kB / 397.9 MB, free: 4.965 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.4778/0.4778, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004682/0.0004684, allocations: 8 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08433/0.08483, allocations: 48.71 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.2931/0.3779, allocations: 22.86 MB / 0.6291 GB, free: 79.04 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.017/0.395, allocations: 5.83 MB / 0.6348 GB, free: 75.12 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005816/0.4009, allocations: 110.9 kB / 0.6349 GB, free: 75.11 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004835/0.4058, allocations: 1.162 MB / 0.636 GB, free: 74.72 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01409/0.4199, allocations: 4.029 MB / 0.6399 GB, free: 73.07 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003428/0.4234, allocations: 0.5645 MB / 0.6405 GB, free: 72.85 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.007615/0.431, allocations: 3.998 MB / 0.6444 GB, free: 70.98 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005857/0.4369, allocations: 2.83 MB / 0.6471 GB, free: 69.35 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002668/0.4397, allocations: 1.018 MB / 0.6481 GB, free: 68.85 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003762/0.4435, allocations: 1.598 MB / 0.6497 GB, free: 68.07 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001058/0.4446, allocations: 131.3 kB / 0.6498 GB, free: 68.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002437/0.447, allocations: 0.5429 MB / 0.6504 GB, free: 67.83 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002544/0.4496, allocations: 1.481 MB / 0.6518 GB, free: 66.69 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001183/0.4508, allocations: 0.7909 MB / 0.6526 GB, free: 65.89 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006573/0.4574, allocations: 4.959 MB / 0.6574 GB, free: 60.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4575, allocations: 0 / 0.6574 GB, free: 60.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4575, allocations: 0 / 0.6574 GB, free: 60.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002118/0.4577, allocations: 0 / 0.6574 GB, free: 60.93 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: 1614 * Number of variables: 1614 Notification: Performance of Generate backend data structure: time 0.008415/0.4662, allocations: 3.493 MB / 0.6608 GB, free: 57.37 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.4662, allocations: 12.03 kB / 0.6608 GB, free: 57.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02044/0.4867, allocations: 3.656 MB / 0.6644 GB, free: 53.69 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005298/0.492, allocations: 1.818 MB / 0.6662 GB, free: 51.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002406/0.4923, allocations: 208.9 kB / 0.6664 GB, free: 51.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001523/0.4939, allocations: 257.5 kB / 0.6666 GB, free: 51.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02179/0.5157, allocations: 10.53 MB / 0.6769 GB, free: 40.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.516e-05/0.5158, allocations: 31.69 kB / 0.6769 GB, free: 40.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008496/0.5167, allocations: 135.8 kB / 0.6771 GB, free: 40.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009467/0.5262, allocations: 2.435 MB / 0.6795 GB, free: 37.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02562/0.5519, allocations: 9.346 MB / 0.6886 GB, free: 28.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06559/0.6175, allocations: 38.84 MB / 0.7265 GB, free: 4.285 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009766/0.6274, allocations: 3.481 MB / 0.7299 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003323/0.6307, allocations: 1.27 MB / 0.7312 GB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01469/0.6455, allocations: 5.453 MB / 0.7365 GB, free: 9.641 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.589e-05/0.6456, allocations: 51.06 kB / 0.7365 GB, free: 9.582 MB / 394.7 MB Notification: Performance of pre-optimization done (n=153): time 7.113e-06/0.6456, allocations: 0 / 0.7365 GB, free: 9.582 MB / 394.7 MB Notification: Performance of matching and sorting (n=153): time 0.01242/0.658, allocations: 3.339 MB / 0.7398 GB, free: 6.238 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.6582, allocations: 174.7 kB / 0.74 GB, free: 6.031 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009354/0.6675, allocations: 3.907 MB / 0.7438 GB, free: 2.133 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002978/0.6679, allocations: 41.7 kB / 0.7438 GB, free: 2.086 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004085/0.672, allocations: 3.305 MB / 0.747 GB, free: 14.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001224/0.6733, allocations: 0.6214 MB / 0.7476 GB, free: 14.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007201/0.674, allocations: 128 kB / 0.7478 GB, free: 13.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006702/0.6747, allocations: 0.5949 MB / 0.7483 GB, free: 13.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005745/0.6804, allocations: 1.977 MB / 0.7503 GB, free: 11.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01015/0.6907, allocations: 6.254 MB / 0.7564 GB, free: 2.996 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008792/0.6995, allocations: 3.524 MB / 0.7598 GB, free: 15.47 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001337/0.6997, allocations: 44 kB / 0.7599 GB, free: 15.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.02225/0.7219, allocations: 7.848 MB / 0.7675 GB, free: 7.582 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001389/0.7221, allocations: 71.44 kB / 0.7676 GB, free: 7.516 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002832/0.7224, allocations: 154.6 kB / 0.7677 GB, free: 7.367 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003143/0.7228, allocations: 224 kB / 0.768 GB, free: 7.148 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009379/0.7321, allocations: 1.505 MB / 0.7694 GB, free: 5.641 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003747/0.7326, allocations: 298.8 kB / 0.7697 GB, free: 5.348 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006893/0.7395, allocations: 0.9512 MB / 0.7706 GB, free: 4.391 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001345/0.7409, allocations: 408 kB / 0.771 GB, free: 3.992 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * Number of states: 0 () * Number of discrete variables: 18 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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 (816): * Single equations (assignments): 808 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006211/0.7471, allocations: 2.282 MB / 0.7733 GB, free: 1.699 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007646/0.7479, allocations: 307.9 kB / 0.7736 GB, free: 1.395 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.7491, allocations: 416 kB / 0.7739 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/0.7491, allocations: 3.984 kB / 0.774 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.7491, allocations: 7.984 kB / 0.774 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008959/0.75, allocations: 384.5 kB / 0.7743 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000611/0.7506, allocations: 16 kB / 0.7743 GB, free: 0.5625 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001746/0.7524, allocations: 67.91 kB / 0.7744 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002171/0.7526, allocations: 56.48 kB / 0.7745 GB, free: 452 kB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.3502/1.103, allocations: 2.278 MB / 0.7767 GB, free: 128.6 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007232/1.11, allocations: 2.506 MB / 0.7791 GB, free: 128.1 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002637/1.113, allocations: 0.8696 MB / 0.78 GB, free: 128.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007511/1.12, allocations: 2.38 MB / 0.7823 GB, free: 127.9 MB / 426.7 MB Notification: Performance of Backend: time 1.493e-06/1.12, allocations: 1.312 kB / 0.7823 GB, free: 127.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01133/1.132, allocations: 3.826 MB / 0.786 GB, free: 126.7 MB / 426.7 MB Notification: Performance of SimCode: time 0.02253/1.154, allocations: 10.27 MB / 0.7961 GB, free: 121.4 MB / 426.7 MB Notification: Performance of Templates: time 0.1026/1.257, allocations: 32.42 MB / 0.8277 GB, free: 104.3 MB / 426.7 MB