Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.RelativeSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor") translateModel(ModelicaTest.MultiBody.Sensors.RelativeSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006903/0.006903, allocations: 102 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001606/0.001607, allocations: 187.9 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3126/0.3126, allocations: 38 MB / 307.9 MB, free: 10.18 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 59.91 kB / 433 MB, free: 5.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3143, allocations: 56.48 MB / 489.5 MB, free: 19.87 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.RelativeSensor): time 0.02321/0.3376, allocations: 27.32 MB / 0.5047 GB, free: 304 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02404/0.3617, allocations: 8.764 MB / 0.5133 GB, free: 9.957 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01137/0.3731, allocations: 228.7 kB / 0.5135 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03967/0.4128, allocations: 22.1 MB / 0.5351 GB, free: 8.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01315/0.426, allocations: 4.214 MB / 0.5392 GB, free: 4.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01143/0.4375, allocations: 4.826 MB / 0.5439 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0186/0.4561, allocations: 11.19 MB / 0.5548 GB, free: 4.691 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04746/0.5036, allocations: 32.8 MB / 0.5868 GB, free: 3.684 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01578/0.5194, allocations: 7.597 MB / 0.5943 GB, free: 12.07 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01898/0.5384, allocations: 9.554 MB / 0.6036 GB, free: 2.492 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009153/0.5476, allocations: 2.328 MB / 0.6059 GB, free: 168 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009999/0.5576, allocations: 3.634 MB / 0.6094 GB, free: 12.53 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01478/0.5724, allocations: 9.071 MB / 0.6183 GB, free: 3.438 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01784/0.5903, allocations: 10.28 MB / 0.6283 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.5497/1.14, allocations: 34.23 MB / 0.6617 GB, free: 63.61 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/1.14, allocations: 0.625 kB / 0.6617 GB, free: 63.61 MB / 0.4982 GB Notification: Performance of FrontEnd: time 2.114e-06/1.14, allocations: 0 / 0.6617 GB, free: 63.61 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.001452/1.142, allocations: 1.75 kB / 0.6617 GB, free: 63.61 MB / 0.4982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5965 * Number of variables: 5965 Notification: Performance of Generate backend data structure: time 0.0855/1.227, allocations: 19.16 MB / 0.6805 GB, free: 54.71 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/1.227, allocations: 13.48 kB / 0.6805 GB, free: 54.71 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03724/1.264, allocations: 4.658 MB / 0.685 GB, free: 52.52 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03135/1.296, allocations: 9.533 MB / 0.6943 GB, free: 47.28 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001408/1.297, allocations: 1.315 MB / 0.6956 GB, free: 46.73 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01288/1.31, allocations: 1.733 MB / 0.6973 GB, free: 46.19 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1132/1.423, allocations: 40.96 MB / 0.7373 GB, free: 11.74 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000785/1.424, allocations: 97.11 kB / 0.7374 GB, free: 11.68 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01064/1.435, allocations: 0.7569 MB / 0.7381 GB, free: 10.99 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005831/1.441, allocations: 4.173 MB / 0.7422 GB, free: 6.867 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08505/1.526, allocations: 33.6 MB / 0.775 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6119/2.138, allocations: 118.4 MB / 0.8906 GB, free: 161.3 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0713/2.209, allocations: 22.05 MB / 0.9122 GB, free: 158.9 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00855/2.218, allocations: 7.066 MB / 0.9191 GB, free: 158.9 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05694/2.275, allocations: 27.9 MB / 0.9463 GB, free: 149.4 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001081/2.275, allocations: 80.25 kB / 0.9464 GB, free: 149.3 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=372): time 1.143e-05/2.275, allocations: 0 / 0.9464 GB, free: 149.3 MB / 0.6232 GB Notification: Performance of matching and sorting (n=486): time 1.381/3.656, allocations: 325.1 MB / 1.264 GB, free: 145.6 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/3.656, allocations: 282.6 kB / 1.264 GB, free: 145.3 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01822/3.675, allocations: 10.21 MB / 1.274 GB, free: 135.1 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.002619/3.677, allocations: 107.3 kB / 1.274 GB, free: 135 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.006548/3.684, allocations: 10.77 MB / 1.285 GB, free: 124.2 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.003827/3.688, allocations: 1.893 MB / 1.287 GB, free: 122.3 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00934/3.697, allocations: 3.785 MB / 1.29 GB, free: 118.5 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.777e-05/3.697, allocations: 303.8 kB / 1.291 GB, free: 118.2 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01991/3.717, allocations: 16.26 MB / 1.306 GB, free: 102 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02801/3.745, allocations: 26.91 MB / 1.333 GB, free: 69.8 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4479/4.193, allocations: 45.24 MB / 1.377 GB, free: 211.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004496/4.194, allocations: 107.5 kB / 1.377 GB, free: 211.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2243) (initialization): time 0.07818/4.272, allocations: 43.39 MB / 1.419 GB, free: 196.4 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002405/4.272, allocations: 166.8 kB / 1.42 GB, free: 196.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005898/4.273, allocations: 376.1 kB / 1.42 GB, free: 196.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003436/4.276, allocations: 1.47 MB / 1.421 GB, free: 196.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02177/4.298, allocations: 5.28 MB / 1.426 GB, free: 195.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008554/4.306, allocations: 8.385 MB / 1.435 GB, free: 188.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02444/4.331, allocations: 2.134 MB / 1.437 GB, free: 187.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005404/4.336, allocations: 1.031 MB / 1.438 GB, free: 186.2 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1713 * Number of states: 0 () * Number of discrete variables: 48 (relativeSensor.arrowColor[3],relativeSensor.arrowColor[2],relativeSensor.arrowColor[1],relative_b1.arrowColor[3],relative_b1.arrowColor[2],relative_b1.arrowColor[1],relative_b2.arrowColor[3],relative_b2.arrowColor[2],relative_b2.arrowColor[1],relative_a2.arrowColor[3],relative_a2.arrowColor[2],relative_a2.arrowColor[1],relative_a1.arrowColor[3],relative_a1.arrowColor[2],relative_a1.arrowColor[1],BodyBox2.color[3],BodyBox2.color[2],BodyBox2.color[1],BodyBox2.body.sphereColor[3],BodyBox2.body.sphereColor[2],BodyBox2.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (2187): * Single equations (assignments): 2177 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,10,100.0%), (2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0209/4.357, allocations: 7.843 MB / 1.445 GB, free: 179.3 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002473/4.36, allocations: 0.8664 MB / 1.446 GB, free: 178.9 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04218/4.402, allocations: 31.22 MB / 1.477 GB, free: 152 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001376/4.402, allocations: 87.78 kB / 1.477 GB, free: 151.9 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.806e-05/4.402, allocations: 8 kB / 1.477 GB, free: 151.9 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001065/4.402, allocations: 26.34 kB / 1.477 GB, free: 151.9 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1108/4.513, allocations: 73.36 MB / 1.549 GB, free: 76.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.289e-05/4.513, allocations: 4 kB / 1.549 GB, free: 76.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01214/4.525, allocations: 2.043 MB / 1.551 GB, free: 74.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00273/4.528, allocations: 0.9613 MB / 1.551 GB, free: 73.05 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002444/4.531, allocations: 86.41 kB / 1.552 GB, free: 72.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006436/4.537, allocations: 6.903 MB / 1.558 GB, free: 65.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/4.537, allocations: 8.062 kB / 1.558 GB, free: 65.82 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4727/5.01, allocations: 51.86 MB / 1.609 GB, free: 220.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01225/5.022, allocations: 3.987 MB / 1.613 GB, free: 220.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005943/5.028, allocations: 75.95 kB / 1.613 GB, free: 220.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01544/5.043, allocations: 1.571 MB / 1.614 GB, free: 220.1 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003873/5.047, allocations: 255.3 kB / 1.615 GB, free: 220.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001765/5.049, allocations: 129.6 kB / 1.615 GB, free: 220.1 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.02337/5.073, allocations: 6.332 MB / 1.621 GB, free: 218.2 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.92e-07/5.073, allocations: 4.594 kB / 1.621 GB, free: 218.2 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.03522/5.108, allocations: 4.341 MB / 1.625 GB, free: 217.8 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,revolute1.phi,revolute1.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 (444): * Single equations (assignments): 434 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00502/5.113, allocations: 304.5 kB / 1.626 GB, free: 217.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.054/5.167, allocations: 35.82 MB / 1.66 GB, free: 201.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/5.167, allocations: 4.438 kB / 1.661 GB, free: 201.2 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0215/5.189, allocations: 15.25 MB / 1.675 GB, free: 187.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01586/5.204, allocations: 1.507 MB / 1.677 GB, free: 186.2 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09479/5.299, allocations: 48 MB / 1.724 GB, free: 143.1 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03778/5.337, allocations: 11.02 MB / 1.735 GB, free: 132.8 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0323/5.37, allocations: 7.347 MB / 1.742 GB, free: 125.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007854/5.377, allocations: 0.6283 MB / 1.742 GB, free: 124.8 MB / 0.6544 GB Notification: Performance of SimCode: time 2.194e-06/5.377, allocations: 0 / 1.742 GB, free: 124.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.6145/5.992, allocations: 163.6 MB / 1.902 GB, free: 170.8 MB / 0.6544 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor.pipe 2>&1)