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.01125/0.01125, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.00185/0.001851, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.625/1.625, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.3401/0.3401, allocations: 38 MB / 307.9 MB, free: 10.16 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: 71.89 kB / 433 MB, free: 5.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3012, allocations: 56.46 MB / 489.4 MB, free: 19.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.02335/0.3246, allocations: 23.85 MB / 0.5013 GB, free: 2.852 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01915/0.3438, allocations: 8.097 MB / 0.5092 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008082/0.352, allocations: 193.1 kB / 0.5094 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04055/0.3925, allocations: 22.02 MB / 0.5309 GB, free: 13.29 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01369/0.4063, allocations: 3.704 MB / 0.5345 GB, free: 9.57 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01038/0.4167, allocations: 3.992 MB / 0.5384 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01779/0.4345, allocations: 9.726 MB / 0.5479 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04932/0.4839, allocations: 32.15 MB / 0.5793 GB, free: 11.47 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01057/0.4945, allocations: 7.048 MB / 0.5862 GB, free: 4.406 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01295/0.5075, allocations: 8.892 MB / 0.5948 GB, free: 11.49 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005833/0.5133, allocations: 2.25 MB / 0.597 GB, free: 9.242 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01101/0.5244, allocations: 3.482 MB / 0.6004 GB, free: 5.758 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0121/0.5365, allocations: 8.51 MB / 0.6087 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01819/0.5548, allocations: 9.815 MB / 0.6183 GB, free: 3.371 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5463/1.101, allocations: 33.41 MB / 0.651 GB, free: 63.26 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 1.127e-05/1.101, allocations: 0 / 0.651 GB, free: 63.26 MB / 0.4982 GB Notification: Performance of FrontEnd: time 3.427e-06/1.101, allocations: 0.5 kB / 0.651 GB, free: 63.26 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.002149/1.103, allocations: 0.6562 kB / 0.651 GB, free: 63.26 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.07193/1.175, allocations: 16.99 MB / 0.6676 GB, free: 57.68 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/1.175, allocations: 15.14 kB / 0.6676 GB, free: 57.67 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03011/1.205, allocations: 3.821 MB / 0.6713 GB, free: 55.85 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02826/1.234, allocations: 7.974 MB / 0.6791 GB, free: 53.16 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001151/1.235, allocations: 1.253 MB / 0.6803 GB, free: 52.63 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008975/1.244, allocations: 1.652 MB / 0.6819 GB, free: 52.12 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09595/1.34, allocations: 36.81 MB / 0.7179 GB, free: 24.93 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009795/1.341, allocations: 116.9 kB / 0.718 GB, free: 24.87 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0118/1.353, allocations: 0.7348 MB / 0.7187 GB, free: 24.19 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005723/1.359, allocations: 3.944 MB / 0.7225 GB, free: 20.31 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06502/1.424, allocations: 27.49 MB / 0.7494 GB, free: 9.285 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1829/1.607, allocations: 122 MB / 0.8685 GB, free: 14.45 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02408/1.631, allocations: 8.165 MB / 0.8765 GB, free: 6.137 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005044/1.636, allocations: 3.632 MB / 0.8801 GB, free: 2.492 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3208/1.957, allocations: 14.68 MB / 0.8944 GB, free: 228.5 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000128/1.957, allocations: 65.16 kB / 0.8945 GB, free: 228.5 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=274): time 7.875e-06/1.957, allocations: 0 / 0.8945 GB, free: 228.5 MB / 0.6388 GB Notification: Performance of matching and sorting (n=309): time 0.1393/2.096, allocations: 51.43 MB / 0.9447 GB, free: 208.7 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/2.096, allocations: 220.5 kB / 0.9449 GB, free: 208.5 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01734/2.114, allocations: 10.7 MB / 0.9553 GB, free: 199.2 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0006377/2.114, allocations: 73.7 kB / 0.9554 GB, free: 199.1 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.00576/2.12, allocations: 11.05 MB / 0.9662 GB, free: 188.1 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001495/2.122, allocations: 1.357 MB / 0.9675 GB, free: 186.8 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005228/2.127, allocations: 3.846 MB / 0.9713 GB, free: 182.9 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 6.172e-05/2.127, allocations: 301.1 kB / 0.9716 GB, free: 182.6 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00712/2.134, allocations: 6.001 MB / 0.9774 GB, free: 176.6 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.013/2.147, allocations: 18.49 MB / 0.9955 GB, free: 151.9 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02521/2.172, allocations: 26.44 MB / 1.021 GB, free: 119.1 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005289/2.173, allocations: 128 kB / 1.021 GB, free: 119 MB / 0.6388 GB Notification: Performance of matching and sorting (n=2371) (initialization): time 0.04142/2.214, allocations: 23.58 MB / 1.044 GB, free: 95.39 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.000269/2.215, allocations: 204.2 kB / 1.045 GB, free: 95.19 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005014/2.215, allocations: 444 kB / 1.045 GB, free: 94.76 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002015/2.217, allocations: 1.092 MB / 1.046 GB, free: 93.66 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0131/2.23, allocations: 4.378 MB / 1.05 GB, free: 89.28 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004977/2.235, allocations: 4.979 MB / 1.055 GB, free: 84.16 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01438/2.25, allocations: 1.03 MB / 1.056 GB, free: 83.12 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003556/2.253, allocations: 1.16 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.01522/2.269, allocations: 7.859 MB / 1.065 GB, free: 74.09 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001545/2.27, allocations: 0.8247 MB / 1.066 GB, free: 73.25 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0092/2.279, allocations: 5.975 MB / 1.072 GB, free: 67.23 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.486e-05/2.279, allocations: 32 kB / 1.072 GB, free: 67.2 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/2.279, allocations: 4 kB / 1.072 GB, free: 67.2 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.047e-05/2.28, allocations: 19.94 kB / 1.072 GB, free: 67.18 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04025/2.32, allocations: 20.31 MB / 1.092 GB, free: 46.76 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.482e-05/2.32, allocations: 7.938 kB / 1.092 GB, free: 46.75 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002489/2.322, allocations: 0.5698 MB / 1.092 GB, free: 46.18 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001315/2.324, allocations: 0.4885 MB / 1.093 GB, free: 45.69 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002632/2.324, allocations: 59.98 kB / 1.093 GB, free: 45.63 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003275/2.327, allocations: 3.449 MB / 1.096 GB, free: 42.05 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/2.327, allocations: 7.938 kB / 1.096 GB, free: 42.04 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01121/2.338, allocations: 9.81 MB / 1.106 GB, free: 32.09 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003762/2.342, allocations: 1.232 MB / 1.107 GB, free: 30.82 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001445/2.344, allocations: 67.44 kB / 1.107 GB, free: 30.76 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003438/2.347, allocations: 303.6 kB / 1.107 GB, free: 30.46 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003996/2.348, allocations: 175.2 kB / 1.107 GB, free: 30.29 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002254/2.348, allocations: 99.98 kB / 1.107 GB, free: 30.2 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.3326/2.68, allocations: 6.575 MB / 1.114 GB, free: 205.8 MB / 0.6388 GB Notification: Performance of sort global known variables: time 1.052e-06/2.681, allocations: 1.375 kB / 1.114 GB, free: 205.8 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.01855/2.699, allocations: 2.888 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.001234/2.7, allocations: 270.1 kB / 1.117 GB, free: 205.7 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.02725/2.728, allocations: 13.34 MB / 1.13 GB, free: 201.7 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 1.686e-05/2.728, allocations: 3.5 kB / 1.13 GB, free: 201.7 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.004059/2.732, allocations: 2.788 MB / 1.133 GB, free: 200.7 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008644/2.74, allocations: 1.55 MB / 1.134 GB, free: 200 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06547/2.806, allocations: 28.9 MB / 1.162 GB, free: 187.6 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02512/2.831, allocations: 10.46 MB / 1.173 GB, free: 180.7 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.01366/2.845, allocations: 5.305 MB / 1.178 GB, free: 177.4 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002233/2.847, allocations: 0.6149 MB / 1.178 GB, free: 176.8 MB / 0.6388 GB Notification: Performance of SimCode: time 1.052e-06/2.847, allocations: 0 / 1.178 GB, free: 176.8 MB / 0.6388 GB Notification: Performance of Templates: time 0.1584/3.005, allocations: 84.82 MB / 1.261 GB, free: 95.39 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)