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.001255/0.001255, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001717/0.001717, allocations: 192.3 kB / 16.13 MB, free: 6.707 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.706/1.706, allocations: 205.1 MB / 222 MB, free: 4.746 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.4453/0.4453, allocations: 37.97 MB / 307.3 MB, free: 10.09 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.00143/0.00143, allocations: 67.91 kB / 374.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1509, allocations: 56.46 MB / 431 MB, free: 7.086 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.3078/0.4588, allocations: 65.56 MB / 496.6 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03715/0.496, allocations: 15 MB / 0.4996 GB, free: 5.117 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02032/0.5164, allocations: 310.2 kB / 0.4999 GB, free: 5.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04263/0.5591, allocations: 22.4 MB / 0.5217 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01435/0.5735, allocations: 3.534 MB / 0.5252 GB, free: 8.891 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01112/0.5847, allocations: 3.873 MB / 0.529 GB, free: 6.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.027/0.6117, allocations: 17.07 MB / 0.5456 GB, free: 7.836 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05647/0.6682, allocations: 31.48 MB / 0.5764 GB, free: 8.234 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0133/0.6816, allocations: 5.936 MB / 0.5822 GB, free: 2.285 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01525/0.6969, allocations: 9.281 MB / 0.5912 GB, free: 8.98 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006598/0.7035, allocations: 1.535 MB / 0.5927 GB, free: 7.445 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01183/0.7154, allocations: 2.876 MB / 0.5955 GB, free: 4.566 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01733/0.7328, allocations: 7.881 MB / 0.6032 GB, free: 12.67 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02556/0.7584, allocations: 9.061 MB / 0.6121 GB, free: 3.562 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.6679/1.426, allocations: 32.39 MB / 0.6437 GB, free: 60.85 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/1.426, allocations: 1.094 kB / 0.6437 GB, free: 60.85 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.645e-06/1.426, allocations: 0 / 0.6437 GB, free: 60.85 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.00157/1.428, allocations: 0 / 0.6437 GB, free: 60.85 MB / 494.1 MB 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.06844/1.496, allocations: 17.01 MB / 0.6603 GB, free: 55.79 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/1.497, allocations: 9.438 kB / 0.6603 GB, free: 55.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02776/1.524, allocations: 3.821 MB / 0.6641 GB, free: 54.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02633/1.551, allocations: 7.923 MB / 0.6718 GB, free: 53.58 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001901/1.553, allocations: 1.258 MB / 0.673 GB, free: 53.54 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01081/1.563, allocations: 1.651 MB / 0.6747 GB, free: 53.53 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1008/1.664, allocations: 38.82 MB / 0.7126 GB, free: 30.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008233/1.665, allocations: 125.8 kB / 0.7127 GB, free: 30.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009026/1.674, allocations: 0.7347 MB / 0.7134 GB, free: 30.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005054/1.679, allocations: 3.964 MB / 0.7173 GB, free: 26.19 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06439/1.744, allocations: 29.51 MB / 0.7461 GB, free: 13.15 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4535/2.197, allocations: 123.4 MB / 0.8666 GB, free: 157 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03663/2.234, allocations: 12.94 MB / 0.8792 GB, free: 156.3 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004927/2.239, allocations: 3.75 MB / 0.8829 GB, free: 156.3 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009708/2.249, allocations: 15.19 MB / 0.8977 GB, free: 143.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.985e-05/2.249, allocations: 69.03 kB / 0.8978 GB, free: 143.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=274): time 7.464e-06/2.249, allocations: 3.781 kB / 0.8978 GB, free: 143.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=309): time 0.1917/2.441, allocations: 78.04 MB / 0.974 GB, free: 101.9 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.833e-05/2.441, allocations: 210.5 kB / 0.9742 GB, free: 101.6 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01482/2.456, allocations: 10.72 MB / 0.9847 GB, free: 90.94 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0006854/2.456, allocations: 76.83 kB / 0.9847 GB, free: 90.86 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.006163/2.462, allocations: 11.03 MB / 0.9955 GB, free: 79.84 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001768/2.464, allocations: 1.361 MB / 0.9968 GB, free: 78.49 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006699/2.471, allocations: 3.854 MB / 1.001 GB, free: 74.62 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.797e-05/2.471, allocations: 307.9 kB / 1.001 GB, free: 74.32 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009634/2.481, allocations: 6.286 MB / 1.007 GB, free: 68.03 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01674/2.498, allocations: 18.77 MB / 1.025 GB, free: 43.23 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02425/2.522, allocations: 27.01 MB / 1.052 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000455/2.522, allocations: 132 kB / 1.052 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2371) (initialization): time 0.04444/2.567, allocations: 24.14 MB / 1.075 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002965/2.567, allocations: 198.7 kB / 1.076 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006513/2.568, allocations: 448 kB / 1.076 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002141/2.57, allocations: 1.099 MB / 1.077 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2798/2.85, allocations: 4.418 MB / 1.081 GB, free: 217 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005888/2.856, allocations: 4.68 MB / 1.086 GB, free: 215.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01701/2.873, allocations: 1.074 MB / 1.087 GB, free: 215.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00499/2.878, allocations: 1.157 MB / 1.088 GB, free: 215.7 MB / 0.6075 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.01725/2.895, allocations: 7.866 MB / 1.096 GB, free: 214.4 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00196/2.897, allocations: 0.8215 MB / 1.097 GB, free: 214.4 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01254/2.909, allocations: 6.607 MB / 1.103 GB, free: 211.8 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.439e-05/2.91, allocations: 34.84 kB / 1.103 GB, free: 211.8 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/2.91, allocations: 7.562 kB / 1.103 GB, free: 211.8 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-05/2.91, allocations: 16.86 kB / 1.103 GB, free: 211.8 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05167/2.961, allocations: 21.82 MB / 1.124 GB, free: 204 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.329e-05/2.961, allocations: 11.5 kB / 1.125 GB, free: 204 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002735/2.964, allocations: 0.6029 MB / 1.125 GB, free: 203.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001276/2.965, allocations: 0.4911 MB / 1.126 GB, free: 203.8 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003294/2.966, allocations: 63.02 kB / 1.126 GB, free: 203.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003231/2.969, allocations: 3.242 MB / 1.129 GB, free: 201.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/2.969, allocations: 3.812 kB / 1.129 GB, free: 201.8 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01339/2.982, allocations: 10.76 MB / 1.139 GB, free: 197.7 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003415/2.986, allocations: 1.293 MB / 1.141 GB, free: 197.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001532/2.987, allocations: 49.91 kB / 1.141 GB, free: 197.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00313/2.991, allocations: 344.5 kB / 1.141 GB, free: 197.1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004632/2.991, allocations: 185.3 kB / 1.141 GB, free: 197.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002451/2.991, allocations: 101.8 kB / 1.141 GB, free: 197.1 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.01063/3.002, allocations: 6.574 MB / 1.148 GB, free: 194.7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6.11e-07/3.002, allocations: 0 / 1.148 GB, free: 194.7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01682/3.019, allocations: 2.931 MB / 1.15 GB, free: 193.4 MB / 0.6075 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.001104/3.02, allocations: 276.5 kB / 1.151 GB, free: 193.1 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01867/3.039, allocations: 13.87 MB / 1.164 GB, free: 181 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/3.039, allocations: 4.438 kB / 1.164 GB, free: 181 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003593/3.042, allocations: 3.065 MB / 1.167 GB, free: 178.3 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006141/3.048, allocations: 1.44 MB / 1.169 GB, free: 177.1 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05714/3.106, allocations: 37.23 MB / 1.205 GB, free: 140.6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0174/3.123, allocations: 10.46 MB / 1.215 GB, free: 130.1 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.01423/3.137, allocations: 5.362 MB / 1.221 GB, free: 124.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002806/3.14, allocations: 0.6049 MB / 1.221 GB, free: 124.1 MB / 0.6075 GB Notification: Performance of SimCode: time 1.072e-06/3.14, allocations: 4 kB / 1.221 GB, free: 124.1 MB / 0.6075 GB Notification: Performance of Templates: time 0.4259/3.566, allocations: 81.08 MB / 1.3 GB, free: 205.5 MB / 0.6075 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)