Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.Distance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance") translateModel(ModelicaTest.MultiBody.Sensors.Distance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007868/0.0007868, allocations: 91.38 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006486/0.006486, allocations: 172.3 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3135/0.3135, allocations: 38.03 MB / 308.8 MB, free: 10.27 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005548/0.000555, allocations: 12 kB / 377 MB, free: 14.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1016, allocations: 57.52 MB / 434.6 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance): time 0.2437/0.3453, allocations: 32.92 MB / 467.5 MB, free: 33.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01987/0.3652, allocations: 7.662 MB / 475.1 MB, free: 32.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006248/0.3715, allocations: 140.2 kB / 475.3 MB, free: 32.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00133/0.3729, allocations: 346.9 kB / 475.6 MB, free: 31.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004172/0.3771, allocations: 1.535 MB / 477.2 MB, free: 31.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.3783, allocations: 0.5103 MB / 477.7 MB, free: 31.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005325/0.3836, allocations: 4.988 MB / 482.7 MB, free: 30.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004435/0.3881, allocations: 3.01 MB / 485.7 MB, free: 28.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001739/0.3899, allocations: 0.8986 MB / 486.6 MB, free: 28.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001883/0.3918, allocations: 1.61 MB / 488.2 MB, free: 28.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003572/0.3921, allocations: 112.9 kB / 488.3 MB, free: 28.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001755/0.3939, allocations: 1.065 MB / 489.3 MB, free: 28.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00108/0.395, allocations: 1.397 MB / 490.7 MB, free: 27.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001151/0.3961, allocations: 1.613 MB / 492.4 MB, free: 26.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006342/0.4025, allocations: 5.364 MB / 497.7 MB, free: 25.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4025, allocations: 0 / 497.7 MB, free: 25.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.4026, allocations: 0 / 497.7 MB, free: 25.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002489/0.4028, allocations: 0 / 497.7 MB, free: 25.12 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1219 * Number of variables: 1219 Notification: Performance of Generate backend data structure: time 0.009428/0.4122, allocations: 3.189 MB / 0.4892 GB, free: 23.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.4123, allocations: 9.422 kB / 0.4892 GB, free: 23.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01792/0.4302, allocations: 2.447 MB / 0.4916 GB, free: 22.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006765/0.437, allocations: 2.282 MB / 0.4938 GB, free: 21.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001826/0.4373, allocations: 173.2 kB / 0.494 GB, free: 21.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001464/0.4387, allocations: 230.5 kB / 0.4942 GB, free: 21.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01637/0.4551, allocations: 7.904 MB / 0.5019 GB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001158/0.4553, allocations: 34.78 kB / 0.5019 GB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003576/0.4556, allocations: 112.2 kB / 0.502 GB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00295/0.4586, allocations: 1.669 MB / 0.5037 GB, free: 16.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0129/0.4715, allocations: 6.771 MB / 0.5103 GB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04146/0.513, allocations: 31.57 MB / 0.5411 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005239/0.5183, allocations: 2.363 MB / 0.5434 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001834/0.5202, allocations: 1.18 MB / 0.5446 GB, free: 9.695 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004035/0.5206, allocations: 323.7 kB / 0.5449 GB, free: 9.324 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.5207, allocations: 51.06 kB / 0.5449 GB, free: 9.266 MB / 414.1 MB Notification: Performance of pre-optimization done (n=117): time 5.41e-06/0.5207, allocations: 0 / 0.5449 GB, free: 9.266 MB / 414.1 MB Notification: Performance of matching and sorting (n=141): time 0.03946/0.5602, allocations: 12.32 MB / 0.557 GB, free: 12.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.5603, allocations: 196.8 kB / 0.5571 GB, free: 12.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007656/0.568, allocations: 3.734 MB / 0.5608 GB, free: 8.836 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003445/0.5684, allocations: 53.64 kB / 0.5608 GB, free: 8.777 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002136/0.5705, allocations: 2.662 MB / 0.5634 GB, free: 6.078 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008177/0.5713, allocations: 0.5634 MB / 0.564 GB, free: 5.508 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009984/0.5724, allocations: 486.1 kB / 0.5645 GB, free: 5.027 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.129e-05/0.5725, allocations: 301.1 kB / 0.5647 GB, free: 4.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003185/0.5757, allocations: 1.799 MB / 0.5665 GB, free: 2.926 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005458/0.5811, allocations: 5.256 MB / 0.5716 GB, free: 11.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009423/0.5906, allocations: 7.614 MB / 0.5791 GB, free: 2.609 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001085/0.5907, allocations: 36 kB / 0.5791 GB, free: 2.574 MB / 446.1 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.01583/0.6065, allocations: 7.284 MB / 0.5862 GB, free: 11.29 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000144/0.6067, allocations: 59.59 kB / 0.5863 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001996/0.6069, allocations: 120 kB / 0.5864 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001707/0.6086, allocations: 0.6638 MB / 0.587 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004453/0.6131, allocations: 1.263 MB / 0.5883 GB, free: 9.184 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004399/0.6175, allocations: 3.79 MB / 0.592 GB, free: 5.262 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004292/0.6219, allocations: 307.3 kB / 0.5923 GB, free: 4.961 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001032/0.6229, allocations: 340 kB / 0.5926 GB, free: 4.629 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 27 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (684): * Single equations (assignments): 680 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004888/0.6278, allocations: 1.778 MB / 0.5943 GB, free: 2.84 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009131/0.6287, allocations: 308 kB / 0.5946 GB, free: 2.535 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005187/0.6339, allocations: 2.231 MB / 0.5968 GB, free: 296 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.239e-05/0.634, allocations: 16 kB / 0.5968 GB, free: 280 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/0.634, allocations: 4 kB / 0.5968 GB, free: 276 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.752e-05/0.6341, allocations: 3.984 kB / 0.5968 GB, free: 272 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01429/0.6484, allocations: 5.983 MB / 0.6027 GB, free: 10.19 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/0.6484, allocations: 0 / 0.6027 GB, free: 10.19 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/0.6496, allocations: 219.7 kB / 0.6029 GB, free: 9.973 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001386/0.651, allocations: 480.2 kB / 0.6033 GB, free: 9.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001511/0.6511, allocations: 28 kB / 0.6034 GB, free: 9.473 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003752/0.6549, allocations: 3.213 MB / 0.6065 GB, free: 6.125 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/0.6549, allocations: 4 kB / 0.6065 GB, free: 6.121 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006811/0.6617, allocations: 4.347 MB / 0.6107 GB, free: 1.738 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001543/0.6633, allocations: 0.5555 MB / 0.6113 GB, free: 1.16 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008962/0.6642, allocations: 27.94 kB / 0.6113 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00172/0.6659, allocations: 83.95 kB / 0.6114 GB, free: 1.051 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002143/0.6662, allocations: 76.48 kB / 0.6115 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.6663, allocations: 36 kB / 0.6115 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005354/0.6716, allocations: 2.337 MB / 0.6138 GB, free: 14.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6716, allocations: 0 / 0.6138 GB, free: 14.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005953/0.6776, allocations: 0.8359 MB / 0.6146 GB, free: 13.78 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 108 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004788/0.6781, allocations: 155 kB / 0.6147 GB, free: 13.62 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00755/0.6857, allocations: 4.286 MB / 0.6189 GB, free: 9.348 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.6857, allocations: 4.5 kB / 0.6189 GB, free: 9.344 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001904/0.6876, allocations: 1.19 MB / 0.6201 GB, free: 8.141 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004716/0.6924, allocations: 350.4 kB / 0.6204 GB, free: 7.797 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2551/0.9475, allocations: 9.147 MB / 0.6294 GB, free: 145.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002516/0.9501, allocations: 2.762 MB / 0.6321 GB, free: 144.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003881/0.954, allocations: 1.727 MB / 0.6337 GB, free: 144.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006451/0.9547, allocations: 214.4 kB / 0.634 GB, free: 144.8 MB / 494.1 MB Notification: Performance of SimCode: time 9.22e-07/0.9547, allocations: 3.844 kB / 0.634 GB, free: 144.8 MB / 494.1 MB Notification: Performance of Templates: time 0.05837/1.013, allocations: 28.96 MB / 0.6622 GB, free: 138.5 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance.pipe 2>&1) Environment - environmentSimulation: