Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001668/0.001668, allocations: 187 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.264/2.264, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.00119/0.00119, allocations: 102.8 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2913/0.2913, allocations: 43.55 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004813/0.0004814, allocations: 16 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1288, allocations: 58.86 MB / 490.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.432/0.5608, allocations: 55.78 MB / 0.5333 GB, free: 9.809 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04665/0.6076, allocations: 14.82 MB / 0.5478 GB, free: 7.598 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01721/0.6248, allocations: 308.5 kB / 0.5481 GB, free: 7.551 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01276/0.6377, allocations: 3.003 MB / 0.551 GB, free: 6.031 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03316/0.6709, allocations: 7.287 MB / 0.5581 GB, free: 2.203 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009178/0.6801, allocations: 1.643 MB / 0.5597 GB, free: 1.086 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.04672/0.7269, allocations: 16.77 MB / 0.5761 GB, free: 4.473 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08476/0.8117, allocations: 36.4 MB / 0.6116 GB, free: 15.93 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007273/0.8191, allocations: 2.726 MB / 0.6143 GB, free: 13.2 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009144/0.8283, allocations: 3.632 MB / 0.6178 GB, free: 9.555 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003069/0.8314, allocations: 0.5234 MB / 0.6183 GB, free: 9.031 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007076/0.8385, allocations: 1.596 MB / 0.6199 GB, free: 7.434 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01147/0.85, allocations: 5.67 MB / 0.6254 GB, free: 1.75 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007261/0.8574, allocations: 3.223 MB / 0.6286 GB, free: 14.51 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04788/0.9053, allocations: 27.61 MB / 0.6556 GB, free: 2.832 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.9054, allocations: 0 / 0.6556 GB, free: 2.832 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.113e-06/0.9054, allocations: 3.984 kB / 0.6556 GB, free: 2.828 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.00122/0.9066, allocations: 4 kB / 0.6556 GB, free: 2.824 MB / 458.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.0668/0.9735, allocations: 13.42 MB / 0.6687 GB, free: 5.297 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.435e-05/0.9736, allocations: 8.031 kB / 0.6687 GB, free: 5.289 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01443/0.988, allocations: 2.845 MB / 0.6715 GB, free: 2.434 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.279/1.267, allocations: 9.717 MB / 0.6809 GB, free: 8.684 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03295/1.3, allocations: 8.047 MB / 0.6888 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001761/1.302, allocations: 1.252 MB / 0.69 GB, free: 15.31 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007262/1.309, allocations: 1.652 MB / 0.6916 GB, free: 13.66 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8053/2.115, allocations: 39 MB / 0.7297 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001236/2.116, allocations: 121.3 kB / 0.7298 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006843/2.123, allocations: 0.7445 MB / 0.7306 GB, free: 149.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01052/2.133, allocations: 3.959 MB / 0.7344 GB, free: 149 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1065/2.24, allocations: 29.72 MB / 0.7635 GB, free: 135.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2091/2.449, allocations: 123.4 MB / 0.884 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06774/2.517, allocations: 12.99 MB / 0.8967 GB, free: 92 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02087/2.538, allocations: 15.26 MB / 0.9116 GB, free: 14.45 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001186/2.538, allocations: 68.55 kB / 0.9116 GB, free: 14.38 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=274): time 8.486e-06/2.538, allocations: 3.938 kB / 0.9116 GB, free: 14.38 MB / 0.5418 GB Notification: Performance of matching and sorting (n=309): time 1.108/3.647, allocations: 78.4 MB / 0.9882 GB, free: 151.8 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.241e-05/3.647, allocations: 217.9 kB / 0.9884 GB, free: 151.5 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02318/3.67, allocations: 10.79 MB / 0.9989 GB, free: 140.7 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 0.0007355/3.671, allocations: 77.45 kB / 0.999 GB, free: 140.6 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 0.007907/3.679, allocations: 10.94 MB / 1.01 GB, free: 129.7 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.001903/3.681, allocations: 1.366 MB / 1.011 GB, free: 128.4 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002138/3.683, allocations: 360 kB / 1.011 GB, free: 128 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.001786/3.685, allocations: 1.083 MB / 1.012 GB, free: 126.9 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.015/3.7, allocations: 6.102 MB / 1.018 GB, free: 120.8 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02224/3.722, allocations: 18.51 MB / 1.036 GB, free: 96.05 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02206/3.744, allocations: 10.65 MB / 1.047 GB, free: 85.41 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004037/3.744, allocations: 132 kB / 1.047 GB, free: 85.28 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2352) (initialization): time 0.05515/3.8, allocations: 23.34 MB / 1.07 GB, free: 61.96 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003005/3.8, allocations: 196 kB / 1.07 GB, free: 61.77 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005705/3.801, allocations: 448 kB / 1.07 GB, free: 61.33 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002228/3.803, allocations: 0.9032 MB / 1.071 GB, free: 60.43 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02382/3.827, allocations: 4.394 MB / 1.076 GB, free: 56.02 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00614/3.833, allocations: 4.006 MB / 1.079 GB, free: 51.88 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01693/3.85, allocations: 1.065 MB / 1.081 GB, free: 50.81 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003257/3.853, allocations: 1.156 MB / 1.082 GB, free: 49.66 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2039 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2306): * Single equations (assignments): 2298 * 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.01809/3.871, allocations: 7.863 MB / 1.089 GB, free: 41.77 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001611/3.873, allocations: 0.829 MB / 1.09 GB, free: 40.93 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01598/3.889, allocations: 6.218 MB / 1.096 GB, free: 34.67 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001206/3.889, allocations: 35.94 kB / 1.096 GB, free: 34.63 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/3.889, allocations: 4 kB / 1.096 GB, free: 34.63 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.868e-05/3.889, allocations: 15.94 kB / 1.096 GB, free: 34.61 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06443/3.954, allocations: 21.37 MB / 1.117 GB, free: 13.11 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.127e-05/3.954, allocations: 4 kB / 1.117 GB, free: 13.11 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00578/3.96, allocations: 0.6085 MB / 1.118 GB, free: 12.5 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001211/3.961, allocations: 238.6 kB / 1.118 GB, free: 12.27 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007068/3.962, allocations: 63.94 kB / 1.118 GB, free: 12.2 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004227/3.966, allocations: 2.583 MB / 1.121 GB, free: 9.488 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/3.966, allocations: 7.938 kB / 1.121 GB, free: 9.48 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4281/4.394, allocations: 11.21 MB / 1.131 GB, free: 146 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004885/4.399, allocations: 1.287 MB / 1.133 GB, free: 145.7 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002805/4.402, allocations: 56.16 kB / 1.133 GB, free: 145.7 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007365/4.409, allocations: 372.7 kB / 1.133 GB, free: 145.6 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001167/4.41, allocations: 174.8 kB / 1.133 GB, free: 145.6 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000537/4.411, allocations: 104.3 kB / 1.133 GB, free: 145.6 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.01984/4.431, allocations: 6.639 MB / 1.14 GB, free: 143.2 MB / 0.5419 GB Notification: Performance of sort global known variables: time 9.71e-07/4.431, allocations: 0 / 1.14 GB, free: 143.2 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0219/4.453, allocations: 2.92 MB / 1.143 GB, free: 142.9 MB / 0.5419 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 () * Number of clocked 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.02791/4.481, allocations: 12.45 MB / 1.155 GB, free: 137 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.03172/4.512, allocations: 13.58 MB / 1.168 GB, free: 132.1 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.367e-05/4.512, allocations: 4.406 kB / 1.168 GB, free: 132.1 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.007412/4.52, allocations: 2.959 MB / 1.171 GB, free: 131 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01009/4.53, allocations: 1.383 MB / 1.172 GB, free: 130.5 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7247/5.255, allocations: 425 MB / 1.587 GB, free: 10.06 MB / 0.6357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02856/5.283, allocations: 10.74 MB / 1.598 GB, free: 4.48 MB / 0.6357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.4029/5.686, allocations: 6.962 MB / 1.605 GB, free: 245.6 MB / 0.6357 GB Notification: Performance of SimCode: time 1.382e-06/5.686, allocations: 5.125 kB / 1.605 GB, free: 245.6 MB / 0.6357 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.976/13.66, allocations: 327.8 MB / 1.925 GB, free: 162 MB / 0.6357 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe 2>&1)