Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 186.3 kB / 7.804 MB, free: 2.438 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 205.2 MB / 213.4 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000917/0.000917, allocations: 85.84 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2024/0.2024, allocations: 43.5 MB / 352.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2213/0.4238, allocations: 64.96 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.7536, allocations: 58.83 MB / 476.6 MB, free: 5.293 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.158/0.9117, allocations: 110.6 MB / 0.5735 GB, free: 4.352 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.912, allocations: 83.41 kB / 0.5736 GB, free: 4.273 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: 5715 * Number of variables: 5715 Notification: Performance of Generate backend data structure: time 0.8303/1.742, allocations: 239.5 MB / 0.8074 GB, free: 14.19 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/1.742, allocations: 12 kB / 0.8074 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02709/1.77, allocations: 5.463 MB / 0.8128 GB, free: 8.684 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4401/2.21, allocations: 10.57 MB / 0.8231 GB, free: 81.02 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009558/2.211, allocations: 0.6398 MB / 0.8237 GB, free: 81.02 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006948/2.218, allocations: 1.143 MB / 0.8248 GB, free: 81.02 MB / 490.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05107/2.269, allocations: 21.06 MB / 0.8454 GB, free: 80.93 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08343/2.352, allocations: 33.18 MB / 0.8778 GB, free: 72.07 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001037/2.353, allocations: 195.7 kB / 0.878 GB, free: 72.07 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006231/2.36, allocations: 97.75 kB / 0.8781 GB, free: 72.07 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002743/2.362, allocations: 2.129 MB / 0.8802 GB, free: 72.04 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6733/3.036, allocations: 158.3 MB / 1.035 GB, free: 34.49 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006155/3.042, allocations: 4.741 MB / 1.039 GB, free: 33.84 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004354/3.046, allocations: 3.708 MB / 1.043 GB, free: 33.8 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04112/3.087, allocations: 31.36 MB / 1.074 GB, free: 19.48 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.724e-05/3.087, allocations: 73.27 kB / 1.074 GB, free: 19.45 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=254): time 7.664e-06/3.087, allocations: 3.188 kB / 1.074 GB, free: 19.45 MB / 0.5263 GB Notification: Performance of matching and sorting (n=289): time 0.09953/3.187, allocations: 42 MB / 1.115 GB, free: 10.96 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001562/3.187, allocations: 207.2 kB / 1.115 GB, free: 10.74 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02141/3.209, allocations: 8.928 MB / 1.124 GB, free: 9.652 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 0.0007471/3.209, allocations: 27.42 kB / 1.124 GB, free: 9.621 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 0.01264/3.222, allocations: 10.81 MB / 1.134 GB, free: 2.551 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.002896/3.225, allocations: 1.261 MB / 1.135 GB, free: 1.93 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002857/3.228, allocations: 0 / 1.135 GB, free: 1.93 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.003147/3.231, allocations: 1.095 MB / 1.136 GB, free: 1.582 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01176/3.243, allocations: 5.759 MB / 1.142 GB, free: 108 kB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03455/3.278, allocations: 18.85 MB / 1.161 GB, free: 14.68 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02033/3.298, allocations: 10.48 MB / 1.171 GB, free: 9.613 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001346/3.299, allocations: 128 kB / 1.171 GB, free: 9.488 MB / 0.5575 GB Notification: Performance of matching and sorting (n=2377) (initialization): time 0.05302/3.352, allocations: 20.71 MB / 1.191 GB, free: 7.746 MB / 0.5732 GB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/3.352, allocations: 4 kB / 1.191 GB, free: 7.742 MB / 0.5732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001566/3.354, allocations: 456 kB / 1.192 GB, free: 7.289 MB / 0.5732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002668/3.357, allocations: 0.8138 MB / 1.192 GB, free: 6.516 MB / 0.5732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01764/3.374, allocations: 4.415 MB / 1.197 GB, free: 2.621 MB / 0.5732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006755/3.381, allocations: 3.378 MB / 1.2 GB, free: 0 / 0.5732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2872/3.668, allocations: 0.675 MB / 1.201 GB, free: 149 MB / 0.5732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004687/3.673, allocations: 1.168 MB / 1.202 GB, free: 149 MB / 0.5732 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2084 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2334): * Single equations (assignments): 2326 * 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.005432/3.679, allocations: 1.133 MB / 1.203 GB, free: 148.9 MB / 0.5732 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002136/3.681, allocations: 0.8025 MB / 1.204 GB, free: 148.9 MB / 0.5732 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01108/3.692, allocations: 5.904 MB / 1.209 GB, free: 148.7 MB / 0.5732 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.91e-05/3.692, allocations: 29.11 kB / 1.209 GB, free: 148.7 MB / 0.5732 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.479e-05/3.692, allocations: 3.781 kB / 1.209 GB, free: 148.7 MB / 0.5732 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.741e-05/3.692, allocations: 10.03 kB / 1.209 GB, free: 148.7 MB / 0.5732 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05239/3.744, allocations: 17.03 MB / 1.226 GB, free: 147.6 MB / 0.5732 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.25e-05/3.745, allocations: 2.781 kB / 1.226 GB, free: 147.6 MB / 0.5732 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002966/3.748, allocations: 0.5565 MB / 1.227 GB, free: 147.6 MB / 0.5732 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005469/3.748, allocations: 155.8 kB / 1.227 GB, free: 147.6 MB / 0.5732 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002464/3.748, allocations: 24.19 kB / 1.227 GB, free: 147.6 MB / 0.5732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002154/3.75, allocations: 2.028 MB / 1.229 GB, free: 146.4 MB / 0.5732 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/3.751, allocations: 0 / 1.229 GB, free: 146.4 MB / 0.5732 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01284/3.763, allocations: 10.43 MB / 1.239 GB, free: 145.2 MB / 0.5732 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01787/3.781, allocations: 14.68 MB / 1.253 GB, free: 143.7 MB / 0.5732 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005024/3.786, allocations: 1.247 MB / 1.254 GB, free: 143.2 MB / 0.5732 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002647/3.789, allocations: 3.969 kB / 1.255 GB, free: 143.2 MB / 0.5732 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003977/3.793, allocations: 296.1 kB / 1.255 GB, free: 143.2 MB / 0.5732 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003506/3.793, allocations: 136.9 kB / 1.255 GB, free: 143.2 MB / 0.5732 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003011/3.794, allocations: 95.77 kB / 1.255 GB, free: 143.2 MB / 0.5732 GB Notification: Performance of sort global known variables: time 0.01377/3.808, allocations: 5.931 MB / 1.261 GB, free: 142.9 MB / 0.5732 GB Notification: Performance of remove unused functions: time 0.02292/3.83, allocations: 2.492 MB / 1.263 GB, free: 142.9 MB / 0.5732 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.001771/3.832, allocations: 218.7 kB / 1.263 GB, free: 142.8 MB / 0.5732 GB Notification: Performance of simCode: created initialization part: time 0.02435/3.857, allocations: 12.69 MB / 1.276 GB, free: 142.6 MB / 0.5732 GB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/3.857, allocations: 5.625 kB / 1.276 GB, free: 142.6 MB / 0.5732 GB Notification: Performance of simCode: created simulation system equations: time 0.004609/3.861, allocations: 2.812 MB / 1.279 GB, free: 142.3 MB / 0.5732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008512/3.87, allocations: 1.241 MB / 1.28 GB, free: 141.9 MB / 0.5732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07395/3.944, allocations: 24.24 MB / 1.303 GB, free: 133.3 MB / 0.5732 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03296/3.977, allocations: 11.5 MB / 1.315 GB, free: 129.6 MB / 0.5732 GB Notification: Performance of SimCode: time 1.383e-06/3.977, allocations: 0 / 1.315 GB, free: 129.6 MB / 0.5732 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe 2>&1)