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.001844/0.001844, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002662/0.002662, allocations: 192.9 kB / 16.14 MB, free: 6.703 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.708/1.708, allocations: 205.1 MB / 222 MB, free: 4.77 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.3317/0.3317, allocations: 37.98 MB / 307.3 MB, free: 10.12 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.001977/0.001977, allocations: 59.91 kB / 374.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.149, allocations: 56.47 MB / 431 MB, free: 7.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.RelativeSensor): time 0.307/0.4561, allocations: 93.53 MB / 0.5122 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05801/0.5142, allocations: 19.71 MB / 0.5315 GB, free: 13.87 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03164/0.5459, allocations: 434.3 kB / 0.5319 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04096/0.5869, allocations: 22.44 MB / 0.5538 GB, free: 15.36 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01631/0.6033, allocations: 3.955 MB / 0.5577 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01345/0.6168, allocations: 4.714 MB / 0.5623 GB, free: 6.664 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02872/0.6456, allocations: 19.18 MB / 0.581 GB, free: 3.461 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05272/0.6984, allocations: 32.5 MB / 0.6128 GB, free: 2.801 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0167/0.7152, allocations: 6.528 MB / 0.6191 GB, free: 12.26 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01958/0.7348, allocations: 9.983 MB / 0.6289 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006531/0.7413, allocations: 1.656 MB / 0.6305 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2968/1.038, allocations: 3.075 MB / 0.6335 GB, free: 44.07 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01062/1.049, allocations: 8.464 MB / 0.6418 GB, free: 44.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02069/1.07, allocations: 9.583 MB / 0.6511 GB, free: 41.69 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04169/1.111, allocations: 33.17 MB / 0.6835 GB, free: 35.59 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.111, allocations: 2.156 kB / 0.6835 GB, free: 35.59 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.412e-06/1.111, allocations: 0 / 0.6835 GB, free: 35.59 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001611/1.113, allocations: 0 / 0.6835 GB, free: 35.59 MB / 494.1 MB 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.0741/1.187, allocations: 19.16 MB / 0.7022 GB, free: 24 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/1.187, allocations: 7.875 kB / 0.7022 GB, free: 24 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0344/1.222, allocations: 4.658 MB / 0.7068 GB, free: 21.78 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02527/1.247, allocations: 9.447 MB / 0.716 GB, free: 16.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001096/1.248, allocations: 1.316 MB / 0.7173 GB, free: 16.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01039/1.258, allocations: 1.738 MB / 0.719 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1144/1.373, allocations: 40.95 MB / 0.759 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001059/1.374, allocations: 101.9 kB / 0.7591 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01154/1.386, allocations: 0.756 MB / 0.7598 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007614/1.393, allocations: 4.169 MB / 0.7639 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08535/1.479, allocations: 33.61 MB / 0.7967 GB, free: 1.402 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4332/1.912, allocations: 119.3 MB / 0.9132 GB, free: 157.8 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05593/1.968, allocations: 22.04 MB / 0.9347 GB, free: 153.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008321/1.976, allocations: 7.072 MB / 0.9416 GB, free: 150.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04148/2.018, allocations: 27.91 MB / 0.9689 GB, free: 136.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.428e-05/2.018, allocations: 82.8 kB / 0.969 GB, free: 136.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=372): time 7.844e-06/2.018, allocations: 0 / 0.969 GB, free: 136.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=486): time 1.511/3.528, allocations: 325.1 MB / 1.286 GB, free: 90.58 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.858e-05/3.529, allocations: 278.6 kB / 1.287 GB, free: 90.25 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01743/3.546, allocations: 10.22 MB / 1.297 GB, free: 80.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.002259/3.548, allocations: 103.6 kB / 1.297 GB, free: 79.93 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.005944/3.554, allocations: 10.77 MB / 1.307 GB, free: 69.17 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.003731/3.558, allocations: 1.901 MB / 1.309 GB, free: 67.29 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01452/3.573, allocations: 3.781 MB / 1.313 GB, free: 63.49 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.85e-05/3.573, allocations: 305.1 kB / 1.313 GB, free: 63.19 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02472/3.597, allocations: 16.26 MB / 1.329 GB, free: 46.91 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4071/4.005, allocations: 26.91 MB / 1.355 GB, free: 198.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07457/4.079, allocations: 45.24 MB / 1.399 GB, free: 169.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0008735/4.08, allocations: 107.9 kB / 1.4 GB, free: 169.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2243) (initialization): time 0.09432/4.174, allocations: 43.4 MB / 1.442 GB, free: 145.6 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0011/4.176, allocations: 171.4 kB / 1.442 GB, free: 145.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001389/4.177, allocations: 372 kB / 1.442 GB, free: 145.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004581/4.182, allocations: 1.479 MB / 1.444 GB, free: 143.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02564/4.207, allocations: 5.276 MB / 1.449 GB, free: 139.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/4.218, allocations: 7.815 MB / 1.457 GB, free: 132.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02561/4.243, allocations: 2.129 MB / 1.459 GB, free: 131.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0105/4.254, allocations: 1.03 MB / 1.46 GB, free: 130.3 MB / 0.5919 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.03337/4.287, allocations: 7.84 MB / 1.467 GB, free: 123.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005225/4.292, allocations: 0.8662 MB / 1.468 GB, free: 123 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0603/4.353, allocations: 31.22 MB / 1.499 GB, free: 96.04 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001768/4.353, allocations: 98.86 kB / 1.499 GB, free: 95.96 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-05/4.353, allocations: 4.984 kB / 1.499 GB, free: 95.95 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001625/4.353, allocations: 26.31 kB / 1.499 GB, free: 95.95 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5989/4.952, allocations: 73.54 MB / 1.571 GB, free: 192.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.063e-05/4.952, allocations: 3.469 kB / 1.571 GB, free: 192.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01484/4.967, allocations: 2.047 MB / 1.573 GB, free: 192.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003239/4.97, allocations: 0.9642 MB / 1.574 GB, free: 192.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003292/4.974, allocations: 84.53 kB / 1.574 GB, free: 192.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007777/4.981, allocations: 6.464 MB / 1.58 GB, free: 190.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/4.981, allocations: 11.19 kB / 1.58 GB, free: 190.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.086/5.067, allocations: 51.85 MB / 1.631 GB, free: 168.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01091/5.078, allocations: 3.989 MB / 1.635 GB, free: 167.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005166/5.084, allocations: 76.25 kB / 1.635 GB, free: 167.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01258/5.096, allocations: 1.564 MB / 1.636 GB, free: 167.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003179/5.1, allocations: 257.3 kB / 1.636 GB, free: 167.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001892/5.101, allocations: 132.7 kB / 1.637 GB, free: 167.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.02169/5.123, allocations: 6.331 MB / 1.643 GB, free: 164.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.002e-06/5.123, allocations: 0 / 1.643 GB, free: 164.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.02969/5.153, allocations: 4.339 MB / 1.647 GB, free: 163.6 MB / 0.5919 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.004005/5.157, allocations: 319.2 kB / 1.647 GB, free: 163.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.05886/5.216, allocations: 35.77 MB / 1.682 GB, free: 131.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.87e-05/5.216, allocations: 2.312 kB / 1.682 GB, free: 131.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.02252/5.238, allocations: 15.26 MB / 1.697 GB, free: 117.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0202/5.259, allocations: 1.392 MB / 1.698 GB, free: 116.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1166/5.375, allocations: 56.56 MB / 1.754 GB, free: 60.55 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03928/5.415, allocations: 11.03 MB / 1.764 GB, free: 49.48 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.03175/5.446, allocations: 7.354 MB / 1.772 GB, free: 42.12 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01113/5.458, allocations: 0.6205 MB / 1.772 GB, free: 41.5 MB / 0.5919 GB Notification: Performance of SimCode: time 1.253e-06/5.458, allocations: 0 / 1.772 GB, free: 41.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.6396/6.097, allocations: 151.1 MB / 1.92 GB, free: 98.14 MB / 0.5919 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)