Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2+maint.om/package.mo): time 0.00256/0.00256, allocations: 182.9 kB / 7.456 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.086/1.086, allocations: 194.2 MB / 202.1 MB, free: 8.645 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001738/0.001738, allocations: 122.4 kB / 247.1 MB, free: 6.375 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1666/0.1666, allocations: 39.95 MB / 331.9 MB, free: 4.945 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.36e-06/5.401e-06, allocations: 0 / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08739/0.08741, allocations: 54.87 MB / 447.6 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3005/0.388, allocations: 103.9 MB / 0.5386 GB, free: 12.64 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/0.3883, allocations: 79 kB / 0.5387 GB, free: 12.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.7394/1.128, allocations: 225.3 MB / 0.7587 GB, free: 67.18 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001607/1.129, allocations: 378.1 kB / 0.7591 GB, free: 67.16 MB / 474.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.04742/1.177, allocations: 13.3 MB / 0.7721 GB, free: 61.32 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/1.177, allocations: 9.031 kB / 0.7721 GB, free: 61.32 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02688/1.204, allocations: 5.457 MB / 0.7774 GB, free: 59.99 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03346/1.237, allocations: 10.58 MB / 0.7877 GB, free: 52.46 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00121/1.239, allocations: 0.6328 MB / 0.7883 GB, free: 51.82 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007943/1.246, allocations: 1.144 MB / 0.7895 GB, free: 50.68 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04732/1.294, allocations: 21.05 MB / 0.81 GB, free: 29.62 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07961/1.373, allocations: 33.17 MB / 0.8424 GB, free: 9.191 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001255/1.375, allocations: 190.2 kB / 0.8426 GB, free: 9.004 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007322/1.382, allocations: 100 kB / 0.8427 GB, free: 8.906 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002799/1.385, allocations: 2.129 MB / 0.8448 GB, free: 6.777 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3996/1.785, allocations: 158.2 MB / 0.9992 GB, free: 34.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006188/1.791, allocations: 4.736 MB / 1.004 GB, free: 31.91 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004806/1.796, allocations: 3.713 MB / 1.007 GB, free: 30.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04241/1.838, allocations: 31.36 MB / 1.038 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.959e-05/1.838, allocations: 66.12 kB / 1.038 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=254): time 9.057e-06/1.838, allocations: 3.797 kB / 1.038 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of matching and sorting (n=289): time 0.3521/2.19, allocations: 41.98 MB / 1.079 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.06e-05/2.19, allocations: 211.9 kB / 1.079 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01422/2.205, allocations: 8.905 MB / 1.088 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006/2.205, allocations: 30.7 kB / 1.088 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.006003/2.211, allocations: 10.8 MB / 1.099 GB, free: 129.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00153/2.213, allocations: 1.261 MB / 1.1 GB, free: 128.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008828/2.214, allocations: 0 / 1.1 GB, free: 128.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0008908/2.215, allocations: 1.086 MB / 1.101 GB, free: 128.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009058/2.224, allocations: 5.756 MB / 1.107 GB, free: 128.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01979/2.244, allocations: 18.3 MB / 1.124 GB, free: 111.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02087/2.264, allocations: 10.49 MB / 1.135 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001169/2.266, allocations: 132.7 kB / 1.135 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2374) (initialization): time 0.04714/2.313, allocations: 20.69 MB / 1.155 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/2.313, allocations: 7.938 kB / 1.155 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002073/2.315, allocations: 452.1 kB / 1.155 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002833/2.318, allocations: 0.8161 MB / 1.156 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01636/2.334, allocations: 4.412 MB / 1.161 GB, free: 101 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004211/2.338, allocations: 3.186 MB / 1.164 GB, free: 99.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01645/2.355, allocations: 0.6633 MB / 1.164 GB, free: 99.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006028/2.361, allocations: 1.174 MB / 1.165 GB, free: 98.6 MB / 0.4948 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.007043/2.368, allocations: 1.127 MB / 1.167 GB, free: 97.46 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002053/2.37, allocations: 0.7982 MB / 1.167 GB, free: 96.65 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01224/2.382, allocations: 5.904 MB / 1.173 GB, free: 91.65 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000123/2.383, allocations: 28 kB / 1.173 GB, free: 91.62 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.928e-05/2.383, allocations: 1.547 kB / 1.173 GB, free: 91.62 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.946e-05/2.383, allocations: 19.67 kB / 1.173 GB, free: 91.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04239/2.425, allocations: 17.03 MB / 1.19 GB, free: 77.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.857e-05/2.425, allocations: 0 / 1.19 GB, free: 77.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002906/2.428, allocations: 0.5583 MB / 1.19 GB, free: 77.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005049/2.429, allocations: 166.4 kB / 1.19 GB, free: 77.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002554/2.429, allocations: 22.84 kB / 1.19 GB, free: 77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/2.431, allocations: 2.027 MB / 1.192 GB, free: 75.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/2.431, allocations: 4.031 kB / 1.192 GB, free: 75.01 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01078/2.441, allocations: 10.43 MB / 1.203 GB, free: 65.51 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003625/2.445, allocations: 1.243 MB / 1.204 GB, free: 64.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001871/2.447, allocations: 7.672 kB / 1.204 GB, free: 64.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003452/2.451, allocations: 306 kB / 1.204 GB, free: 64.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003297/2.451, allocations: 126 kB / 1.204 GB, free: 64.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002568/2.451, allocations: 94.95 kB / 1.204 GB, free: 63.95 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0106/2.462, allocations: 5.919 MB / 1.21 GB, free: 58.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01887/2.481, allocations: 2.482 MB / 1.213 GB, free: 56.3 MB / 0.4948 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.001042/2.482, allocations: 214.5 kB / 1.213 GB, free: 56.11 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.2524/2.734, allocations: 12.78 MB / 1.225 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/2.734, allocations: 3.312 kB / 1.225 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003416/2.738, allocations: 2.812 MB / 1.228 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006148/2.744, allocations: 1.234 MB / 1.229 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05852/2.802, allocations: 24.22 MB / 1.253 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02778/2.83, allocations: 11.47 MB / 1.264 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.402e-06/2.83, allocations: 0 / 1.264 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.1683/2.998, allocations: 82.27 MB / 1.344 GB, free: 76.65 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe 2>&1)