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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001291/0.001291, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001364/0.001364, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 247 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2237/0.2237, allocations: 46.12 MB / 344.4 MB, free: 11.44 MB / 286.1 MB 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.003555/0.003555, allocations: 75.88 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3751, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.02854/0.4037, allocations: 22.81 MB / 0.5529 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02/0.4238, allocations: 7.96 MB / 0.5607 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007125/0.4309, allocations: 195.6 kB / 0.5608 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04017/0.4712, allocations: 22.12 MB / 0.5824 GB, free: 12.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01106/0.4823, allocations: 3.494 MB / 0.5859 GB, free: 8.953 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00974/0.4921, allocations: 4.027 MB / 0.5898 GB, free: 4.918 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01727/0.5094, allocations: 9.661 MB / 0.5992 GB, free: 11.23 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05197/0.5614, allocations: 32.14 MB / 0.6306 GB, free: 10.92 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01312/0.5746, allocations: 6.927 MB / 0.6374 GB, free: 3.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01499/0.5896, allocations: 8.685 MB / 0.6459 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.007131/0.5968, allocations: 2.215 MB / 0.648 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01035/0.6072, allocations: 3.447 MB / 0.6514 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.01289/0.6201, allocations: 8.28 MB / 0.6595 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.01903/0.6392, allocations: 9.668 MB / 0.6689 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.04484/0.6841, allocations: 32.83 MB / 0.701 GB, free: 2.664 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.6841, allocations: 4 kB / 0.701 GB, free: 2.66 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.665e-06/0.6841, allocations: 0 / 0.701 GB, free: 2.66 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.001201/0.6853, allocations: 0 / 0.701 GB, free: 2.66 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.0545/0.7399, allocations: 17.26 MB / 0.7178 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.7399, allocations: 8.031 kB / 0.7179 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.5207/1.261, allocations: 2.781 MB / 0.7206 GB, free: 148.1 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09973/1.36, allocations: 8.373 MB / 0.7287 GB, free: 145.8 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01822/1.379, allocations: 8.129 MB / 0.7367 GB, free: 141.6 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001105/1.38, allocations: 1.242 MB / 0.7379 GB, free: 140.5 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005685/1.386, allocations: 1.631 MB / 0.7395 GB, free: 138.9 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08001/1.466, allocations: 35.93 MB / 0.7746 GB, free: 101.3 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001198/1.467, allocations: 123 kB / 0.7747 GB, free: 101.2 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006402/1.473, allocations: 0.7316 MB / 0.7754 GB, free: 100.5 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004558/1.478, allocations: 3.686 MB / 0.779 GB, free: 96.88 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05185/1.53, allocations: 26.75 MB / 0.8051 GB, free: 70.12 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1542/1.684, allocations: 121.5 MB / 0.9238 GB, free: 10.98 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02649/1.711, allocations: 8.29 MB / 0.9319 GB, free: 2.531 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006527/1.717, allocations: 4.085 MB / 0.9359 GB, free: 14.44 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01475/1.732, allocations: 14.67 MB / 0.9502 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001284/1.732, allocations: 64.56 kB / 0.9503 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=277): time 1.093e-05/1.732, allocations: 0 / 0.9503 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of matching and sorting (n=338): time 0.6717/2.404, allocations: 56.34 MB / 1.005 GB, free: 227.5 MB / 0.6702 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/2.404, allocations: 220.6 kB / 1.005 GB, free: 227.2 MB / 0.6702 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01757/2.422, allocations: 10.58 MB / 1.016 GB, free: 223.5 MB / 0.6702 GB Notification: Performance of collectPreVariables (initialization): time 0.0007479/2.422, allocations: 78.14 kB / 1.016 GB, free: 223.4 MB / 0.6702 GB Notification: Performance of collectInitialEqns (initialization): time 0.006338/2.429, allocations: 11.25 MB / 1.027 GB, free: 215.4 MB / 0.6702 GB Notification: Performance of collectInitialBindings (initialization): time 0.002134/2.431, allocations: 1.502 MB / 1.028 GB, free: 214.4 MB / 0.6702 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009322/2.44, allocations: 3.81 MB / 1.032 GB, free: 212.4 MB / 0.6702 GB Notification: Performance of setup shared object (initialization): time 5.277e-05/2.44, allocations: 308.9 kB / 1.032 GB, free: 212.1 MB / 0.6702 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009337/2.45, allocations: 6.478 MB / 1.039 GB, free: 207.5 MB / 0.6702 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01551/2.465, allocations: 18.68 MB / 1.057 GB, free: 184 MB / 0.6702 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02228/2.488, allocations: 27.15 MB / 1.083 GB, free: 150.7 MB / 0.6702 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003954/2.488, allocations: 124 kB / 1.084 GB, free: 150.6 MB / 0.6702 GB Notification: Performance of matching and sorting (n=2332) (initialization): time 0.03834/2.526, allocations: 24.78 MB / 1.108 GB, free: 125.8 MB / 0.6702 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005547/2.527, allocations: 190.5 kB / 1.108 GB, free: 125.6 MB / 0.6702 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006466/2.528, allocations: 436 kB / 1.108 GB, free: 125.2 MB / 0.6702 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003478/2.531, allocations: 1.543 MB / 1.11 GB, free: 123.6 MB / 0.6702 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01197/2.543, allocations: 4.3 MB / 1.114 GB, free: 119.3 MB / 0.6702 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008756/2.552, allocations: 7.913 MB / 1.122 GB, free: 111.3 MB / 0.6702 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01283/2.565, allocations: 1.05 MB / 1.123 GB, free: 110.2 MB / 0.6702 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003173/2.568, allocations: 1.141 MB / 1.124 GB, free: 109.1 MB / 0.6702 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.01286/2.581, allocations: 7.715 MB / 1.131 GB, free: 101.3 MB / 0.6702 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001797/2.583, allocations: 0.8646 MB / 1.132 GB, free: 100.5 MB / 0.6702 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01203/2.595, allocations: 7.768 MB / 1.14 GB, free: 92.64 MB / 0.6702 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.921e-05/2.595, allocations: 43.83 kB / 1.14 GB, free: 92.6 MB / 0.6702 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.331e-05/2.595, allocations: 7.938 kB / 1.14 GB, free: 92.6 MB / 0.6702 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-05/2.595, allocations: 15.95 kB / 1.14 GB, free: 92.58 MB / 0.6702 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04249/2.637, allocations: 23.02 MB / 1.162 GB, free: 69.41 MB / 0.6702 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.349e-05/2.637, allocations: 8.062 kB / 1.162 GB, free: 69.4 MB / 0.6702 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002868/2.64, allocations: 0.624 MB / 1.163 GB, free: 68.77 MB / 0.6702 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002497/2.643, allocations: 0.9468 MB / 1.164 GB, free: 67.82 MB / 0.6702 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005669/2.643, allocations: 71.92 kB / 1.164 GB, free: 67.75 MB / 0.6702 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006336/2.65, allocations: 6.246 MB / 1.17 GB, free: 61.37 MB / 0.6702 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/2.65, allocations: 4 kB / 1.17 GB, free: 61.37 MB / 0.6702 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01601/2.666, allocations: 12.92 MB / 1.183 GB, free: 48.29 MB / 0.6702 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002198/2.668, allocations: 0.8115 MB / 1.184 GB, free: 47.46 MB / 0.6702 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002047/2.67, allocations: 55.09 kB / 1.184 GB, free: 47.41 MB / 0.6702 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004518/2.675, allocations: 351.5 kB / 1.184 GB, free: 47.06 MB / 0.6702 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001043/2.676, allocations: 201.2 kB / 1.184 GB, free: 46.87 MB / 0.6702 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006404/2.676, allocations: 108 kB / 1.184 GB, free: 46.76 MB / 0.6702 GB Notification: Performance of sorting global known variables: time 0.01237/2.689, allocations: 6.498 MB / 1.191 GB, free: 40.29 MB / 0.6702 GB Notification: Performance of sort global known variables: time 4.31e-07/2.689, allocations: 0 / 1.191 GB, free: 40.29 MB / 0.6702 GB Notification: Performance of remove unused functions: time 0.0143/2.703, allocations: 2.945 MB / 1.193 GB, free: 37.34 MB / 0.6702 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.01713/2.72, allocations: 13.79 MB / 1.207 GB, free: 23.41 MB / 0.6702 GB Notification: Performance of simCode: created initialization part: time 0.01965/2.74, allocations: 14.62 MB / 1.221 GB, free: 8.848 MB / 0.6702 GB Notification: Performance of simCode: created event and clocks part: time 1.577e-05/2.74, allocations: 448 / 1.221 GB, free: 8.844 MB / 0.6702 GB Notification: Performance of simCode: created simulation system equations: time 0.004734/2.745, allocations: 3.648 MB / 1.225 GB, free: 5.184 MB / 0.6702 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2668/3.012, allocations: 1.576 MB / 1.226 GB, free: 224.6 MB / 0.6702 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1951/3.207, allocations: 156.4 MB / 1.379 GB, free: 74.9 MB / 0.6702 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02038/3.227, allocations: 10.29 MB / 1.389 GB, free: 64.59 MB / 0.6702 GB Notification: Performance of simCode: alias equations: time 0.01343/3.241, allocations: 5.441 MB / 1.394 GB, free: 59.15 MB / 0.6702 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009619/3.25, allocations: 6.658 MB / 1.401 GB, free: 52.49 MB / 0.6702 GB Notification: Performance of SimCode: time 1.213e-06/3.25, allocations: 0 / 1.401 GB, free: 52.49 MB / 0.6702 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5271/3.777, allocations: 178 MB / 1.575 GB, free: 171.6 MB / 0.7014 GB Notification: Performance of buildModelFMU: Generate platform static: time 135.8/139.6, allocations: 15.75 kB / 1.575 GB, free: 171.6 MB / 0.7014 GB (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)