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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003898/0.003898, allocations: 174.8 kB / 7.451 MB, free: 2.504 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.185/1.185, allocations: 170.6 MB / 178.4 MB, free: 15.41 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.001726/0.001726, allocations: 121 kB / 217.7 MB, free: 8.168 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.1394/0.1394, allocations: 37.97 MB / 294.8 MB, free: 9.625 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.598e-06/9.638e-06, allocations: 1.281 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09292/0.09295, allocations: 48.7 MB / 398.2 MB, free: 5.684 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3868/0.4798, allocations: 97.06 MB / 495.3 MB, free: 13.4 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.4801, allocations: 77.72 kB / 495.3 MB, free: 13.4 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.7458/1.226, allocations: 225.3 MB / 0.7038 GB, free: 41.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.00108/1.227, allocations: 372.6 kB / 0.7041 GB, free: 41.47 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.04675/1.274, allocations: 13.3 MB / 0.7171 GB, free: 36.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/1.274, allocations: 9.562 kB / 0.7171 GB, free: 36.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02977/1.304, allocations: 5.463 MB / 0.7224 GB, free: 35.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03776/1.341, allocations: 10.57 MB / 0.7328 GB, free: 30.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001527/1.343, allocations: 0.6367 MB / 0.7334 GB, free: 29.63 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009499/1.353, allocations: 1.14 MB / 0.7345 GB, free: 28.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05827/1.411, allocations: 21.06 MB / 0.7551 GB, free: 7.547 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1073/1.518, allocations: 33.17 MB / 0.7875 GB, free: 3.109 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.002104/1.52, allocations: 194.2 kB / 0.7876 GB, free: 2.918 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009986/1.53, allocations: 100 kB / 0.7877 GB, free: 2.82 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003732/1.534, allocations: 2.125 MB / 0.7898 GB, free: 0.6992 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4975/2.032, allocations: 158.2 MB / 0.9443 GB, free: 10.32 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007499/2.039, allocations: 4.747 MB / 0.9489 GB, free: 7.973 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004526/2.044, allocations: 3.709 MB / 0.9525 GB, free: 6.383 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04368/2.087, allocations: 31.37 MB / 0.9831 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.78e-05/2.088, allocations: 69.78 kB / 0.9832 GB, free: 1.664 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=254): time 9.417e-06/2.088, allocations: 1.781 kB / 0.9832 GB, free: 1.664 MB / 0.5105 GB Notification: Performance of matching and sorting (n=289): time 0.4132/2.501, allocations: 42.03 MB / 1.024 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.697e-05/2.501, allocations: 209 kB / 1.024 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02347/2.524, allocations: 8.909 MB / 1.033 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009606/2.525, allocations: 25.7 kB / 1.033 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.01054/2.536, allocations: 10.8 MB / 1.044 GB, free: 123 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002637/2.539, allocations: 1.26 MB / 1.045 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002863/2.542, allocations: 0 / 1.045 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.003286/2.545, allocations: 1.087 MB / 1.046 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01247/2.557, allocations: 5.759 MB / 1.052 GB, free: 122 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02362/2.581, allocations: 18.3 MB / 1.07 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01939/2.601, allocations: 10.47 MB / 1.08 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.002034/2.603, allocations: 130.5 kB / 1.08 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2374) (initialization): time 0.05289/2.656, allocations: 20.69 MB / 1.1 GB, free: 88.56 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/2.656, allocations: 4 kB / 1.1 GB, free: 88.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002364/2.658, allocations: 456 kB / 1.101 GB, free: 88.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003035/2.661, allocations: 0.8132 MB / 1.101 GB, free: 87.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01694/2.678, allocations: 4.412 MB / 1.106 GB, free: 83.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004681/2.683, allocations: 3.184 MB / 1.109 GB, free: 80.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01814/2.701, allocations: 0.6681 MB / 1.109 GB, free: 79.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005664/2.707, allocations: 1.167 MB / 1.111 GB, free: 78.69 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2081 * 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 (2331): * Single equations (assignments): 2323 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008497/2.715, allocations: 1.131 MB / 1.112 GB, free: 77.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001944/2.717, allocations: 0.802 MB / 1.112 GB, free: 76.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01334/2.731, allocations: 5.892 MB / 1.118 GB, free: 71.74 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001599/2.731, allocations: 28 kB / 1.118 GB, free: 71.71 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.83e-05/2.731, allocations: 4 kB / 1.118 GB, free: 71.71 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.246e-05/2.731, allocations: 25.95 kB / 1.118 GB, free: 71.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05206/2.783, allocations: 17.04 MB / 1.135 GB, free: 57.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.029e-05/2.783, allocations: 192 / 1.135 GB, free: 57.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003014/2.786, allocations: 0.5539 MB / 1.135 GB, free: 57.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005266/2.787, allocations: 167.5 kB / 1.136 GB, free: 57.08 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002689/2.787, allocations: 22.84 kB / 1.136 GB, free: 57.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001984/2.789, allocations: 2.029 MB / 1.138 GB, free: 55.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/2.789, allocations: 0 / 1.138 GB, free: 55.08 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01245/2.801, allocations: 10.42 MB / 1.148 GB, free: 45.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004151/2.805, allocations: 1.242 MB / 1.149 GB, free: 44.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002544/2.808, allocations: 8 kB / 1.149 GB, free: 44.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004957/2.813, allocations: 301.3 kB / 1.149 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004848/2.814, allocations: 136.7 kB / 1.149 GB, free: 44.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004056/2.814, allocations: 90.84 kB / 1.149 GB, free: 44.02 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.01732/2.831, allocations: 5.923 MB / 1.155 GB, free: 38.83 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.02605/2.857, allocations: 2.483 MB / 1.158 GB, free: 36.36 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (259): * Single equations (assignments): 251 * 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.001683/2.859, allocations: 211.9 kB / 1.158 GB, free: 36.18 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.3931/3.252, allocations: 12.76 MB / 1.17 GB, free: 110 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.365e-05/3.252, allocations: 2.672 kB / 1.17 GB, free: 110 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003816/3.256, allocations: 2.816 MB / 1.173 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008015/3.264, allocations: 1.221 MB / 1.174 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1026/3.367, allocations: 24.21 MB / 1.198 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03303/3.4, allocations: 11.48 MB / 1.209 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.392e-06/3.4, allocations: 3.312 kB / 1.209 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.1916/3.591, allocations: 82.27 MB / 1.289 GB, free: 66.26 MB / 0.5105 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)