Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance.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.Distance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Distance1.distance",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00393/0.00393, 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.552/3.552, 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.003518/0.003518, allocations: 225.1 kB / 397.9 MB, free: 4.984 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.4795/0.4795, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004601/0.0004603, allocations: 15.98 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08249/0.08297, allocations: 48.7 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance): time 0.3691/0.4521, allocations: 29.36 MB / 0.6354 GB, free: 74.43 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02447/0.4766, allocations: 7.038 MB / 0.6423 GB, free: 69.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008007/0.4847, allocations: 134.4 kB / 0.6424 GB, free: 69.71 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006531/0.4913, allocations: 1.388 MB / 0.6438 GB, free: 69.25 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02141/0.5127, allocations: 5.056 MB / 0.6487 GB, free: 66.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003233/0.516, allocations: 0.4929 MB / 0.6492 GB, free: 66.58 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.02737/0.5434, allocations: 14.8 MB / 0.6636 GB, free: 54.55 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004748/0.5482, allocations: 2.663 MB / 0.6662 GB, free: 51.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001866/0.5502, allocations: 0.9728 MB / 0.6672 GB, free: 50.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002965/0.5532, allocations: 1.589 MB / 0.6687 GB, free: 49.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000649/0.5539, allocations: 116 kB / 0.6689 GB, free: 49.22 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002572/0.5564, allocations: 0.9518 MB / 0.6698 GB, free: 48.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001665/0.5581, allocations: 1.36 MB / 0.6711 GB, free: 46.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007736/0.5589, allocations: 0.6636 MB / 0.6718 GB, free: 46.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005815/0.5648, allocations: 4.384 MB / 0.676 GB, free: 41.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.5648, allocations: 0 / 0.676 GB, free: 41.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5648, allocations: 0 / 0.676 GB, free: 41.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000188/0.565, allocations: 0 / 0.676 GB, free: 41.84 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: 1216 * Number of variables: 1216 Notification: Performance of Generate backend data structure: time 0.009805/0.5749, allocations: 3.302 MB / 0.6793 GB, free: 38.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.5749, allocations: 12.02 kB / 0.6793 GB, free: 38.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0315/0.6064, allocations: 2.808 MB / 0.682 GB, free: 35.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006917/0.6134, allocations: 2.248 MB / 0.6842 GB, free: 33.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/0.6136, allocations: 174.9 kB / 0.6844 GB, free: 33.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008832/0.6145, allocations: 228.5 kB / 0.6846 GB, free: 32.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01626/0.6308, allocations: 7.941 MB / 0.6923 GB, free: 24.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001361/0.631, allocations: 43.61 kB / 0.6924 GB, free: 24.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005552/0.6315, allocations: 111.9 kB / 0.6925 GB, free: 24.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003737/0.6353, allocations: 1.609 MB / 0.6941 GB, free: 22.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01769/0.653, allocations: 6.77 MB / 0.7007 GB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0501/0.7032, allocations: 31.47 MB / 0.7314 GB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008232/0.7115, allocations: 2.34 MB / 0.7337 GB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002986/0.7145, allocations: 1.172 MB / 0.7348 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000581/0.7151, allocations: 323.7 kB / 0.7351 GB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.171e-05/0.7152, allocations: 51.06 kB / 0.7352 GB, free: 11.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=117): time 5.971e-06/0.7152, allocations: 0 / 0.7352 GB, free: 11.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=141): time 0.07233/0.7876, allocations: 12.32 MB / 0.7472 GB, free: 14.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.7877, allocations: 200.5 kB / 0.7474 GB, free: 14.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01009/0.7978, allocations: 3.686 MB / 0.751 GB, free: 11.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000344/0.7982, allocations: 41.7 kB / 0.7511 GB, free: 10.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003011/0.8012, allocations: 2.658 MB / 0.7537 GB, free: 8.285 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009568/0.8022, allocations: 0.5555 MB / 0.7542 GB, free: 7.723 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004728/0.8027, allocations: 112 kB / 0.7543 GB, free: 7.613 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004672/0.8032, allocations: 0.5335 MB / 0.7548 GB, free: 7.074 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005627/0.8088, allocations: 1.787 MB / 0.7566 GB, free: 5.281 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2962/1.105, allocations: 5.203 MB / 0.7617 GB, free: 117.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00769/1.113, allocations: 2.982 MB / 0.7646 GB, free: 117.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001797/1.113, allocations: 34.25 kB / 0.7646 GB, free: 117.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=716) (initialization): time 0.02131/1.134, allocations: 7.217 MB / 0.7716 GB, free: 115.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001322/1.135, allocations: 55.16 kB / 0.7717 GB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002534/1.135, allocations: 126.1 kB / 0.7718 GB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003081/1.138, allocations: 0.6655 MB / 0.7725 GB, free: 115.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007947/1.146, allocations: 1.259 MB / 0.7737 GB, free: 115.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007449/1.154, allocations: 3.771 MB / 0.7774 GB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005928/1.16, allocations: 303.8 kB / 0.7777 GB, free: 113 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001241/1.161, allocations: 339 kB / 0.778 GB, free: 113 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 24 (BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],Distance1.arrowColor[3],Distance1.arrowColor[2],Distance1.arrowColor[1],fixed.color[3],fixed.color[2],fixed.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (681): * Single equations (assignments): 677 * 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.004934/1.166, allocations: 1.776 MB / 0.7797 GB, free: 112.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007864/1.167, allocations: 305.1 kB / 0.78 GB, free: 112.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007217/1.174, allocations: 2.216 MB / 0.7822 GB, free: 111.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.369e-05/1.174, allocations: 7.5 kB / 0.7822 GB, free: 111.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/1.174, allocations: 1.312 kB / 0.7822 GB, free: 111.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001832/1.176, allocations: 0.5589 MB / 0.7827 GB, free: 111.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009572/1.177, allocations: 24.38 kB / 0.7828 GB, free: 111.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002497/1.179, allocations: 84.12 kB / 0.7828 GB, free: 111.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003996/1.18, allocations: 78.94 kB / 0.7829 GB, free: 111.1 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008765/1.188, allocations: 2.803 MB / 0.7857 GB, free: 110 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008809/1.197, allocations: 3.877 MB / 0.7894 GB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002407/1.2, allocations: 0.9563 MB / 0.7904 GB, free: 107.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005523/1.205, allocations: 2.302 MB / 0.7926 GB, free: 107.1 MB / 410.7 MB Notification: Performance of Backend: time 9.71e-07/1.205, allocations: 0 / 0.7926 GB, free: 107.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01122/1.217, allocations: 3.598 MB / 0.7961 GB, free: 105.8 MB / 410.7 MB Notification: Performance of SimCode: time 0.01791/1.235, allocations: 8.86 MB / 0.8048 GB, free: 98.6 MB / 410.7 MB Notification: Performance of Templates: time 0.09931/1.334, allocations: 37.02 MB / 0.8409 GB, free: 63.14 MB / 410.7 MB