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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009668/0.009668, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.59/1.59, allocations: 205.4 MB / 222.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3513/0.3513, allocations: 40 MB / 310.7 MB, free: 9.906 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.2. 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.0006067/0.0006067, allocations: 12 kB / 379.4 MB, free: 12.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1422, allocations: 57.96 MB / 437.4 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.RelativeSensor): time 0.3288/0.471, allocations: 91.2 MB / 0.5162 GB, free: 8.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05753/0.5286, allocations: 19.64 MB / 0.5354 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02632/0.555, allocations: 432.5 kB / 0.5358 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005887/0.5609, allocations: 1.402 MB / 0.5372 GB, free: 10.81 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01435/0.5753, allocations: 3.964 MB / 0.541 GB, free: 8.973 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008312/0.5836, allocations: 2.19 MB / 0.5432 GB, free: 7.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.03133/0.615, allocations: 19.17 MB / 0.5619 GB, free: 8.102 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07261/0.6877, allocations: 47.58 MB / 0.6084 GB, free: 8.348 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009717/0.6975, allocations: 3.751 MB / 0.612 GB, free: 4.582 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01249/0.71, allocations: 6.516 MB / 0.6184 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003846/0.7139, allocations: 0.5469 MB / 0.6189 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008457/0.7224, allocations: 1.97 MB / 0.6209 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01048/0.7329, allocations: 6.705 MB / 0.6274 GB, free: 4.801 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.6163/1.349, allocations: 7.502 MB / 0.6347 GB, free: 35.7 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04509/1.394, allocations: 31.6 MB / 0.6656 GB, free: 31.83 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.779e-06/1.395, allocations: 0.7188 kB / 0.6656 GB, free: 31.83 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.857e-06/1.395, allocations: 0 / 0.6656 GB, free: 31.83 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.00209/1.397, allocations: 0 / 0.6656 GB, free: 31.83 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.06722/1.464, allocations: 15 MB / 0.6802 GB, free: 23.29 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.238e-05/1.464, allocations: 10.16 kB / 0.6803 GB, free: 23.29 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04124/1.505, allocations: 4.738 MB / 0.6849 GB, free: 21.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03209/1.537, allocations: 9.435 MB / 0.6941 GB, free: 18.69 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00171/1.539, allocations: 1.326 MB / 0.6954 GB, free: 18.65 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01128/1.55, allocations: 1.736 MB / 0.6971 GB, free: 18.64 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.136/1.686, allocations: 41.08 MB / 0.7372 GB, free: 11.19 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001356/1.688, allocations: 97.86 kB / 0.7373 GB, free: 11.13 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01024/1.698, allocations: 0.7572 MB / 0.738 GB, free: 10.44 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007941/1.706, allocations: 4.169 MB / 0.7421 GB, free: 6.324 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1018/1.808, allocations: 33.74 MB / 0.7751 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6073/2.415, allocations: 119.3 MB / 0.8916 GB, free: 168.7 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06214/2.478, allocations: 22.33 MB / 0.9134 GB, free: 166.1 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008695/2.486, allocations: 7.067 MB / 0.9203 GB, free: 166 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04461/2.531, allocations: 27.92 MB / 0.9476 GB, free: 152.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.537e-05/2.531, allocations: 79.77 kB / 0.9477 GB, free: 152.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=372): time 7.454e-06/2.531, allocations: 0 / 0.9477 GB, free: 152.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=486): time 1.509/4.04, allocations: 326.5 MB / 1.267 GB, free: 98.58 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/4.04, allocations: 287.1 kB / 1.267 GB, free: 98.25 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01785/4.058, allocations: 10.22 MB / 1.277 GB, free: 88.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.004271/4.062, allocations: 106.3 kB / 1.277 GB, free: 87.93 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.01133/4.074, allocations: 10.76 MB / 1.287 GB, free: 77.16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.005593/4.079, allocations: 1.898 MB / 1.289 GB, free: 75.28 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006645/4.086, allocations: 1.414 MB / 1.291 GB, free: 73.86 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001111/4.086, allocations: 301.1 kB / 1.291 GB, free: 73.56 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02242/4.109, allocations: 16.26 MB / 1.307 GB, free: 57.29 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3966/4.505, allocations: 26.91 MB / 1.333 GB, free: 202 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06548/4.571, allocations: 45.25 MB / 1.377 GB, free: 175 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006609/4.571, allocations: 107.7 kB / 1.377 GB, free: 175 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2243) (initialization): time 0.08202/4.654, allocations: 43.39 MB / 1.42 GB, free: 149.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003557/4.654, allocations: 168 kB / 1.42 GB, free: 149.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006084/4.655, allocations: 372 kB / 1.42 GB, free: 149.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00333/4.658, allocations: 1.479 MB / 1.422 GB, free: 148.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02334/4.681, allocations: 5.272 MB / 1.427 GB, free: 144 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008754/4.69, allocations: 7.82 MB / 1.434 GB, free: 136.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02435/4.714, allocations: 2.135 MB / 1.437 GB, free: 135.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005984/4.72, allocations: 1.03 MB / 1.438 GB, free: 134.5 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,10,100.0%), (2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.02295/4.743, allocations: 7.836 MB / 1.445 GB, free: 127.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003305/4.747, allocations: 0.8697 MB / 1.446 GB, free: 127.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04693/4.794, allocations: 31.23 MB / 1.477 GB, free: 99.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001579/4.794, allocations: 93.3 kB / 1.477 GB, free: 99.11 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.915e-05/4.794, allocations: 4 kB / 1.477 GB, free: 99.11 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000127/4.794, allocations: 22.83 kB / 1.477 GB, free: 99.09 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4832/5.277, allocations: 73.54 MB / 1.549 GB, free: 197.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.031e-05/5.277, allocations: 0 / 1.549 GB, free: 197.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01402/5.291, allocations: 2.046 MB / 1.551 GB, free: 197.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003184/5.295, allocations: 0.9611 MB / 1.551 GB, free: 197.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002391/5.297, allocations: 81.94 kB / 1.552 GB, free: 197.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008254/5.305, allocations: 6.475 MB / 1.558 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/5.305, allocations: 6.688 kB / 1.558 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07872/5.384, allocations: 51.86 MB / 1.609 GB, free: 174.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008949/5.393, allocations: 3.995 MB / 1.612 GB, free: 173.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004023/5.397, allocations: 76.45 kB / 1.612 GB, free: 173.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01318/5.41, allocations: 1.606 MB / 1.614 GB, free: 173.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00361/5.414, allocations: 253.7 kB / 1.614 GB, free: 173.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001046/5.415, allocations: 128.2 kB / 1.614 GB, free: 173.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.01334/5.428, allocations: 6.332 MB / 1.621 GB, free: 170.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.11e-07/5.428, allocations: 0 / 1.621 GB, free: 170.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.02158/5.45, allocations: 4.344 MB / 1.625 GB, free: 166 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002862/5.453, allocations: 321.6 kB / 1.625 GB, free: 165.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.05345/5.506, allocations: 35.77 MB / 1.66 GB, free: 133.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-05/5.506, allocations: 4.438 kB / 1.66 GB, free: 133.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.02011/5.527, allocations: 15.25 MB / 1.675 GB, free: 119.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01646/5.543, allocations: 1.399 MB / 1.676 GB, free: 117.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1087/5.652, allocations: 56.65 MB / 1.732 GB, free: 61.14 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03337/5.685, allocations: 11.03 MB / 1.742 GB, free: 50.07 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.03189/5.717, allocations: 7.35 MB / 1.75 GB, free: 42.71 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009411/5.727, allocations: 0.6166 MB / 1.75 GB, free: 42.1 MB / 0.5919 GB Notification: Performance of SimCode: time 1.813e-06/5.727, allocations: 0 / 1.75 GB, free: 42.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.5766/6.303, allocations: 148.5 MB / 1.895 GB, free: 99.33 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.RelativeSensor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: