Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.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.AbsoluteSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01041/0.01041, allocations: 102.8 kB / 15.73 MB, free: 6.488 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.002339/0.002339, allocations: 195.2 kB / 16.68 MB, free: 6.375 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.511/1.511, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.3417/0.3417, allocations: 37.99 MB / 307.9 MB, free: 10.12 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.001683/0.001683, allocations: 68.56 kB / 433 MB, free: 5.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2773, allocations: 56.46 MB / 489.5 MB, free: 19.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.02069/0.298, allocations: 23.84 MB / 0.5013 GB, free: 2.789 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01882/0.3169, allocations: 8.088 MB / 0.5092 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006719/0.3237, allocations: 193.5 kB / 0.5093 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03902/0.3627, allocations: 22.04 MB / 0.5309 GB, free: 13.28 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01271/0.3755, allocations: 3.762 MB / 0.5345 GB, free: 9.5 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009909/0.3854, allocations: 3.996 MB / 0.5384 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01526/0.4007, allocations: 9.743 MB / 0.548 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04571/0.4465, allocations: 32.14 MB / 0.5793 GB, free: 11.39 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01232/0.4589, allocations: 7.044 MB / 0.5862 GB, free: 4.332 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01506/0.474, allocations: 8.9 MB / 0.5949 GB, free: 11.41 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00697/0.481, allocations: 2.25 MB / 0.5971 GB, free: 9.16 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009227/0.4902, allocations: 3.486 MB / 0.6005 GB, free: 5.672 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01196/0.5022, allocations: 8.506 MB / 0.6088 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01691/0.5192, allocations: 9.815 MB / 0.6184 GB, free: 3.289 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5744/1.094, allocations: 33.4 MB / 0.651 GB, free: 63.19 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/1.094, allocations: 0 / 0.651 GB, free: 63.19 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.713e-06/1.094, allocations: 0 / 0.651 GB, free: 63.19 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.001144/1.095, allocations: 0 / 0.651 GB, free: 63.19 MB / 0.4982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5715 * Number of variables: 5715 Notification: Performance of Generate backend data structure: time 0.06338/1.158, allocations: 16.99 MB / 0.6676 GB, free: 57.57 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/1.158, allocations: 16.36 kB / 0.6676 GB, free: 57.56 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02687/1.185, allocations: 3.823 MB / 0.6714 GB, free: 55.74 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02383/1.209, allocations: 7.975 MB / 0.6792 GB, free: 52.99 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001218/1.21, allocations: 1.253 MB / 0.6804 GB, free: 52.46 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008793/1.219, allocations: 1.652 MB / 0.682 GB, free: 51.95 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1324/1.352, allocations: 36.8 MB / 0.7179 GB, free: 24.86 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007802/1.352, allocations: 122.1 kB / 0.718 GB, free: 24.79 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007215/1.36, allocations: 0.7392 MB / 0.7188 GB, free: 24.11 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005021/1.365, allocations: 3.939 MB / 0.7226 GB, free: 20.23 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05908/1.424, allocations: 27.5 MB / 0.7495 GB, free: 9.211 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1762/1.6, allocations: 122 MB / 0.8686 GB, free: 14.36 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02355/1.624, allocations: 8.166 MB / 0.8766 GB, free: 6.051 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005152/1.629, allocations: 3.636 MB / 0.8801 GB, free: 2.402 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3273/1.956, allocations: 14.67 MB / 0.8945 GB, free: 228.5 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001147/1.956, allocations: 72.92 kB / 0.8945 GB, free: 228.4 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=274): time 1.208e-05/1.956, allocations: 0 / 0.8945 GB, free: 228.4 MB / 0.6388 GB Notification: Performance of matching and sorting (n=309): time 0.1385/2.095, allocations: 51.43 MB / 0.9447 GB, free: 208.7 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.407e-05/2.095, allocations: 217.6 kB / 0.945 GB, free: 208.4 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01844/2.113, allocations: 10.71 MB / 0.9554 GB, free: 199.2 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0008527/2.114, allocations: 73.7 kB / 0.9555 GB, free: 199.1 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.007525/2.122, allocations: 11.04 MB / 0.9663 GB, free: 188.1 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.002584/2.124, allocations: 1.361 MB / 0.9676 GB, free: 186.8 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008172/2.133, allocations: 3.835 MB / 0.9713 GB, free: 182.9 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 7.591e-05/2.133, allocations: 305.1 kB / 0.9716 GB, free: 182.6 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00876/2.142, allocations: 6.001 MB / 0.9775 GB, free: 176.6 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01485/2.156, allocations: 18.5 MB / 0.9956 GB, free: 151.9 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0235/2.18, allocations: 26.44 MB / 1.021 GB, free: 119.1 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003419/2.18, allocations: 132 kB / 1.022 GB, free: 119 MB / 0.6388 GB Notification: Performance of matching and sorting (n=2371) (initialization): time 0.03674/2.217, allocations: 23.58 MB / 1.045 GB, free: 95.38 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002675/2.217, allocations: 196 kB / 1.045 GB, free: 95.19 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000479/2.218, allocations: 444 kB / 1.045 GB, free: 94.75 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002005/2.22, allocations: 1.101 MB / 1.046 GB, free: 93.66 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01278/2.233, allocations: 4.374 MB / 1.05 GB, free: 89.27 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004807/2.238, allocations: 4.97 MB / 1.055 GB, free: 84.16 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01362/2.251, allocations: 1.033 MB / 1.056 GB, free: 83.12 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002631/2.254, allocations: 1.156 MB / 1.057 GB, free: 81.97 MB / 0.6388 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2039 * Number of states: 0 () * Number of discrete variables: 33 (sensor_world2.arrowColor[3],sensor_world2.arrowColor[2],sensor_world2.arrowColor[1],sensor_frame_a2.arrowColor[3],sensor_frame_a2.arrowColor[2],sensor_frame_a2.arrowColor[1],sensor_world1.arrowColor[3],sensor_world1.arrowColor[2],sensor_world1.arrowColor[1],sensor_frame_a1.arrowColor[3],sensor_frame_a1.arrowColor[2],sensor_frame_a1.arrowColor[1],box.color[3],box.color[2],box.color[1],box.body.sphereColor[3],box.body.sphereColor[2],box.body.sphereColor[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 (2325): * Single equations (assignments): 2317 * Array equations: 7 * 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,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01201/2.266, allocations: 7.867 MB / 1.065 GB, free: 74.08 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001345/2.267, allocations: 0.8252 MB / 1.066 GB, free: 73.25 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00867/2.276, allocations: 5.964 MB / 1.072 GB, free: 67.23 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.38e-05/2.276, allocations: 39.45 kB / 1.072 GB, free: 67.2 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/2.276, allocations: 7.984 kB / 1.072 GB, free: 67.19 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.801e-05/2.276, allocations: 13.83 kB / 1.072 GB, free: 67.18 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03558/2.312, allocations: 20.31 MB / 1.092 GB, free: 46.75 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.09e-05/2.312, allocations: 11.33 kB / 1.092 GB, free: 46.75 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002294/2.314, allocations: 0.5733 MB / 1.092 GB, free: 46.17 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001252/2.315, allocations: 496.2 kB / 1.093 GB, free: 45.68 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002545/2.316, allocations: 60 kB / 1.093 GB, free: 45.62 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003147/2.319, allocations: 3.453 MB / 1.096 GB, free: 42.04 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/2.319, allocations: 7.938 kB / 1.096 GB, free: 42.03 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/2.33, allocations: 9.816 MB / 1.106 GB, free: 32.07 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003284/2.333, allocations: 1.232 MB / 1.107 GB, free: 30.81 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001549/2.334, allocations: 47.94 kB / 1.107 GB, free: 30.76 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003166/2.338, allocations: 307.6 kB / 1.107 GB, free: 30.46 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004185/2.338, allocations: 177.6 kB / 1.107 GB, free: 30.29 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002578/2.338, allocations: 103.5 kB / 1.108 GB, free: 30.19 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.3165/2.655, allocations: 6.574 MB / 1.114 GB, free: 205.8 MB / 0.6388 GB Notification: Performance of sort global known variables: time 5.11e-07/2.655, allocations: 0 / 1.114 GB, free: 205.8 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.02041/2.675, allocations: 2.887 MB / 1.117 GB, free: 205.8 MB / 0.6388 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (279): * Single equations (assignments): 271 * Array equations: 7 * 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.001291/2.677, allocations: 268.6 kB / 1.117 GB, free: 205.7 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.02784/2.705, allocations: 13.35 MB / 1.13 GB, free: 201.6 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 1.968e-05/2.705, allocations: 4.344 kB / 1.13 GB, free: 201.6 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.004284/2.709, allocations: 2.787 MB / 1.133 GB, free: 200.5 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00832/2.717, allocations: 1.547 MB / 1.134 GB, free: 199.9 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05429/2.772, allocations: 28.89 MB / 1.163 GB, free: 187.5 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02393/2.796, allocations: 10.46 MB / 1.173 GB, free: 180.6 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.01392/2.81, allocations: 5.313 MB / 1.178 GB, free: 177.2 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00229/2.812, allocations: 0.6053 MB / 1.179 GB, free: 176.6 MB / 0.6388 GB Notification: Performance of SimCode: time 1.232e-06/2.812, allocations: 0 / 1.179 GB, free: 176.6 MB / 0.6388 GB Notification: Performance of Templates: time 0.1478/2.96, allocations: 87.57 MB / 1.264 GB, free: 92.36 MB / 0.6388 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe 2>&1)