Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) [: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 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 190.8 kB / 8.523 MB, free: 1.734 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 221.4 MB / 230.3 MB, free: 7.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000901/0.0009013, allocations: 90.98 kB / 281.2 MB, free: 5.531 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1626/0.1626, allocations: 44.15 MB / 376.1 MB, free: 3.254 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1765/0.3392, allocations: 68.03 MB / 444.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.4721, allocations: 61.91 MB / 0.4942 GB, free: 1.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2654/0.7375, allocations: 111.8 MB / 0.6034 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/0.7377, allocations: 71.97 kB / 0.6035 GB, free: 0.832 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5519 * Number of variables: 5519 Notification: Performance of Generate backend data structure: time 0.6349/1.373, allocations: 232.9 MB / 0.8309 GB, free: 46.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/1.373, allocations: 11.94 kB / 0.8309 GB, free: 46.96 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02011/1.393, allocations: 5.37 MB / 0.8362 GB, free: 41.57 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0211/1.414, allocations: 10.22 MB / 0.8461 GB, free: 31.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006051/1.415, allocations: 0.6211 MB / 0.8467 GB, free: 30.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004102/1.419, allocations: 1.121 MB / 0.8478 GB, free: 29.59 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03412/1.453, allocations: 20.21 MB / 0.8676 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3272/1.78, allocations: 32.15 MB / 0.899 GB, free: 94.36 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004851/1.78, allocations: 192.1 kB / 0.8992 GB, free: 94.36 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001656/1.782, allocations: 97.69 kB / 0.8992 GB, free: 94.36 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001667/1.784, allocations: 1.978 MB / 0.9012 GB, free: 94.34 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1302/1.914, allocations: 155.6 MB / 1.053 GB, free: 40.13 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004623/1.919, allocations: 4.544 MB / 1.058 GB, free: 37.86 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003422/1.922, allocations: 3.559 MB / 1.061 GB, free: 36.33 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03163/1.954, allocations: 30.66 MB / 1.091 GB, free: 15.98 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/1.954, allocations: 55.25 kB / 1.091 GB, free: 15.92 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=218): time 5.53e-06/1.954, allocations: 0 / 1.091 GB, free: 15.92 MB / 0.5574 GB Notification: Performance of matching and sorting (n=253): time 0.3627/2.317, allocations: 40.82 MB / 1.131 GB, free: 164.5 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/2.317, allocations: 207.8 kB / 1.131 GB, free: 164.3 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01111/2.328, allocations: 8.707 MB / 1.14 GB, free: 163.9 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 0.0004033/2.328, allocations: 29.27 kB / 1.14 GB, free: 163.9 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 0.004189/2.332, allocations: 10.48 MB / 1.15 GB, free: 158.9 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009005/2.333, allocations: 1.14 MB / 1.151 GB, free: 158.4 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006061/2.334, allocations: 0 / 1.151 GB, free: 158.4 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 0.0007323/2.335, allocations: 1.056 MB / 1.152 GB, free: 158 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006356/2.341, allocations: 5.525 MB / 1.157 GB, free: 158 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009923/2.351, allocations: 17.69 MB / 1.175 GB, free: 142 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01125/2.362, allocations: 10.11 MB / 1.185 GB, free: 141.9 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001996/2.362, allocations: 128.1 kB / 1.185 GB, free: 141.9 MB / 0.5575 GB Notification: Performance of matching and sorting (n=2277) (initialization): time 0.02942/2.392, allocations: 19.93 MB / 1.204 GB, free: 139.5 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/2.392, allocations: 6.719 kB / 1.204 GB, free: 139.5 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003727/2.392, allocations: 441.2 kB / 1.205 GB, free: 139.5 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/2.393, allocations: 0.7906 MB / 1.205 GB, free: 139.5 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01131/2.405, allocations: 4.23 MB / 1.21 GB, free: 138.9 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002775/2.407, allocations: 3.162 MB / 1.213 GB, free: 137.1 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01097/2.418, allocations: 0.6463 MB / 1.213 GB, free: 137 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001522/2.42, allocations: 1.127 MB / 1.214 GB, free: 136.8 MB / 0.5575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2020 * Number of states: 0 () * Number of discrete variables: 41 (sensor_world2.arrow.arrowLine.twoHeadedArrow,sensor_world2.arrow.headAtOrigin,sensor_world2.arrowColor[3],sensor_world2.arrowColor[2],sensor_world2.arrowColor[1],sensor_frame_a2.arrow.arrowLine.twoHeadedArrow,sensor_frame_a2.arrow.headAtOrigin,sensor_frame_a2.arrowColor[3],sensor_frame_a2.arrowColor[2],sensor_frame_a2.arrowColor[1],sensor_world1.arrow.arrowLine.twoHeadedArrow,sensor_world1.arrow.headAtOrigin,sensor_world1.arrowColor[3],sensor_world1.arrowColor[2],sensor_world1.arrowColor[1],sensor_frame_a1.arrow.arrowLine.twoHeadedArrow,sensor_frame_a1.arrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2234): * Single equations (assignments): 2226 * 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.001651/2.422, allocations: 1.108 MB / 1.215 GB, free: 135.9 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008842/2.422, allocations: 0.7721 MB / 1.216 GB, free: 135.5 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006697/2.429, allocations: 5.467 MB / 1.221 GB, free: 133.5 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.455e-05/2.429, allocations: 25.31 kB / 1.222 GB, free: 133.5 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/2.429, allocations: 3.875 kB / 1.222 GB, free: 133.5 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.915e-05/2.429, allocations: 9.281 kB / 1.222 GB, free: 133.5 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02747/2.457, allocations: 16.22 MB / 1.237 GB, free: 127.6 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/2.457, allocations: 2.312 kB / 1.237 GB, free: 127.6 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002516/2.459, allocations: 493.2 kB / 1.238 GB, free: 127.6 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004832/2.46, allocations: 163.2 kB / 1.238 GB, free: 127.5 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002049/2.46, allocations: 15.53 kB / 1.238 GB, free: 127.5 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001825/2.462, allocations: 2.028 MB / 1.24 GB, free: 126 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/2.462, allocations: 7.969 kB / 1.24 GB, free: 126 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009952/2.472, allocations: 9.809 MB / 1.25 GB, free: 120.8 MB / 0.5575 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01252/2.484, allocations: 13.83 MB / 1.263 GB, free: 108.3 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00144/2.486, allocations: 0.7049 MB / 1.264 GB, free: 107.6 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001015/2.487, allocations: 4 kB / 1.264 GB, free: 107.6 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002908/2.49, allocations: 289.4 kB / 1.264 GB, free: 107.4 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003268/2.49, allocations: 116.2 kB / 1.264 GB, free: 107.3 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000238/2.49, allocations: 81.69 kB / 1.264 GB, free: 107.2 MB / 0.5575 GB Notification: Performance of sort global known variables: time 0.007682/2.498, allocations: 5.786 MB / 1.27 GB, free: 102.2 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.01271/2.511, allocations: 2.401 MB / 1.272 GB, free: 99.82 MB / 0.5575 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 (219): * Single equations (assignments): 211 * 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.0006707/2.511, allocations: 214.6 kB / 1.272 GB, free: 99.64 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.01412/2.526, allocations: 12.14 MB / 1.284 GB, free: 88.58 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/2.526, allocations: 4.438 kB / 1.284 GB, free: 88.57 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.002663/2.528, allocations: 2.623 MB / 1.287 GB, free: 86.2 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004834/2.533, allocations: 1.265 MB / 1.288 GB, free: 85.21 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2029/2.736, allocations: 23.4 MB / 1.311 GB, free: 144.2 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01622/2.752, allocations: 11.14 MB / 1.322 GB, free: 143.2 MB / 0.5575 GB Notification: Performance of SimCode: time 9.72e-07/2.752, allocations: 0 / 1.322 GB, free: 143.2 MB / 0.5575 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe 2>&1)