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.01064/0.01064, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.00171/0.00171, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.649/1.649, allocations: 205.1 MB / 222.6 MB, free: 4.387 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.3235/0.3235, allocations: 37.99 MB / 307.9 MB, free: 10.41 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.001475/0.001475, allocations: 67.88 kB / 433 MB, free: 5.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3401, allocations: 56.47 MB / 489.5 MB, free: 19.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.RelativeSensor): time 0.02612/0.3663, allocations: 27.31 MB / 0.5047 GB, free: 340 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02604/0.3924, allocations: 8.774 MB / 0.5133 GB, free: 9.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01004/0.4025, allocations: 228.9 kB / 0.5135 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04258/0.4451, allocations: 22.1 MB / 0.5351 GB, free: 8.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01653/0.4617, allocations: 4.135 MB / 0.5391 GB, free: 4.828 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01379/0.4756, allocations: 4.814 MB / 0.5438 GB, free: 4 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02272/0.4983, allocations: 11.18 MB / 0.5547 GB, free: 4.789 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06528/0.5637, allocations: 32.8 MB / 0.5867 GB, free: 3.781 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01689/0.5806, allocations: 7.574 MB / 0.5941 GB, free: 12.19 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01919/0.5998, allocations: 9.546 MB / 0.6035 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009993/0.6098, allocations: 2.328 MB / 0.6057 GB, free: 300 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0133/0.6232, allocations: 3.638 MB / 0.6093 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01765/0.6409, allocations: 9.052 MB / 0.6181 GB, free: 3.582 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02637/0.6673, allocations: 10.29 MB / 0.6282 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.5947/1.262, allocations: 34.23 MB / 0.6616 GB, free: 63.69 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/1.262, allocations: 2.312 kB / 0.6616 GB, free: 63.69 MB / 0.4982 GB Notification: Performance of FrontEnd: time 2.294e-06/1.262, allocations: 0 / 0.6616 GB, free: 63.69 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.001754/1.264, allocations: 1.719 kB / 0.6616 GB, free: 63.69 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.08293/1.347, allocations: 19.15 MB / 0.6803 GB, free: 54.78 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/1.347, allocations: 13.14 kB / 0.6803 GB, free: 54.78 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04003/1.387, allocations: 4.655 MB / 0.6849 GB, free: 52.61 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02678/1.414, allocations: 9.524 MB / 0.6942 GB, free: 47.36 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0012/1.415, allocations: 1.318 MB / 0.6955 GB, free: 46.81 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01225/1.427, allocations: 1.744 MB / 0.6972 GB, free: 46.27 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1136/1.541, allocations: 40.95 MB / 0.7372 GB, free: 11.8 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000664/1.542, allocations: 97.67 kB / 0.7372 GB, free: 11.74 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008913/1.55, allocations: 0.7573 MB / 0.738 GB, free: 11.04 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005838/1.556, allocations: 4.175 MB / 0.7421 GB, free: 6.922 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08668/1.643, allocations: 33.61 MB / 0.7749 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5431/2.186, allocations: 118.4 MB / 0.8905 GB, free: 161.3 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05755/2.244, allocations: 22.04 MB / 0.912 GB, free: 158.9 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007623/2.251, allocations: 7.072 MB / 0.9189 GB, free: 158.8 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04669/2.298, allocations: 27.9 MB / 0.9462 GB, free: 149.4 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.007e-05/2.298, allocations: 79.39 kB / 0.9463 GB, free: 149.3 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=372): time 7.875e-06/2.298, allocations: 0 / 0.9463 GB, free: 149.3 MB / 0.6232 GB Notification: Performance of matching and sorting (n=486): time 1.347/3.645, allocations: 325.1 MB / 1.264 GB, free: 145.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/3.645, allocations: 285.3 kB / 1.264 GB, free: 145.4 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02022/3.665, allocations: 10.21 MB / 1.274 GB, free: 135.2 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.003502/3.669, allocations: 102.8 kB / 1.274 GB, free: 135.1 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.008773/3.678, allocations: 10.76 MB / 1.285 GB, free: 124.3 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.004904/3.683, allocations: 1.901 MB / 1.286 GB, free: 122.4 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01265/3.695, allocations: 3.784 MB / 1.29 GB, free: 118.6 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.437e-05/3.695, allocations: 309.1 kB / 1.29 GB, free: 118.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02401/3.719, allocations: 16.26 MB / 1.306 GB, free: 102.1 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03025/3.75, allocations: 26.92 MB / 1.333 GB, free: 69.89 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5163/4.266, allocations: 45.24 MB / 1.377 GB, free: 211.6 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000481/4.267, allocations: 106.8 kB / 1.377 GB, free: 211.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2243) (initialization): time 0.09022/4.357, allocations: 43.39 MB / 1.419 GB, free: 196.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003547/4.357, allocations: 167.4 kB / 1.419 GB, free: 196.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008471/4.358, allocations: 372.7 kB / 1.42 GB, free: 196.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004027/4.362, allocations: 1.476 MB / 1.421 GB, free: 196.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02556/4.388, allocations: 5.28 MB / 1.426 GB, free: 195.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009352/4.397, allocations: 8.387 MB / 1.435 GB, free: 188.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02642/4.424, allocations: 2.135 MB / 1.437 GB, free: 187.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007393/4.431, allocations: 1.032 MB / 1.438 GB, free: 186.3 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.02521/4.456, allocations: 7.843 MB / 1.445 GB, free: 179.4 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003168/4.46, allocations: 0.8625 MB / 1.446 GB, free: 179 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05498/4.515, allocations: 31.23 MB / 1.477 GB, free: 152.1 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001703/4.515, allocations: 87.12 kB / 1.477 GB, free: 152 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.059e-05/4.515, allocations: 4 kB / 1.477 GB, free: 152 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001515/4.515, allocations: 30.2 kB / 1.477 GB, free: 152 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1249/4.64, allocations: 73.36 MB / 1.548 GB, free: 76.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.763e-05/4.64, allocations: 4 kB / 1.548 GB, free: 76.17 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01395/4.654, allocations: 2.043 MB / 1.55 GB, free: 74.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002901/4.657, allocations: 0.9574 MB / 1.551 GB, free: 73.16 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002931/4.66, allocations: 90.27 kB / 1.551 GB, free: 73.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006651/4.667, allocations: 6.909 MB / 1.558 GB, free: 65.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/4.667, allocations: 4 kB / 1.558 GB, free: 65.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.572/5.239, allocations: 51.86 MB / 1.609 GB, free: 220.1 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01557/5.254, allocations: 3.986 MB / 1.613 GB, free: 220 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006991/5.261, allocations: 78.66 kB / 1.613 GB, free: 220 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01719/5.279, allocations: 1.57 MB / 1.614 GB, free: 220 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00439/5.283, allocations: 254.6 kB / 1.615 GB, free: 220 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003012/5.286, allocations: 128.8 kB / 1.615 GB, free: 220 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.02545/5.311, allocations: 6.335 MB / 1.621 GB, free: 218.1 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.412e-06/5.312, allocations: 0.6562 kB / 1.621 GB, free: 218.1 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0343/5.346, allocations: 4.344 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.005281/5.351, allocations: 309 kB / 1.625 GB, free: 217.6 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.05601/5.407, allocations: 35.82 MB / 1.66 GB, free: 201.1 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/5.407, allocations: 448 / 1.66 GB, free: 201.1 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.02255/5.43, allocations: 15.26 MB / 1.675 GB, free: 187.4 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01787/5.448, 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.1062/5.554, allocations: 47.99 MB / 1.724 GB, free: 143.1 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03152/5.586, allocations: 11.02 MB / 1.734 GB, free: 132.9 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.02726/5.613, allocations: 7.351 MB / 1.742 GB, free: 125.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01063/5.624, allocations: 0.6205 MB / 1.742 GB, free: 124.9 MB / 0.6544 GB Notification: Performance of SimCode: time 4.469e-06/5.624, allocations: 0 / 1.742 GB, free: 124.9 MB / 0.6544 GB Notification: Performance of Templates: time 0.7206/6.344, allocations: 163.6 MB / 1.902 GB, free: 171.4 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)