Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.RelativeSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.RelativeSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.RelativeSensor") translateModel(ModelicaTest.MultiBody.Sensors.RelativeSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.RelativeSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001496/0.001496, allocations: 182 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.494/1.494, allocations: 194.3 MB / 207.5 MB, free: 3.465 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001677/0.001678, allocations: 121.2 kB / 252.6 MB, free: 4.836 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1859/0.1859, allocations: 39.94 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.554e-05/3.558e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1081, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3918/0.5, allocations: 105.6 MB / 0.5476 GB, free: 2.344 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/0.5002, allocations: 78.08 kB / 0.5476 GB, free: 2.305 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9284/1.429, allocations: 248.5 MB / 0.7903 GB, free: 49.31 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.333e-06/1.429, allocations: 0 / 0.7903 GB, free: 49.31 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001262/1.43, allocations: 375.9 kB / 0.7907 GB, free: 48.95 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5962 * Number of variables: 5962 Notification: Performance of Generate backend data structure: time 0.05234/1.482, allocations: 15.62 MB / 0.8059 GB, free: 33.21 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/1.482, allocations: 15.91 kB / 0.8059 GB, free: 33.2 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03525/1.518, allocations: 8.29 MB / 0.814 GB, free: 24.87 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03388/1.552, allocations: 12.42 MB / 0.8262 GB, free: 12.36 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001347/1.553, allocations: 1.497 MB / 0.8276 GB, free: 10.86 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009022/1.562, allocations: 1.972 MB / 0.8296 GB, free: 8.883 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8303/2.392, allocations: 42.29 MB / 0.8709 GB, free: 54.02 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001562/2.394, allocations: 147.9 kB / 0.871 GB, free: 54.02 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01003/2.404, allocations: 0.8837 MB / 0.8719 GB, free: 54.02 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005066/2.409, allocations: 2.384 MB / 0.8742 GB, free: 53.98 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08509/2.494, allocations: 33.56 MB / 0.907 GB, free: 53.82 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9951/3.49, allocations: 146.7 MB / 1.05 GB, free: 97.09 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06391/3.554, allocations: 22.42 MB / 1.072 GB, free: 94.71 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00997/3.564, allocations: 6.739 MB / 1.079 GB, free: 94.66 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04517/3.609, allocations: 27.34 MB / 1.105 GB, free: 90.36 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.047e-05/3.609, allocations: 71.83 kB / 1.105 GB, free: 90.32 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=372): time 7.114e-06/3.609, allocations: 6.656 kB / 1.105 GB, free: 90.32 MB / 0.5263 GB Notification: Performance of matching and sorting (n=486): time 1.234/4.843, allocations: 280.7 MB / 1.38 GB, free: 84.48 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/4.843, allocations: 281.9 kB / 1.38 GB, free: 84.15 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02694/4.87, allocations: 8.946 MB / 1.389 GB, free: 75.21 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 0.002938/4.873, allocations: 107.7 kB / 1.389 GB, free: 75.1 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 0.01004/4.883, allocations: 10.81 MB / 1.399 GB, free: 64.3 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.00531/4.888, allocations: 1.895 MB / 1.401 GB, free: 62.42 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00497/4.893, allocations: 340 kB / 1.401 GB, free: 62.09 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.002751/4.896, allocations: 1.025 MB / 1.402 GB, free: 61.05 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03792/4.934, allocations: 15.7 MB / 1.418 GB, free: 45.34 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5129/5.447, allocations: 26.27 MB / 1.443 GB, free: 96.08 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03456/5.482, allocations: 19.82 MB / 1.463 GB, free: 96 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004841/5.482, allocations: 108.8 kB / 1.463 GB, free: 96 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2206) (initialization): time 0.07729/5.559, allocations: 41.65 MB / 1.504 GB, free: 87.64 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003095/5.56, allocations: 177.5 kB / 1.504 GB, free: 87.63 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006865/5.56, allocations: 373.6 kB / 1.504 GB, free: 87.63 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001688/5.562, allocations: 0.8649 MB / 1.505 GB, free: 87.55 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02362/5.586, allocations: 5.289 MB / 1.51 GB, free: 87.04 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006398/5.592, allocations: 5.661 MB / 1.516 GB, free: 83.28 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02413/5.616, allocations: 2.156 MB / 1.518 GB, free: 82.99 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00643/5.623, allocations: 1.025 MB / 1.519 GB, free: 82.86 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1714 * Number of states: 0 () * Number of discrete variables: 45 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2150): * Single equations (assignments): 2140 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005452/5.628, allocations: 1.398 MB / 1.52 GB, free: 81.75 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002529/5.631, allocations: 0.8724 MB / 1.521 GB, free: 81.74 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04283/5.674, allocations: 29.97 MB / 1.55 GB, free: 68.25 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002014/5.674, allocations: 95.83 kB / 1.55 GB, free: 68.23 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-05/5.674, allocations: 3 kB / 1.55 GB, free: 68.23 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001529/5.674, allocations: 27.81 kB / 1.55 GB, free: 68.23 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.104/5.778, allocations: 72.14 MB / 1.621 GB, free: 9.586 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.418e-05/5.778, allocations: 4 kB / 1.621 GB, free: 9.582 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01234/5.791, allocations: 2.115 MB / 1.623 GB, free: 8.254 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009866/5.792, allocations: 316.8 kB / 1.623 GB, free: 8.02 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001809/5.793, allocations: 84.03 kB / 1.623 GB, free: 7.941 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004457/5.798, allocations: 4.286 MB / 1.627 GB, free: 3.777 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/5.798, allocations: 7.219 kB / 1.627 GB, free: 3.773 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5039/6.302, allocations: 52.2 MB / 1.678 GB, free: 113.8 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01031/6.312, allocations: 3.946 MB / 1.682 GB, free: 113.4 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004328/6.317, allocations: 71.47 kB / 1.682 GB, free: 113.3 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01251/6.329, allocations: 1.641 MB / 1.684 GB, free: 113.3 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002686/6.332, allocations: 252.1 kB / 1.684 GB, free: 113.2 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001325/6.333, allocations: 128.7 kB / 1.684 GB, free: 113.2 MB / 0.5575 GB Notification: Performance of sorting global known variables: time 0.01274/6.346, allocations: 6.16 MB / 1.69 GB, free: 111 MB / 0.5575 GB Notification: Performance of sort global known variables: time 7.02e-07/6.346, allocations: 0 / 1.69 GB, free: 111 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.02241/6.368, allocations: 4.277 MB / 1.694 GB, free: 110.7 MB / 0.5575 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003038/6.371, allocations: 304.7 kB / 1.695 GB, free: 110.5 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.04759/6.419, allocations: 34.76 MB / 1.729 GB, free: 96.59 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/6.419, allocations: 1.938 kB / 1.729 GB, free: 96.59 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.01815/6.437, allocations: 14.83 MB / 1.743 GB, free: 89.69 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008597/6.446, allocations: 1.336 MB / 1.744 GB, free: 89.2 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08449/6.53, allocations: 42.25 MB / 1.786 GB, free: 57.59 MB / 0.5575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0299/6.56, allocations: 11.36 MB / 1.797 GB, free: 49.34 MB / 0.5575 GB Notification: Performance of simCode: alias equations: time 0.02588/6.586, allocations: 7.384 MB / 1.804 GB, free: 44.34 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007926/6.594, allocations: 0.6242 MB / 1.805 GB, free: 43.73 MB / 0.5575 GB Notification: Performance of SimCode: time 1.092e-06/6.594, allocations: 2.594 kB / 1.805 GB, free: 43.73 MB / 0.5575 GB Notification: Performance of Templates: time 0.6075/7.202, allocations: 143.5 MB / 1.945 GB, free: 83.41 MB / 0.5575 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.RelativeSensor.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.RelativeSensor.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.RelativeSensor.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.RelativeSensor.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.RelativeSensor.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.RelativeSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.RelativeSensor.pipe 2>&1)