Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001416/0.001416, allocations: 105.5 kB / 19.74 MB, free: 2.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001624/0.001624, allocations: 220.7 kB / 22.92 MB, free: 5.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.283/1.283, allocations: 230.2 MB / 256.1 MB, free: 8.77 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1948/0.1948, allocations: 46.89 MB / 359.3 MB, free: 4.992 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 88.14 kB / 0.494 GB, free: 9.109 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2525, allocations: 65.98 MB / 0.5584 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.02375/0.2763, allocations: 22.93 MB / 0.5808 GB, free: 14.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01483/0.2911, allocations: 8.006 MB / 0.5886 GB, free: 6.145 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00361/0.2947, allocations: 195.6 kB / 0.5888 GB, free: 5.953 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03642/0.3311, allocations: 22.4 MB / 0.6107 GB, free: 15.49 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008721/0.3399, allocations: 3.548 MB / 0.6141 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008313/0.3482, allocations: 4.105 MB / 0.6182 GB, free: 7.812 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01355/0.3617, allocations: 9.653 MB / 0.6276 GB, free: 14.14 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02497/0.3867, allocations: 20.33 MB / 0.6474 GB, free: 9.629 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00861/0.3953, allocations: 6.966 MB / 0.6542 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.012/0.4073, allocations: 9.059 MB / 0.6631 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.003695/0.411, allocations: 2.211 MB / 0.6652 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005701/0.4167, allocations: 3.513 MB / 0.6687 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.007636/0.4243, allocations: 8.442 MB / 0.6769 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.01117/0.4355, allocations: 9.668 MB / 0.6864 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.03467/0.4702, allocations: 32.83 MB / 0.7184 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4702, allocations: 4 kB / 0.7184 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4702, allocations: 0 / 0.7184 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0008703/0.471, allocations: 0 / 0.7184 GB, free: 0.7266 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5549 * Number of variables: 5549 Notification: Performance of Generate backend data structure: time 0.4369/0.9079, allocations: 17.26 MB / 0.7353 GB, free: 135.4 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.9079, allocations: 10.03 kB / 0.7353 GB, free: 135.4 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006638/0.9146, allocations: 2.777 MB / 0.738 GB, free: 134.4 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08538/1, allocations: 8.373 MB / 0.7462 GB, free: 132 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01324/1.013, allocations: 8.123 MB / 0.7541 GB, free: 125.8 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004889/1.014, allocations: 1.242 MB / 0.7553 GB, free: 124.6 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002959/1.017, allocations: 1.639 MB / 0.7569 GB, free: 123 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05319/1.07, allocations: 35.92 MB / 0.792 GB, free: 85.44 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007396/1.071, allocations: 130.9 kB / 0.7921 GB, free: 85.31 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003958/1.075, allocations: 0.7287 MB / 0.7928 GB, free: 84.63 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003922/1.078, allocations: 3.684 MB / 0.7964 GB, free: 80.97 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04452/1.123, allocations: 26.74 MB / 0.8226 GB, free: 54.21 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.125/1.248, allocations: 121.5 MB / 0.9412 GB, free: 11.03 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02399/1.272, allocations: 8.098 MB / 0.9491 GB, free: 2.773 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004851/1.277, allocations: 3.879 MB / 0.9529 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01257/1.289, allocations: 14.68 MB / 0.9672 GB, free: 13.82 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.116e-05/1.289, allocations: 68.56 kB / 0.9673 GB, free: 13.74 MB / 0.67 GB Notification: Performance of pre-optimization done (n=277): time 5.621e-06/1.289, allocations: 0 / 0.9673 GB, free: 13.74 MB / 0.67 GB Notification: Performance of matching and sorting (n=338): time 0.5391/1.829, allocations: 56.33 MB / 1.022 GB, free: 232.4 MB / 0.6858 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/1.829, allocations: 217.9 kB / 1.023 GB, free: 232.2 MB / 0.6858 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01088/1.839, allocations: 10.59 MB / 1.033 GB, free: 228.4 MB / 0.6858 GB Notification: Performance of collectPreVariables (initialization): time 0.0005488/1.84, allocations: 83.8 kB / 1.033 GB, free: 228.3 MB / 0.6858 GB Notification: Performance of collectInitialEqns (initialization): time 0.004133/1.844, allocations: 11.24 MB / 1.044 GB, free: 220.4 MB / 0.6858 GB Notification: Performance of collectInitialBindings (initialization): time 0.001192/1.845, allocations: 1.511 MB / 1.045 GB, free: 219.3 MB / 0.6858 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003733/1.849, allocations: 3.818 MB / 1.049 GB, free: 217.4 MB / 0.6858 GB Notification: Performance of setup shared object (initialization): time 3.554e-05/1.849, allocations: 305.1 kB / 1.049 GB, free: 217.1 MB / 0.6858 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006463/1.856, allocations: 6.478 MB / 1.056 GB, free: 211.6 MB / 0.6858 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01011/1.866, allocations: 18.67 MB / 1.074 GB, free: 188.2 MB / 0.6858 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01828/1.884, allocations: 27.15 MB / 1.1 GB, free: 155.2 MB / 0.6858 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002475/1.884, allocations: 124 kB / 1.101 GB, free: 155.1 MB / 0.6858 GB Notification: Performance of matching and sorting (n=2332) (initialization): time 0.03064/1.915, allocations: 24.76 MB / 1.125 GB, free: 130.3 MB / 0.6858 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002395/1.915, allocations: 192 kB / 1.125 GB, free: 130.1 MB / 0.6858 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003418/1.915, allocations: 436.9 kB / 1.125 GB, free: 129.6 MB / 0.6858 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002522/1.918, allocations: 1.535 MB / 1.127 GB, free: 128.1 MB / 0.6858 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01029/1.928, allocations: 4.299 MB / 1.131 GB, free: 123.8 MB / 0.6858 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006798/1.935, allocations: 7.917 MB / 1.139 GB, free: 115.7 MB / 0.6858 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01061/1.946, allocations: 1.046 MB / 1.14 GB, free: 114.7 MB / 0.6858 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001796/1.947, allocations: 1.146 MB / 1.141 GB, free: 113.6 MB / 0.6858 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1988 * Number of states: 0 () * Number of discrete variables: 44 (sensor_world2.arrow.twoHeadedArrow,sensor_world2.arrow.headAtOrigin,sensor_world1.arrow.twoHeadedArrow,sensor_world1.arrow.headAtOrigin,sensor_frame_a2.arrow.twoHeadedArrow,sensor_frame_a2.arrow.headAtOrigin,sensor_frame_a1.arrow.twoHeadedArrow,sensor_frame_a1.arrow.headAtOrigin,sensor_world2.arrowColor[3],sensor_world2.arrowColor[2],sensor_world2.arrowColor[1],sensor_world1.arrowColor[3],sensor_world1.arrowColor[2],sensor_world1.arrowColor[1],sensor_frame_a2.arrowColor[3],sensor_frame_a2.arrowColor[2],sensor_frame_a2.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],rev1.cylinderColor[3],rev1.cylinderColor[2],rev1.cylinderColor[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 (2275): * Single equations (assignments): 2267 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008891/1.956, allocations: 7.719 MB / 1.148 GB, free: 105.8 MB / 0.6858 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001165/1.958, allocations: 0.8653 MB / 1.149 GB, free: 104.9 MB / 0.6858 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009693/1.967, allocations: 7.752 MB / 1.157 GB, free: 97.14 MB / 0.6858 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.414e-05/1.967, allocations: 43.33 kB / 1.157 GB, free: 97.11 MB / 0.6858 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.88e-05/1.967, allocations: 8 kB / 1.157 GB, free: 97.1 MB / 0.6858 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.21e-05/1.967, allocations: 15.94 kB / 1.157 GB, free: 97.08 MB / 0.6858 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03268/2, allocations: 23 MB / 1.179 GB, free: 73.92 MB / 0.6858 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.865e-05/2, allocations: 8.031 kB / 1.179 GB, free: 73.91 MB / 0.6858 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002568/2.003, allocations: 0.6201 MB / 1.18 GB, free: 73.29 MB / 0.6858 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002144/2.005, allocations: 0.9488 MB / 1.181 GB, free: 72.34 MB / 0.6858 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002933/2.005, allocations: 68.83 kB / 1.181 GB, free: 72.28 MB / 0.6858 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005547/2.011, allocations: 6.244 MB / 1.187 GB, free: 65.89 MB / 0.6858 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/2.011, allocations: 7.938 kB / 1.187 GB, free: 65.89 MB / 0.6858 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01266/2.023, allocations: 12.91 MB / 1.2 GB, free: 52.82 MB / 0.6858 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001581/2.025, allocations: 0.8115 MB / 1.201 GB, free: 51.99 MB / 0.6858 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001326/2.026, allocations: 55.98 kB / 1.201 GB, free: 51.93 MB / 0.6858 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003454/2.03, allocations: 351.5 kB / 1.201 GB, free: 51.59 MB / 0.6858 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000424/2.03, allocations: 201.5 kB / 1.201 GB, free: 51.39 MB / 0.6858 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002304/2.03, allocations: 104 kB / 1.201 GB, free: 51.29 MB / 0.6858 GB Notification: Performance of sorting global known variables: time 0.008039/2.038, allocations: 6.502 MB / 1.208 GB, free: 44.81 MB / 0.6858 GB Notification: Performance of sort global known variables: time 1e-07/2.038, allocations: 288 / 1.208 GB, free: 44.81 MB / 0.6858 GB Notification: Performance of remove unused functions: time 0.01196/2.05, allocations: 2.945 MB / 1.21 GB, free: 41.87 MB / 0.6858 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (rev.phi,rev.w,rev1.phi,rev1.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 (294): * Single equations (assignments): 286 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01327/2.064, allocations: 13.78 MB / 1.224 GB, free: 27.94 MB / 0.6858 GB Notification: Performance of simCode: created initialization part: time 0.01583/2.079, allocations: 14.01 MB / 1.238 GB, free: 13.98 MB / 0.6858 GB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/2.079, allocations: 4.438 kB / 1.238 GB, free: 13.98 MB / 0.6858 GB Notification: Performance of simCode: created simulation system equations: time 0.003261/2.083, allocations: 3.296 MB / 1.241 GB, free: 10.67 MB / 0.6858 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005937/2.089, allocations: 1.568 MB / 1.242 GB, free: 9.152 MB / 0.6858 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3731/2.462, allocations: 156.7 MB / 1.395 GB, free: 86.3 MB / 0.6858 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01541/2.477, allocations: 10.29 MB / 1.405 GB, free: 76 MB / 0.6858 GB Notification: Performance of simCode: alias equations: time 0.0102/2.487, allocations: 5.444 MB / 1.411 GB, free: 70.55 MB / 0.6858 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007162/2.494, allocations: 6.658 MB / 1.417 GB, free: 63.89 MB / 0.6858 GB Notification: Performance of SimCode: time 1.072e-06/2.494, allocations: 0 / 1.417 GB, free: 63.89 MB / 0.6858 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4344/2.929, allocations: 171.5 MB / 1.585 GB, free: 212.9 MB / 0.7327 GB Notification: Performance of buildModelFMU: Generate platform static: time 104.6/107.5, allocations: 2.234 kB / 1.585 GB, free: 212.9 MB / 0.7327 GB " [Timeout remaining time 552] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_AbsoluteSensor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_AbsoluteSensor.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 110.23612758799572]