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.000772/0.0007718, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008204/0.0008205, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.2897/0.2897, allocations: 38.04 MB / 308.4 MB, free: 10.45 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.0005217/0.0005218, allocations: 12 kB / 376.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09701/0.09754, allocations: 57.53 MB / 434 MB, free: 5.566 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.RelativeSensor): time 0.2581/0.3557, allocations: 84.67 MB / 0.5065 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04296/0.3987, allocations: 18.76 MB / 0.5248 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01745/0.4162, allocations: 432.2 kB / 0.5252 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0168/0.433, allocations: 4.597 MB / 0.5297 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03959/0.4726, allocations: 12.99 MB / 0.5424 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007518/0.4802, allocations: 1.758 MB / 0.5441 GB, free: 9.945 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0544/0.5346, allocations: 43.13 MB / 0.5862 GB, free: 388 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05911/0.5938, allocations: 39.86 MB / 0.6251 GB, free: 8.406 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008487/0.6023, allocations: 4.002 MB / 0.6291 GB, free: 4.391 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3197/0.9221, allocations: 6.326 MB / 0.6352 GB, free: 50.98 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003393/0.9255, allocations: 0.5479 MB / 0.6358 GB, free: 50.98 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006542/0.9321, allocations: 1.712 MB / 0.6374 GB, free: 50.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01147/0.9436, allocations: 6.581 MB / 0.6439 GB, free: 50.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007381/0.951, allocations: 3.292 MB / 0.6471 GB, free: 50.95 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03361/0.9847, allocations: 27.89 MB / 0.6743 GB, free: 43.99 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.9847, allocations: 0 / 0.6743 GB, free: 43.99 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.9848, allocations: 4.469 kB / 0.6743 GB, free: 43.99 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001616/0.9864, allocations: 0.5312 kB / 0.6743 GB, free: 43.99 MB / 494.1 MB 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.04722/1.034, allocations: 15.19 MB / 0.6892 GB, free: 35.45 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/1.034, allocations: 10.88 kB / 0.6892 GB, free: 35.45 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03074/1.064, allocations: 4.746 MB / 0.6938 GB, free: 33.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02202/1.086, allocations: 9.341 MB / 0.7029 GB, free: 30.94 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001243/1.088, allocations: 1.316 MB / 0.7042 GB, free: 30.9 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01074/1.099, allocations: 1.737 MB / 0.7059 GB, free: 30.88 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1009/1.199, allocations: 40.94 MB / 0.7459 GB, free: 6.145 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009699/1.2, allocations: 99.45 kB / 0.746 GB, free: 6.09 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006998/1.207, allocations: 0.7645 MB / 0.7467 GB, free: 5.902 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005516/1.213, allocations: 4.174 MB / 0.7508 GB, free: 2.496 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08036/1.293, allocations: 33.55 MB / 0.7836 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5245/1.818, allocations: 119.3 MB / 0.9001 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05754/1.876, allocations: 22.31 MB / 0.9218 GB, free: 145.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008805/1.884, allocations: 7.067 MB / 0.9287 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04095/1.925, allocations: 27.91 MB / 0.956 GB, free: 131.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.227e-05/1.926, allocations: 79.98 kB / 0.9561 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=372): time 1.019e-05/1.926, allocations: 0 / 0.9561 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=486): time 1.224/3.149, allocations: 326.5 MB / 1.275 GB, free: 72.38 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/3.149, allocations: 291.7 kB / 1.275 GB, free: 72.04 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02297/3.172, allocations: 10.16 MB / 1.285 GB, free: 61.88 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.002511/3.175, allocations: 103.9 kB / 1.285 GB, free: 61.77 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.007596/3.183, allocations: 10.76 MB / 1.296 GB, free: 51.02 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0042/3.187, allocations: 1.896 MB / 1.298 GB, free: 49.13 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003205/3.19, allocations: 348 kB / 1.298 GB, free: 48.79 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.001135/3.191, allocations: 1.041 MB / 1.299 GB, free: 47.74 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3301/3.521, allocations: 16.2 MB / 1.315 GB, free: 198.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03455/3.556, allocations: 26.84 MB / 1.341 GB, free: 179.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03157/3.588, allocations: 20.22 MB / 1.361 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005782/3.588, allocations: 105.7 kB / 1.361 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2243) (initialization): time 0.07807/3.666, allocations: 43.26 MB / 1.403 GB, free: 145.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002981/3.667, allocations: 165.3 kB / 1.403 GB, free: 144.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005394/3.667, allocations: 376.8 kB / 1.404 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003093/3.67, allocations: 1.523 MB / 1.405 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02067/3.691, allocations: 5.278 MB / 1.41 GB, free: 139.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007988/3.699, allocations: 7.808 MB / 1.418 GB, free: 132.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02082/3.72, allocations: 2.139 MB / 1.42 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004925/3.725, allocations: 1.036 MB / 1.421 GB, free: 129.7 MB / 0.5762 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 (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 {(2,100.0%) 10,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01987/3.745, allocations: 7.832 MB / 1.429 GB, free: 122.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002372/3.747, allocations: 0.8698 MB / 1.429 GB, free: 122.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.045/3.792, allocations: 31.2 MB / 1.46 GB, free: 95.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001427/3.792, allocations: 95.59 kB / 1.46 GB, free: 95.39 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-05/3.792, allocations: 4 kB / 1.46 GB, free: 95.39 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001068/3.792, allocations: 26.83 kB / 1.46 GB, free: 95.39 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3992/4.192, allocations: 73.52 MB / 1.532 GB, free: 177.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-05/4.192, allocations: 3.812 kB / 1.532 GB, free: 177.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0109/4.203, allocations: 2.041 MB / 1.534 GB, free: 177.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002291/4.205, allocations: 0.9622 MB / 1.535 GB, free: 177.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001359/4.206, allocations: 83.23 kB / 1.535 GB, free: 177.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006083/4.212, allocations: 6.462 MB / 1.541 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/4.213, allocations: 3.438 kB / 1.541 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06642/4.279, allocations: 51.81 MB / 1.592 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009292/4.288, allocations: 4.001 MB / 1.596 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004236/4.293, allocations: 77 kB / 1.596 GB, free: 152 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01183/4.304, allocations: 1.603 MB / 1.597 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002626/4.307, allocations: 260.1 kB / 1.598 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001904/4.309, allocations: 131.2 kB / 1.598 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.01403/4.323, allocations: 6.278 MB / 1.604 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.11e-07/4.323, allocations: 0 / 1.604 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.02186/4.345, allocations: 4.342 MB / 1.608 GB, free: 147.1 MB / 0.5762 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.002444/4.347, allocations: 284.9 kB / 1.608 GB, free: 146.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.04533/4.393, allocations: 35.69 MB / 1.643 GB, free: 115 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/4.393, allocations: 1.625 kB / 1.643 GB, free: 115 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01737/4.41, allocations: 15.24 MB / 1.658 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01031/4.421, allocations: 1.378 MB / 1.659 GB, free: 100.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07812/4.499, allocations: 55.07 MB / 1.713 GB, free: 46.31 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02376/4.522, allocations: 11.03 MB / 1.724 GB, free: 35.24 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0201/4.543, allocations: 7.352 MB / 1.731 GB, free: 27.88 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005442/4.548, allocations: 0.6244 MB / 1.732 GB, free: 27.25 MB / 0.5762 GB Notification: Performance of SimCode: time 1.302e-06/4.548, allocations: 3.938 kB / 1.732 GB, free: 27.25 MB / 0.5762 GB Notification: Performance of Templates: time 0.4512/4.999, allocations: 145.5 MB / 1.874 GB, free: 77.66 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: