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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001731/0.001731, allocations: 163 kB / 7.635 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.389/1.389, allocations: 170.6 MB / 178.7 MB, free: 7.047 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001662/0.001662, allocations: 111.5 kB / 218 MB, free: 15.32 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2083/0.2083, allocations: 37.96 MB / 295.1 MB, free: 2.082 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.401e-05/1.394e-05, allocations: 4 kB / 350 MB, free: 32.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2908, allocations: 48.69 MB / 398.7 MB, free: 6.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1461/0.437, allocations: 97.14 MB / 495.9 MB, free: 1.961 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/0.4374, allocations: 83.94 kB / 495.9 MB, free: 1.879 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8308/1.268, allocations: 227.8 MB / 0.7067 GB, free: 8.234 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.943e-06/1.268, allocations: 0 / 0.7067 GB, free: 8.234 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008949/1.269, allocations: 371.8 kB / 0.7071 GB, free: 7.871 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5712 * Number of variables: 5712 Notification: Performance of Generate backend data structure: time 0.5505/1.82, allocations: 13.12 MB / 0.7199 GB, free: 26.16 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/1.82, allocations: 10.17 kB / 0.7199 GB, free: 26.16 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02862/1.848, allocations: 5.815 MB / 0.7256 GB, free: 25.19 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02709/1.876, allocations: 10.51 MB / 0.7358 GB, free: 24.29 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001301/1.877, allocations: 0.6409 MB / 0.7365 GB, free: 24.28 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007125/1.884, allocations: 1.15 MB / 0.7376 GB, free: 24.27 MB / 426.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04408/1.928, allocations: 20.57 MB / 0.7577 GB, free: 24.18 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06848/1.997, allocations: 32.7 MB / 0.7896 GB, free: 14.53 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009425/1.998, allocations: 190.5 kB / 0.7898 GB, free: 14.52 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005235/2.003, allocations: 101.2 kB / 0.7899 GB, free: 14.52 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002213/2.005, allocations: 2.044 MB / 0.7919 GB, free: 14.18 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7587/2.764, allocations: 157.1 MB / 0.9453 GB, free: 26.69 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006763/2.771, allocations: 5.257 MB / 0.9505 GB, free: 26.03 MB / 0.5106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004101/2.775, allocations: 3.537 MB / 0.9539 GB, free: 25.99 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0109/2.786, allocations: 15.28 MB / 0.9689 GB, free: 13.43 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.925e-05/2.786, allocations: 67.41 kB / 0.9689 GB, free: 13.39 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=274): time 8.256e-06/2.786, allocations: 0 / 0.9689 GB, free: 13.39 MB / 0.5106 GB Notification: Performance of matching and sorting (n=309): time 0.1016/2.887, allocations: 49.98 MB / 1.018 GB, free: 4.492 MB / 0.5106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/2.888, allocations: 213.9 kB / 1.018 GB, free: 4.273 MB / 0.5106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01888/2.906, allocations: 8.774 MB / 1.026 GB, free: 3.246 MB / 0.5106 GB Notification: Performance of collectPreVariables (initialization): time 0.0006806/2.907, allocations: 27.67 kB / 1.027 GB, free: 3.215 MB / 0.5106 GB Notification: Performance of collectInitialEqns (initialization): time 0.01007/2.917, allocations: 11.11 MB / 1.037 GB, free: 12.17 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.002295/2.92, allocations: 1.327 MB / 1.039 GB, free: 11.5 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002366/2.922, allocations: 0 / 1.039 GB, free: 11.5 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.002492/2.925, allocations: 1.088 MB / 1.04 GB, free: 11.16 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00918/2.934, allocations: 5.652 MB / 1.045 GB, free: 11.12 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02154/2.955, allocations: 18.17 MB / 1.063 GB, free: 6.617 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02015/2.975, allocations: 10.52 MB / 1.073 GB, free: 14.68 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006934/2.976, allocations: 128 kB / 1.073 GB, free: 14.56 MB / 0.5575 GB Notification: Performance of matching and sorting (n=2386) (initialization): time 0.04682/3.023, allocations: 20.78 MB / 1.094 GB, free: 13.08 MB / 0.5731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008841/3.024, allocations: 203.4 kB / 1.094 GB, free: 12.88 MB / 0.5731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001169/3.025, allocations: 456 kB / 1.094 GB, free: 12.44 MB / 0.5731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001972/3.027, allocations: 0.8236 MB / 1.095 GB, free: 11.65 MB / 0.5731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01628/3.043, allocations: 4.529 MB / 1.1 GB, free: 7.715 MB / 0.5731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004461/3.048, allocations: 3.508 MB / 1.103 GB, free: 4.434 MB / 0.5731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0152/3.063, allocations: 0.7738 MB / 1.104 GB, free: 3.793 MB / 0.5731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005172/3.068, allocations: 1.168 MB / 1.105 GB, free: 2.633 MB / 0.5731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2073 * Number of states: 0 () * Number of discrete variables: 30 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2340): * Single equations (assignments): 2332 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006972/3.075, allocations: 1.129 MB / 1.106 GB, free: 1.492 MB / 0.5731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002392/3.078, allocations: 0.8059 MB / 1.107 GB, free: 0.6758 MB / 0.5731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3503/3.428, allocations: 5.914 MB / 1.113 GB, free: 159.9 MB / 0.5731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001029/3.428, allocations: 36.06 kB / 1.113 GB, free: 159.9 MB / 0.5731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.822e-05/3.428, allocations: 6.328 kB / 1.113 GB, free: 159.9 MB / 0.5731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.527e-05/3.428, allocations: 14.66 kB / 1.113 GB, free: 159.9 MB / 0.5731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04994/3.478, allocations: 17.69 MB / 1.13 GB, free: 158.6 MB / 0.5731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.159e-05/3.478, allocations: 3.562 kB / 1.13 GB, free: 158.6 MB / 0.5731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002832/3.481, allocations: 0.6828 MB / 1.131 GB, free: 158.6 MB / 0.5731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004516/3.482, allocations: 163.2 kB / 1.131 GB, free: 158.6 MB / 0.5731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002256/3.482, allocations: 18.3 kB / 1.131 GB, free: 158.6 MB / 0.5731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001705/3.484, allocations: 2.063 MB / 1.133 GB, free: 157.4 MB / 0.5731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/3.484, allocations: 11 kB / 1.133 GB, free: 157.4 MB / 0.5731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01196/3.496, allocations: 10.77 MB / 1.143 GB, free: 155.7 MB / 0.5731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003484/3.499, allocations: 1.257 MB / 1.144 GB, free: 155.6 MB / 0.5731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001835/3.501, allocations: 10.88 kB / 1.144 GB, free: 155.6 MB / 0.5731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003845/3.505, allocations: 387.4 kB / 1.145 GB, free: 155.6 MB / 0.5731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003207/3.505, allocations: 171.5 kB / 1.145 GB, free: 155.6 MB / 0.5731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002389/3.506, allocations: 108.6 kB / 1.145 GB, free: 155.6 MB / 0.5731 GB Notification: Performance of sorting global known variables: time 0.01101/3.517, allocations: 5.792 MB / 1.151 GB, free: 155.4 MB / 0.5731 GB Notification: Performance of sort global known variables: time 4.81e-07/3.517, allocations: 0 / 1.151 GB, free: 155.4 MB / 0.5731 GB Notification: Performance of remove unused functions: time 0.01763/3.534, allocations: 2.503 MB / 1.153 GB, free: 155.4 MB / 0.5731 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001046/3.535, allocations: 212.6 kB / 1.153 GB, free: 155.3 MB / 0.5731 GB Notification: Performance of simCode: created initialization part: time 0.01743/3.553, allocations: 12.49 MB / 1.166 GB, free: 155.1 MB / 0.5731 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-05/3.553, allocations: 3.625 kB / 1.166 GB, free: 155.1 MB / 0.5731 GB Notification: Performance of simCode: created simulation system equations: time 0.003171/3.556, allocations: 2.826 MB / 1.168 GB, free: 155 MB / 0.5731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005939/3.562, allocations: 1.254 MB / 1.17 GB, free: 154.9 MB / 0.5731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05367/3.616, allocations: 24 MB / 1.193 GB, free: 149.9 MB / 0.5731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02221/3.638, allocations: 10.76 MB / 1.204 GB, free: 146.2 MB / 0.5731 GB Notification: Performance of simCode: alias equations: time 0.01799/3.656, allocations: 5.452 MB / 1.209 GB, free: 146.1 MB / 0.5731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002937/3.659, allocations: 0.6004 MB / 1.209 GB, free: 146.1 MB / 0.5731 GB Notification: Performance of SimCode: time 1.663e-06/3.659, allocations: 0 / 1.209 GB, free: 146.1 MB / 0.5731 GB Notification: Performance of Templates: time 0.1412/3.8, allocations: 68.53 MB / 1.276 GB, free: 98.46 MB / 0.5731 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)