Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.MultiBody.Sensors.Distance") translateModel(ModelicaTest.MultiBody.Sensors.Distance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.0009853/0.0009853, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.008002/0.008002, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.554/1.554, 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.2+maint.om/package.mo): time 0.347/0.347, allocations: 40 MB / 310.7 MB, free: 9.953 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.2. 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.00058/0.00058, allocations: 12 kB / 379.4 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1196, allocations: 57.97 MB / 437.4 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance): time 0.266/0.3857, allocations: 32.92 MB / 470.3 MB, free: 33.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02227/0.408, allocations: 7.653 MB / 478 MB, free: 30.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0092/0.4173, allocations: 140.3 kB / 478.1 MB, free: 30.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001417/0.4187, allocations: 348 kB / 478.5 MB, free: 30.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004368/0.4231, allocations: 1.534 MB / 480 MB, free: 29.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.4245, allocations: 0.5154 MB / 480.5 MB, free: 29.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005406/0.4299, allocations: 4.977 MB / 485.5 MB, free: 27.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00381/0.4337, allocations: 3.01 MB / 488.5 MB, free: 26.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/0.4349, allocations: 0.9081 MB / 489.4 MB, free: 26.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001648/0.4366, allocations: 1.606 MB / 491 MB, free: 25.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002779/0.4369, allocations: 111.4 kB / 491.1 MB, free: 25.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001801/0.4387, allocations: 1.064 MB / 492.2 MB, free: 25.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00101/0.4397, allocations: 1.403 MB / 493.6 MB, free: 25.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001113/0.4408, allocations: 1.609 MB / 495.2 MB, free: 23.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007797/0.4486, allocations: 5.368 MB / 0.4888 GB, free: 22.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4487, allocations: 4 kB / 0.4888 GB, free: 22.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.4487, allocations: 1.125 kB / 0.4888 GB, free: 22.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002257/0.4489, allocations: 0 / 0.4888 GB, free: 22.45 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.01445/0.4634, allocations: 3.187 MB / 0.492 GB, free: 20.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.968e-05/0.4635, allocations: 13.59 kB / 0.492 GB, free: 20.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01904/0.4825, allocations: 2.434 MB / 0.4943 GB, free: 20.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007505/0.4901, allocations: 2.289 MB / 0.4966 GB, free: 18.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002139/0.4904, allocations: 173.8 kB / 0.4967 GB, free: 18.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009294/0.4913, allocations: 232.9 kB / 0.497 GB, free: 18.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01426/0.5056, allocations: 7.897 MB / 0.5047 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001231/0.5057, allocations: 47.05 kB / 0.5047 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003588/0.5061, allocations: 111.7 kB / 0.5048 GB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002808/0.5089, allocations: 1.665 MB / 0.5065 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0134/0.5223, allocations: 6.765 MB / 0.5131 GB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04772/0.5701, allocations: 31.57 MB / 0.5439 GB, free: 9.059 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005033/0.5752, allocations: 2.354 MB / 0.5462 GB, free: 6.559 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00158/0.5768, allocations: 1.18 MB / 0.5473 GB, free: 5.367 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004015/0.5772, allocations: 323.8 kB / 0.5477 GB, free: 4.996 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.5773, allocations: 51.06 kB / 0.5477 GB, free: 4.938 MB / 414.1 MB Notification: Performance of pre-optimization done (n=117): time 4.248e-06/0.5773, allocations: 0 / 0.5477 GB, free: 4.938 MB / 414.1 MB Notification: Performance of matching and sorting (n=141): time 0.03861/0.6159, allocations: 12.32 MB / 0.5597 GB, free: 8.465 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/0.6161, allocations: 196.5 kB / 0.5599 GB, free: 8.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006577/0.6227, allocations: 3.742 MB / 0.5636 GB, free: 4.492 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004369/0.6232, allocations: 45.7 kB / 0.5636 GB, free: 4.441 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002522/0.6257, allocations: 2.666 MB / 0.5662 GB, free: 1.738 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001007/0.6267, allocations: 0.5672 MB / 0.5668 GB, free: 1.164 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006751/0.6274, allocations: 478.1 kB / 0.5672 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.6275, allocations: 301.1 kB / 0.5675 GB, free: 404 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003113/0.6306, allocations: 1.807 MB / 0.5693 GB, free: 14.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005446/0.6361, allocations: 5.252 MB / 0.5744 GB, free: 7.598 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009434/0.6456, allocations: 7.61 MB / 0.5818 GB, free: 14.27 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001167/0.6457, allocations: 39.98 kB / 0.5819 GB, free: 14.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.01829/0.664, allocations: 7.281 MB / 0.589 GB, free: 6.949 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.466e-05/0.6642, allocations: 56.22 kB / 0.589 GB, free: 6.895 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001473/0.6643, allocations: 132 kB / 0.5892 GB, free: 6.766 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001663/0.666, allocations: 0.6486 MB / 0.5898 GB, free: 6.113 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00449/0.6705, allocations: 1.267 MB / 0.591 GB, free: 4.844 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00529/0.6758, allocations: 3.782 MB / 0.5947 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005338/0.6812, allocations: 307.4 kB / 0.595 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008526/0.6821, allocations: 344 kB / 0.5954 GB, free: 300 kB / 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.004249/0.6864, allocations: 1.77 MB / 0.5971 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007969/0.6872, allocations: 304.4 kB / 0.5974 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00452/0.6917, allocations: 2.238 MB / 0.5996 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.183e-05/0.6917, allocations: 16 kB / 0.5996 GB, free: 11.93 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/0.6918, allocations: 4 kB / 0.5996 GB, free: 11.93 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.925e-05/0.6918, allocations: 11.91 kB / 0.5996 GB, free: 11.91 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01248/0.7043, allocations: 5.987 MB / 0.6054 GB, free: 5.836 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/0.7043, allocations: 0 / 0.6054 GB, free: 5.836 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/0.7054, allocations: 219.7 kB / 0.6057 GB, free: 5.621 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001426/0.7069, allocations: 488.3 kB / 0.6061 GB, free: 5.141 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001277/0.707, allocations: 23.98 kB / 0.6061 GB, free: 5.117 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004036/0.7111, allocations: 3.198 MB / 0.6093 GB, free: 1.785 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.7111, allocations: 4.031 kB / 0.6093 GB, free: 1.781 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006916/0.718, allocations: 4.351 MB / 0.6135 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001797/0.7198, allocations: 0.5515 MB / 0.6141 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004548/0.7203, allocations: 31.83 kB / 0.6141 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/0.7215, allocations: 75.91 kB / 0.6142 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002163/0.7218, allocations: 80.42 kB / 0.6142 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/0.7219, allocations: 39.98 kB / 0.6143 GB, free: 12.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004233/0.7261, allocations: 2.341 MB / 0.6166 GB, free: 10.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.7261, allocations: 0 / 0.6166 GB, free: 10.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006328/0.7325, allocations: 0.8437 MB / 0.6174 GB, free: 9.43 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.0004901/0.733, allocations: 158.9 kB / 0.6175 GB, free: 9.266 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008659/0.7417, allocations: 4.289 MB / 0.6217 GB, free: 4.996 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/0.7417, allocations: 0 / 0.6217 GB, free: 4.996 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001895/0.7436, allocations: 1.186 MB / 0.6229 GB, free: 3.797 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003332/0.747, allocations: 347.8 kB / 0.6232 GB, free: 3.457 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2839/1.031, allocations: 9.15 MB / 0.6321 GB, free: 142.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002874/1.034, allocations: 2.755 MB / 0.6348 GB, free: 141.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004293/1.038, allocations: 1.733 MB / 0.6365 GB, free: 141.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006598/1.039, allocations: 216.7 kB / 0.6367 GB, free: 141.8 MB / 494.1 MB Notification: Performance of SimCode: time 3.246e-06/1.039, allocations: 2.297 kB / 0.6367 GB, free: 141.8 MB / 494.1 MB Notification: Performance of Templates: time 0.07029/1.109, allocations: 28.96 MB / 0.665 GB, free: 135.2 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance.pipe 2>&1) Environment - environmentSimulation: