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.008682/0.008682, allocations: 175.5 kB / 15.12 MB, free: 5.973 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.452/1.452, allocations: 194.5 MB / 210.3 MB, free: 8.602 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.001654/0.001654, allocations: 112.7 kB / 255.6 MB, free: 11.21 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1919/0.1919, allocations: 40.02 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004517/0.0004518, allocations: 13.81 kB / 406.1 MB, free: 52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1153, allocations: 54.88 MB / 461 MB, free: 3.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4013/0.5167, allocations: 105.6 MB / 0.5534 GB, free: 21.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.5169, allocations: 75.45 kB / 0.5535 GB, free: 21.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8636/1.381, allocations: 248.2 MB / 0.7958 GB, free: 63.99 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.544e-06/1.381, allocations: 3.688 kB / 0.7958 GB, free: 63.99 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0008445/1.381, allocations: 371 kB / 0.7962 GB, free: 63.98 MB / 0.4948 GB 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.05424/1.436, allocations: 16.15 MB / 0.8119 GB, free: 58.49 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/1.436, allocations: 7.188 kB / 0.812 GB, free: 58.49 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03503/1.471, allocations: 8.29 MB / 0.82 GB, free: 57.45 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03897/1.51, allocations: 12.46 MB / 0.8322 GB, free: 55.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001529/1.511, allocations: 1.495 MB / 0.8337 GB, free: 55.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01098/1.522, allocations: 1.971 MB / 0.8356 GB, free: 55.92 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1252/1.648, allocations: 42.66 MB / 0.8773 GB, free: 30.34 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001326/1.649, allocations: 146.2 kB / 0.8774 GB, free: 30.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00964/1.659, allocations: 0.8832 MB / 0.8783 GB, free: 29.36 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00329/1.662, allocations: 2.391 MB / 0.8806 GB, free: 27.27 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4307/2.093, allocations: 34.02 MB / 0.9138 GB, free: 47.85 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.213/2.306, allocations: 146.7 MB / 1.057 GB, free: 16.26 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05406/2.36, allocations: 22.52 MB / 1.079 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04976/2.41, allocations: 27.33 MB / 1.106 GB, free: 13.26 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001116/2.41, allocations: 81.61 kB / 1.106 GB, free: 13.19 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=372): time 9.679e-06/2.41, allocations: 0 / 1.106 GB, free: 13.19 MB / 0.5573 GB Notification: Performance of matching and sorting (n=486): time 1.53/3.94, allocations: 299.9 MB / 1.399 GB, free: 104.7 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000174/3.94, allocations: 281.8 kB / 1.399 GB, free: 104.4 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02341/3.964, allocations: 9.033 MB / 1.408 GB, free: 101.1 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.002517/3.966, allocations: 100.4 kB / 1.408 GB, free: 101 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.009308/3.976, allocations: 10.82 MB / 1.418 GB, free: 92.84 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004419/3.98, allocations: 1.888 MB / 1.42 GB, free: 91.49 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004307/3.984, allocations: 343.8 kB / 1.421 GB, free: 91.23 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.002789/3.987, allocations: 1.028 MB / 1.422 GB, free: 90.61 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02413/4.011, allocations: 15.92 MB / 1.437 GB, free: 83.92 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0354/4.047, allocations: 26.49 MB / 1.463 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03004/4.077, allocations: 19.93 MB / 1.482 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0007565/4.078, allocations: 108.7 kB / 1.483 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2206) (initialization): time 0.4472/4.525, allocations: 42.27 MB / 1.524 GB, free: 94.44 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004447/4.525, allocations: 166.1 kB / 1.524 GB, free: 94.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00096/4.526, allocations: 377.5 kB / 1.524 GB, free: 94.44 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002255/4.529, allocations: 0.8681 MB / 1.525 GB, free: 94.42 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02516/4.554, allocations: 5.284 MB / 1.53 GB, free: 94.42 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00792/4.562, allocations: 5.756 MB / 1.536 GB, free: 91.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02643/4.588, allocations: 2.152 MB / 1.538 GB, free: 91.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006036/4.594, allocations: 1.028 MB / 1.539 GB, free: 91.79 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 () * 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.02653/4.621, allocations: 7.832 MB / 1.547 GB, free: 91.49 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00441/4.625, allocations: 0.875 MB / 1.548 GB, free: 91.49 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05382/4.679, allocations: 30.26 MB / 1.577 GB, free: 91.23 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001755/4.679, allocations: 91.44 kB / 1.577 GB, free: 91.23 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.937e-05/4.679, allocations: 3.812 kB / 1.577 GB, free: 91.23 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001476/4.68, allocations: 24.09 kB / 1.577 GB, free: 91.23 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1215/4.801, allocations: 72.45 MB / 1.648 GB, free: 52.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.984e-05/4.801, allocations: 0 / 1.648 GB, free: 52.06 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01255/4.814, allocations: 2.121 MB / 1.65 GB, free: 52.03 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001173/4.815, allocations: 316.2 kB / 1.65 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002561/4.818, allocations: 83.94 kB / 1.65 GB, free: 51.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004294/4.822, allocations: 4.394 MB / 1.655 GB, free: 48.65 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/4.822, allocations: 2.906 kB / 1.655 GB, free: 48.65 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06546/4.887, allocations: 50.78 MB / 1.704 GB, free: 16.08 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0134/4.901, allocations: 3.949 MB / 1.708 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004864/4.906, allocations: 78.58 kB / 1.708 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0124/4.918, allocations: 1.636 MB / 1.71 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002888/4.921, allocations: 256.5 kB / 1.71 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002295/4.924, allocations: 123.8 kB / 1.71 GB, free: 11.74 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0161/4.94, allocations: 6.246 MB / 1.716 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.81e-07/4.94, allocations: 0 / 1.716 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02708/4.967, allocations: 4.279 MB / 1.721 GB, free: 2.344 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 () * 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.003726/4.971, allocations: 301.5 kB / 1.721 GB, free: 2.117 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.3785/5.349, allocations: 38.08 MB / 1.758 GB, free: 103.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/5.349, allocations: 4.094 kB / 1.758 GB, free: 103.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01805/5.367, allocations: 14.98 MB / 1.773 GB, free: 103.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007614/5.375, allocations: 1.337 MB / 1.774 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1084/5.483, allocations: 54.62 MB / 1.827 GB, free: 78.77 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03198/5.515, allocations: 11.36 MB / 1.838 GB, free: 75.16 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.02749/5.543, allocations: 7.394 MB / 1.846 GB, free: 74.79 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008131/5.551, allocations: 0.6258 MB / 1.846 GB, free: 74.76 MB / 0.5573 GB Notification: Performance of SimCode: time 2.214e-06/5.551, allocations: 0 / 1.846 GB, free: 74.76 MB / 0.5573 GB Notification: Performance of Templates: time 0.6275/6.178, allocations: 143.5 MB / 1.986 GB, free: 66.35 MB / 0.5573 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)