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.001125/0.001125, allocations: 109 kB / 19.74 MB, free: 2.445 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.001259/0.001259, allocations: 215.9 kB / 22.92 MB, free: 5.195 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.28/1.28, allocations: 230.2 MB / 256.2 MB, free: 8.586 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.1992/0.1992, allocations: 46.89 MB / 359.3 MB, free: 5.047 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.002084/0.002084, allocations: 79.86 kB / 0.494 GB, free: 9.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2621, allocations: 65.98 MB / 0.5584 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.02375/0.2859, allocations: 22.93 MB / 0.5808 GB, free: 14.15 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01566/0.3016, allocations: 8.002 MB / 0.5886 GB, free: 6.121 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004094/0.3057, allocations: 195.6 kB / 0.5888 GB, free: 5.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03681/0.3425, allocations: 22.4 MB / 0.6107 GB, free: 15.46 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008602/0.3511, allocations: 3.544 MB / 0.6141 GB, free: 11.9 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008073/0.3591, allocations: 4.109 MB / 0.6182 GB, free: 7.781 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01347/0.3726, allocations: 9.661 MB / 0.6276 GB, free: 14.1 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02593/0.3985, allocations: 20.31 MB / 0.6474 GB, free: 9.605 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008122/0.4067, allocations: 6.959 MB / 0.6542 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01103/0.4177, allocations: 9.059 MB / 0.6631 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.003015/0.4207, allocations: 2.215 MB / 0.6652 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0049/0.4256, allocations: 3.509 MB / 0.6687 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.007185/0.4328, allocations: 8.45 MB / 0.6769 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.01034/0.4431, allocations: 9.656 MB / 0.6863 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.03289/0.476, allocations: 32.84 MB / 0.7184 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.476, allocations: 4 kB / 0.7184 GB, free: 0.707 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.733e-06/0.476, allocations: 0 / 0.7184 GB, free: 0.707 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0006393/0.4767, allocations: 0 / 0.7184 GB, free: 0.707 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.4031/0.8798, allocations: 17.26 MB / 0.7353 GB, free: 135.5 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.8798, allocations: 10.17 kB / 0.7353 GB, free: 135.5 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007364/0.8872, allocations: 2.781 MB / 0.738 GB, free: 134.4 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0868/0.974, allocations: 8.37 MB / 0.7462 GB, free: 132.1 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01371/0.9877, allocations: 8.124 MB / 0.7541 GB, free: 125.7 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008002/0.9885, allocations: 1.245 MB / 0.7553 GB, free: 124.5 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004279/0.9928, allocations: 1.635 MB / 0.7569 GB, free: 123 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05887/1.052, allocations: 35.92 MB / 0.792 GB, free: 85.36 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005653/1.052, allocations: 134.9 kB / 0.7921 GB, free: 85.23 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003533/1.056, allocations: 0.7303 MB / 0.7928 GB, free: 84.55 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003865/1.06, allocations: 3.685 MB / 0.7964 GB, free: 80.89 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04694/1.107, allocations: 26.75 MB / 0.8226 GB, free: 54.12 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1273/1.234, allocations: 121.5 MB / 0.9412 GB, free: 10.97 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02392/1.258, allocations: 8.106 MB / 0.9491 GB, free: 2.711 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005025/1.263, allocations: 3.883 MB / 0.9529 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01314/1.276, allocations: 14.68 MB / 0.9672 GB, free: 13.76 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.505e-05/1.276, allocations: 68.5 kB / 0.9673 GB, free: 13.68 MB / 0.67 GB Notification: Performance of pre-optimization done (n=277): time 6.752e-06/1.276, allocations: 0 / 0.9673 GB, free: 13.68 MB / 0.67 GB Notification: Performance of matching and sorting (n=338): time 0.5302/1.806, allocations: 56.34 MB / 1.022 GB, free: 232.8 MB / 0.6858 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.93e-05/1.806, allocations: 215.2 kB / 1.023 GB, free: 232.5 MB / 0.6858 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01085/1.817, allocations: 10.59 MB / 1.033 GB, free: 228.8 MB / 0.6858 GB Notification: Performance of collectPreVariables (initialization): time 0.000526/1.818, allocations: 77.27 kB / 1.033 GB, free: 228.7 MB / 0.6858 GB Notification: Performance of collectInitialEqns (initialization): time 0.004446/1.822, allocations: 11.25 MB / 1.044 GB, free: 220.7 MB / 0.6858 GB Notification: Performance of collectInitialBindings (initialization): time 0.001205/1.823, allocations: 1.501 MB / 1.045 GB, free: 219.7 MB / 0.6858 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003934/1.827, allocations: 3.823 MB / 1.049 GB, free: 217.5 MB / 0.6858 GB Notification: Performance of setup shared object (initialization): time 3.397e-05/1.827, allocations: 309 kB / 1.049 GB, free: 217.2 MB / 0.6858 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006193/1.833, allocations: 6.473 MB / 1.056 GB, free: 211.7 MB / 0.6858 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009413/1.843, allocations: 18.67 MB / 1.074 GB, free: 188.3 MB / 0.6858 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01758/1.86, allocations: 27.15 MB / 1.1 GB, free: 155.1 MB / 0.6858 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002178/1.861, allocations: 128 kB / 1.101 GB, free: 155 MB / 0.6858 GB Notification: Performance of matching and sorting (n=2332) (initialization): time 0.03141/1.892, allocations: 24.76 MB / 1.125 GB, free: 130.2 MB / 0.6858 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003491/1.892, allocations: 192 kB / 1.125 GB, free: 130 MB / 0.6858 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004308/1.893, allocations: 436 kB / 1.125 GB, free: 129.6 MB / 0.6858 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002935/1.896, allocations: 1.539 MB / 1.127 GB, free: 128.1 MB / 0.6858 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01121/1.907, allocations: 4.3 MB / 1.131 GB, free: 123.8 MB / 0.6858 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0075/1.914, allocations: 7.911 MB / 1.139 GB, free: 115.7 MB / 0.6858 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01126/1.926, allocations: 1.05 MB / 1.14 GB, free: 114.7 MB / 0.6858 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002297/1.928, allocations: 1.132 MB / 1.141 GB, free: 113.5 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.009761/1.938, allocations: 7.725 MB / 1.148 GB, free: 105.8 MB / 0.6858 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001228/1.939, allocations: 0.8653 MB / 1.149 GB, free: 104.9 MB / 0.6858 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009833/1.949, allocations: 7.757 MB / 1.157 GB, free: 97.1 MB / 0.6858 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.535e-05/1.949, allocations: 36 kB / 1.157 GB, free: 97.07 MB / 0.6858 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/1.949, allocations: 4 kB / 1.157 GB, free: 97.06 MB / 0.6858 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.503e-05/1.949, allocations: 15.94 kB / 1.157 GB, free: 97.05 MB / 0.6858 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03084/1.98, allocations: 23.01 MB / 1.179 GB, free: 73.88 MB / 0.6858 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.541e-05/1.98, allocations: 8 kB / 1.179 GB, free: 73.87 MB / 0.6858 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002466/1.982, allocations: 0.6206 MB / 1.18 GB, free: 73.25 MB / 0.6858 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002123/1.984, allocations: 0.9547 MB / 1.181 GB, free: 72.29 MB / 0.6858 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002794/1.985, allocations: 59.75 kB / 1.181 GB, free: 72.24 MB / 0.6858 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005475/1.99, allocations: 6.247 MB / 1.187 GB, free: 65.86 MB / 0.6858 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.99, allocations: 4 kB / 1.187 GB, free: 65.85 MB / 0.6858 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01304/2.003, allocations: 12.92 MB / 1.2 GB, free: 52.79 MB / 0.6858 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001751/2.005, allocations: 0.8127 MB / 1.201 GB, free: 51.95 MB / 0.6858 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001269/2.006, allocations: 56 kB / 1.201 GB, free: 51.89 MB / 0.6858 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003391/2.01, allocations: 359.3 kB / 1.201 GB, free: 51.55 MB / 0.6858 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005358/2.01, allocations: 189.7 kB / 1.201 GB, free: 51.36 MB / 0.6858 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002364/2.01, allocations: 104 kB / 1.201 GB, free: 51.26 MB / 0.6858 GB Notification: Performance of sorting global known variables: time 0.008395/2.019, allocations: 6.506 MB / 1.208 GB, free: 44.77 MB / 0.6858 GB Notification: Performance of sort global known variables: time 1.6e-07/2.019, allocations: 4 kB / 1.208 GB, free: 44.77 MB / 0.6858 GB Notification: Performance of remove unused functions: time 0.01247/2.031, allocations: 2.937 MB / 1.21 GB, free: 41.84 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.01382/2.045, allocations: 13.77 MB / 1.224 GB, free: 27.91 MB / 0.6858 GB Notification: Performance of simCode: created initialization part: time 0.01638/2.061, allocations: 14.02 MB / 1.238 GB, free: 13.95 MB / 0.6858 GB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/2.061, allocations: 4.438 kB / 1.238 GB, free: 13.95 MB / 0.6858 GB Notification: Performance of simCode: created simulation system equations: time 0.003469/2.065, allocations: 3.295 MB / 1.241 GB, free: 10.64 MB / 0.6858 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006061/2.071, allocations: 1.578 MB / 1.242 GB, free: 9.113 MB / 0.6858 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3563/2.427, allocations: 156.7 MB / 1.395 GB, free: 86.46 MB / 0.6858 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01352/2.441, allocations: 10.29 MB / 1.405 GB, free: 76.16 MB / 0.6858 GB Notification: Performance of simCode: alias equations: time 0.009443/2.45, allocations: 5.441 MB / 1.411 GB, free: 70.71 MB / 0.6858 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006543/2.457, allocations: 6.662 MB / 1.417 GB, free: 64.05 MB / 0.6858 GB Notification: Performance of SimCode: time 1.032e-06/2.457, allocations: 0 / 1.417 GB, free: 64.05 MB / 0.6858 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4422/2.899, allocations: 171.5 MB / 1.585 GB, free: 213.2 MB / 0.7327 GB Notification: Performance of buildModelFMU: Generate platform static: time 101.4/104.3, allocations: 5.828 kB / 1.585 GB, free: 213.2 MB / 0.7327 GB " [Timeout remaining time 556] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 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: 106.89252678799676]