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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.01183/0.01183, allocations: 165.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.438/1.438, allocations: 170.8 MB / 186.6 MB, free: 1.035 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001682/0.001682, allocations: 113.5 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3056/0.3056, allocations: 38.05 MB / 303.7 MB, free: 42.5 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004214/0.0004214, allocations: 12 kB / 362.9 MB, free: 5.629 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.108, allocations: 48.7 MB / 411.6 MB, free: 4.855 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3591/0.4672, allocations: 98.79 MB / 0.4984 GB, free: 5.266 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003265/0.4676, allocations: 80.09 kB / 0.4985 GB, free: 5.227 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.693/1.161, allocations: 248.1 MB / 0.7407 GB, free: 5.414 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.344e-06/1.161, allocations: 0 / 0.7407 GB, free: 5.414 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008409/1.161, allocations: 367.9 kB / 0.7411 GB, free: 5.055 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5960 * Number of variables: 5960 Notification: Performance of Generate backend data structure: time 0.4744/1.636, allocations: 16.15 MB / 0.7569 GB, free: 21.72 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/1.636, allocations: 7.062 kB / 0.7569 GB, free: 21.72 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03394/1.67, allocations: 8.286 MB / 0.765 GB, free: 20.69 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03213/1.702, allocations: 12.44 MB / 0.7771 GB, free: 19.31 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002205/1.704, allocations: 1.498 MB / 0.7786 GB, free: 19.27 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01013/1.714, allocations: 1.969 MB / 0.7805 GB, free: 19.25 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1125/1.827, allocations: 42.64 MB / 0.8221 GB, free: 12.09 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001059/1.828, allocations: 151.5 kB / 0.8223 GB, free: 12.08 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007335/1.835, allocations: 0.8886 MB / 0.8231 GB, free: 11.47 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00351/1.839, allocations: 2.376 MB / 0.8255 GB, free: 11.07 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07414/1.913, allocations: 34.21 MB / 0.8589 GB, free: 15.94 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7583/2.672, allocations: 146.7 MB / 1.002 GB, free: 16.96 MB / 0.495 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0866/2.758, allocations: 22.52 MB / 1.024 GB, free: 14.57 MB / 0.495 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06399/2.822, allocations: 27.33 MB / 1.051 GB, free: 9.688 MB / 0.495 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/2.823, allocations: 76.73 kB / 1.051 GB, free: 9.645 MB / 0.495 GB Notification: Performance of pre-optimization done (n=372): time 2.351e-05/2.823, allocations: 3.125 kB / 1.051 GB, free: 9.645 MB / 0.495 GB Notification: Performance of matching and sorting (n=486): time 1.647/4.47, allocations: 300.3 MB / 1.344 GB, free: 100.2 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/4.47, allocations: 282 kB / 1.344 GB, free: 99.89 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02186/4.492, allocations: 9.036 MB / 1.353 GB, free: 98.91 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 0.002921/4.495, allocations: 101.4 kB / 1.353 GB, free: 98.88 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 0.01088/4.506, allocations: 10.81 MB / 1.364 GB, free: 92.4 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 0.00587/4.512, allocations: 1.892 MB / 1.366 GB, free: 91.36 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004312/4.516, allocations: 340.1 kB / 1.366 GB, free: 91.29 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.001966/4.518, allocations: 1.03 MB / 1.367 GB, free: 90.67 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02536/4.544, allocations: 15.93 MB / 1.383 GB, free: 83.98 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03571/4.579, allocations: 26.48 MB / 1.409 GB, free: 63.08 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03477/4.614, allocations: 19.93 MB / 1.428 GB, free: 54.61 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0007685/4.615, allocations: 108.3 kB / 1.428 GB, free: 54.61 MB / 0.5107 GB Notification: Performance of matching and sorting (n=2206) (initialization): time 0.08212/4.697, allocations: 42.09 MB / 1.469 GB, free: 30.23 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 0.001019/4.698, allocations: 166.5 kB / 1.469 GB, free: 30.07 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001293/4.7, allocations: 376 kB / 1.47 GB, free: 29.71 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002664/4.702, allocations: 0.867 MB / 1.471 GB, free: 28.93 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02399/4.726, allocations: 5.29 MB / 1.476 GB, free: 24.79 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4303/5.157, allocations: 5.758 MB / 1.481 GB, free: 85.25 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02407/5.181, allocations: 2.157 MB / 1.483 GB, free: 85.25 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00699/5.188, allocations: 1.021 MB / 1.484 GB, free: 85.25 MB / 0.5107 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 () * Number of clocked 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.02561/5.213, allocations: 7.83 MB / 1.492 GB, free: 84.93 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003591/5.217, allocations: 0.8768 MB / 1.493 GB, free: 84.93 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05889/5.276, allocations: 30.25 MB / 1.523 GB, free: 84.68 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000184/5.276, allocations: 92.08 kB / 1.523 GB, free: 84.68 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.807e-05/5.276, allocations: 9.547 kB / 1.523 GB, free: 84.68 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001233/5.276, allocations: 21.52 kB / 1.523 GB, free: 84.68 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1119/5.388, allocations: 72.45 MB / 1.593 GB, free: 45.57 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.055e-05/5.388, allocations: 5.125 kB / 1.593 GB, free: 45.57 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01299/5.401, allocations: 2.109 MB / 1.595 GB, free: 45.54 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001194/5.403, allocations: 326.3 kB / 1.596 GB, free: 45.46 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002399/5.405, allocations: 82.62 kB / 1.596 GB, free: 45.41 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004233/5.409, allocations: 4.396 MB / 1.6 GB, free: 42.16 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/5.409, allocations: 0 / 1.6 GB, free: 42.16 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07131/5.481, allocations: 50.79 MB / 1.65 GB, free: 12.99 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01343/5.494, allocations: 3.945 MB / 1.654 GB, free: 9.75 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005356/5.5, allocations: 81.3 kB / 1.654 GB, free: 9.676 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01308/5.513, allocations: 1.628 MB / 1.655 GB, free: 8.809 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00313/5.516, allocations: 256.4 kB / 1.655 GB, free: 8.648 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002436/5.518, allocations: 136.5 kB / 1.656 GB, free: 8.527 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 0.01584/5.534, allocations: 6.248 MB / 1.662 GB, free: 3.391 MB / 0.5107 GB Notification: Performance of sort global known variables: time 1.022e-06/5.534, allocations: 0 / 1.662 GB, free: 3.391 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.03065/5.565, allocations: 4.699 MB / 1.666 GB, free: 0 / 0.5107 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 (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.003698/5.569, allocations: 317.1 kB / 1.667 GB, free: 15.77 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.3889/5.958, allocations: 36.55 MB / 1.702 GB, free: 113.3 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-05/5.958, allocations: 3.281 kB / 1.702 GB, free: 113.3 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.02305/5.981, allocations: 14.98 MB / 1.717 GB, free: 113 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009549/5.99, allocations: 1.326 MB / 1.718 GB, free: 112.8 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1037/6.094, allocations: 54.61 MB / 1.772 GB, free: 86.24 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0319/6.126, allocations: 11.36 MB / 1.783 GB, free: 82.62 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.02804/6.154, allocations: 7.39 MB / 1.79 GB, free: 82.28 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008797/6.163, allocations: 0.6322 MB / 1.79 GB, free: 82.25 MB / 0.5263 GB Notification: Performance of SimCode: time 1.573e-06/6.163, allocations: 0 / 1.79 GB, free: 82.25 MB / 0.5263 GB Notification: Performance of Templates: time 0.5867/6.75, allocations: 143.4 MB / 1.931 GB, free: 82.78 MB / 0.5263 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)