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.001673/0.001673, allocations: 169.8 kB / 12.72 MB, free: 2.594 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.262/1.262, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001466/0.001466, allocations: 107.5 kB / 223.2 MB, free: 4.043 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.1575/0.1575, allocations: 37.99 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.973e-05/3.974e-05, allocations: 6.578 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08068/0.08074, allocations: 48.71 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3428/0.4235, allocations: 98.69 MB / 0.4926 GB, free: 15.09 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001993/0.4238, allocations: 70.69 kB / 0.4926 GB, free: 15.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7708/1.195, allocations: 248.4 MB / 0.7352 GB, free: 37.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.344e-06/1.195, allocations: 3.938 kB / 0.7352 GB, free: 37.74 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007602/1.195, allocations: 367.9 kB / 0.7356 GB, free: 37.38 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.05033/1.246, allocations: 15.63 MB / 0.7509 GB, free: 21.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/1.246, allocations: 8.031 kB / 0.7509 GB, free: 21.67 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03324/1.279, allocations: 8.291 MB / 0.759 GB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03431/1.313, allocations: 12.39 MB / 0.7711 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00155/1.315, allocations: 1.497 MB / 0.7725 GB, free: 15.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009127/1.324, allocations: 1.972 MB / 0.7745 GB, free: 13.44 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4092/1.733, allocations: 42.29 MB / 0.8157 GB, free: 46.55 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001156/1.735, allocations: 149.1 kB / 0.8159 GB, free: 46.55 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008085/1.743, allocations: 0.8824 MB / 0.8168 GB, free: 46.55 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003463/1.746, allocations: 2.383 MB / 0.8191 GB, free: 46.51 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07725/1.823, allocations: 33.56 MB / 0.8519 GB, free: 42.05 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5686/2.392, allocations: 146.7 MB / 0.9951 GB, free: 25.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05658/2.449, allocations: 22.43 MB / 1.017 GB, free: 23.02 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007705/2.456, allocations: 6.729 MB / 1.024 GB, free: 22.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04246/2.499, allocations: 27.34 MB / 1.05 GB, free: 18.65 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.384e-05/2.499, allocations: 82.78 kB / 1.05 GB, free: 18.61 MB / 490.7 MB Notification: Performance of pre-optimization done (n=372): time 9.177e-06/2.499, allocations: 0 / 1.05 GB, free: 18.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=486): time 1.191/3.69, allocations: 280.7 MB / 1.324 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.113e-05/3.69, allocations: 278.6 kB / 1.325 GB, free: 122.9 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01789/3.708, allocations: 8.954 MB / 1.333 GB, free: 114 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.002246/3.711, allocations: 99.73 kB / 1.334 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00714/3.718, allocations: 10.81 MB / 1.344 GB, free: 103.1 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003676/3.721, allocations: 1.889 MB / 1.346 GB, free: 101.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002625/3.724, allocations: 337.6 kB / 1.346 GB, free: 100.9 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.001276/3.725, allocations: 1.029 MB / 1.347 GB, free: 99.85 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02048/3.746, allocations: 15.7 MB / 1.363 GB, free: 84.14 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3711/4.117, allocations: 26.27 MB / 1.388 GB, free: 148.8 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03292/4.15, allocations: 19.83 MB / 1.408 GB, free: 148.7 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000527/4.151, allocations: 108.8 kB / 1.408 GB, free: 148.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2206) (initialization): time 0.07184/4.222, allocations: 41.64 MB / 1.448 GB, free: 139.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003108/4.223, allocations: 164.9 kB / 1.449 GB, free: 139.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006072/4.223, allocations: 375.2 kB / 1.449 GB, free: 139.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001572/4.225, allocations: 0.8726 MB / 1.45 GB, free: 139.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02162/4.247, allocations: 5.281 MB / 1.455 GB, free: 138.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005597/4.252, allocations: 5.667 MB / 1.46 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02034/4.273, allocations: 2.154 MB / 1.463 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004549/4.277, allocations: 1.021 MB / 1.464 GB, free: 134.7 MB / 0.5573 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.00715/4.284, allocations: 1.393 MB / 1.465 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002449/4.287, allocations: 0.8737 MB / 1.466 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04456/4.331, allocations: 29.98 MB / 1.495 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000141/4.332, allocations: 93.06 kB / 1.495 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-05/4.332, allocations: 3.812 kB / 1.495 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001108/4.332, allocations: 25.28 kB / 1.495 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1154/4.447, allocations: 72.14 MB / 1.566 GB, free: 60.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.175e-05/4.447, allocations: 0 / 1.566 GB, free: 60.96 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01816/4.465, allocations: 2.111 MB / 1.568 GB, free: 59.64 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0015/4.467, allocations: 318.3 kB / 1.568 GB, free: 59.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002865/4.47, allocations: 89.11 kB / 1.568 GB, free: 59.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005969/4.476, allocations: 4.293 MB / 1.572 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/4.476, allocations: 4 kB / 1.572 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4657/4.942, allocations: 51.48 MB / 1.623 GB, free: 150 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01047/4.952, allocations: 3.955 MB / 1.626 GB, free: 148.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003958/4.956, allocations: 72.81 kB / 1.626 GB, free: 148.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01258/4.969, allocations: 1.633 MB / 1.628 GB, free: 148.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002589/4.971, allocations: 252.2 kB / 1.628 GB, free: 148.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001294/4.973, allocations: 131.7 kB / 1.628 GB, free: 148.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01267/4.985, allocations: 6.169 MB / 1.634 GB, free: 146.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.82e-07/4.985, allocations: 0 / 1.634 GB, free: 146.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02047/5.006, allocations: 4.272 MB / 1.639 GB, free: 145.8 MB / 0.5573 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.002738/5.009, allocations: 306.2 kB / 1.639 GB, free: 145.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.04885/5.058, allocations: 34.76 MB / 1.673 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/5.058, allocations: 3.094 kB / 1.673 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01908/5.077, allocations: 14.83 MB / 1.687 GB, free: 124.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00944/5.086, allocations: 1.326 MB / 1.689 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07966/5.166, allocations: 42.25 MB / 1.73 GB, free: 90.38 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02548/5.191, allocations: 11.36 MB / 1.741 GB, free: 82.13 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.02392/5.215, allocations: 7.388 MB / 1.748 GB, free: 77.12 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007911/5.223, allocations: 0.6276 MB / 1.749 GB, free: 76.52 MB / 0.5573 GB Notification: Performance of SimCode: time 1.032e-06/5.223, allocations: 0 / 1.749 GB, free: 76.52 MB / 0.5573 GB Notification: Performance of Templates: time 0.5305/5.754, allocations: 143.5 MB / 1.889 GB, free: 110.8 MB / 0.5573 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)