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.009293/0.009293, allocations: 103 kB / 15.73 MB, free: 6.035 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.001706/0.001706, allocations: 190 kB / 16.67 MB, free: 5.965 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.6/1.6, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.3023/0.3023, allocations: 38 MB / 307.9 MB, free: 10.16 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.001721/0.001721, allocations: 63.91 kB / 433 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3137, allocations: 56.47 MB / 489.5 MB, free: 20.1 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.RelativeSensor): time 0.02587/0.3396, allocations: 27.32 MB / 0.5047 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02355/0.3631, allocations: 8.766 MB / 0.5133 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008303/0.3715, allocations: 223.2 kB / 0.5135 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04229/0.4138, allocations: 22.1 MB / 0.535 GB, free: 9.125 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01548/0.4293, allocations: 4.135 MB / 0.5391 GB, free: 4.973 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01171/0.4411, allocations: 4.818 MB / 0.5438 GB, free: 148 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01955/0.4607, allocations: 11.19 MB / 0.5547 GB, free: 4.926 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05771/0.5184, allocations: 32.79 MB / 0.5867 GB, free: 3.922 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01633/0.5348, allocations: 7.605 MB / 0.5942 GB, free: 12.3 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01665/0.5515, allocations: 9.55 MB / 0.6035 GB, free: 2.727 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008827/0.5604, allocations: 2.328 MB / 0.6058 GB, free: 408 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01333/0.5738, allocations: 3.638 MB / 0.6093 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01434/0.5882, allocations: 9.068 MB / 0.6182 GB, free: 3.672 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02112/0.6093, allocations: 10.29 MB / 0.6282 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.6426/1.252, allocations: 34.22 MB / 0.6616 GB, free: 63.76 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/1.252, allocations: 0 / 0.6616 GB, free: 63.76 MB / 0.4982 GB Notification: Performance of FrontEnd: time 2.184e-06/1.252, allocations: 0 / 0.6616 GB, free: 63.76 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.001877/1.254, allocations: 1.875 kB / 0.6616 GB, free: 63.76 MB / 0.4982 GB 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.08553/1.339, allocations: 19.16 MB / 0.6804 GB, free: 54.86 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/1.34, allocations: 17.48 kB / 0.6804 GB, free: 54.85 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04138/1.381, allocations: 4.656 MB / 0.6849 GB, free: 52.72 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03243/1.413, allocations: 9.527 MB / 0.6942 GB, free: 47.48 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001599/1.415, allocations: 1.315 MB / 0.6955 GB, free: 46.93 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01193/1.427, allocations: 1.736 MB / 0.6972 GB, free: 46.39 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1149/1.542, allocations: 40.96 MB / 0.7372 GB, free: 11.88 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008445/1.543, allocations: 97.86 kB / 0.7373 GB, free: 11.82 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009797/1.553, allocations: 0.7566 MB / 0.738 GB, free: 11.13 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006159/1.559, allocations: 4.18 MB / 0.7421 GB, free: 7.008 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08633/1.645, allocations: 33.6 MB / 0.7749 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5677/2.213, allocations: 118.4 MB / 0.8905 GB, free: 161.4 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0579/2.271, allocations: 22.05 MB / 0.9121 GB, free: 159 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00774/2.279, allocations: 7.069 MB / 0.919 GB, free: 159 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04847/2.327, allocations: 27.9 MB / 0.9462 GB, free: 149.5 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.705e-05/2.327, allocations: 78.86 kB / 0.9463 GB, free: 149.5 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=372): time 7.644e-06/2.327, allocations: 0 / 0.9463 GB, free: 149.5 MB / 0.6232 GB Notification: Performance of matching and sorting (n=486): time 1.535/3.863, allocations: 325.1 MB / 1.264 GB, free: 146 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/3.863, allocations: 286.3 kB / 1.264 GB, free: 145.7 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01891/3.882, allocations: 10.21 MB / 1.274 GB, free: 135.4 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.002943/3.885, allocations: 106.3 kB / 1.274 GB, free: 135.3 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0068/3.891, allocations: 10.76 MB / 1.285 GB, free: 124.6 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.004546/3.896, allocations: 1.904 MB / 1.286 GB, free: 122.7 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01262/3.909, allocations: 3.783 MB / 1.29 GB, free: 118.9 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.612e-05/3.909, allocations: 301.1 kB / 1.29 GB, free: 118.6 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02118/3.93, allocations: 16.26 MB / 1.306 GB, free: 102.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02767/3.958, allocations: 26.91 MB / 1.333 GB, free: 70.16 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4915/4.449, allocations: 45.24 MB / 1.377 GB, free: 211.8 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006642/4.45, allocations: 107.4 kB / 1.377 GB, free: 211.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2243) (initialization): time 0.08728/4.537, allocations: 43.39 MB / 1.419 GB, free: 196.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002482/4.538, allocations: 166.6 kB / 1.419 GB, free: 196.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006965/4.538, allocations: 377.3 kB / 1.42 GB, free: 196.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003915/4.542, allocations: 1.476 MB / 1.421 GB, free: 196.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0264/4.569, allocations: 5.282 MB / 1.426 GB, free: 195.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009235/4.578, allocations: 8.382 MB / 1.435 GB, free: 189.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02571/4.604, allocations: 2.132 MB / 1.437 GB, free: 187.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007004/4.611, allocations: 1.038 MB / 1.438 GB, free: 186.7 MB / 0.6544 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.0263/4.637, allocations: 7.836 MB / 1.445 GB, free: 179.8 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004008/4.641, allocations: 0.8653 MB / 1.446 GB, free: 179.4 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04843/4.69, allocations: 31.23 MB / 1.477 GB, free: 152.4 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000139/4.69, allocations: 83.47 kB / 1.477 GB, free: 152.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.677e-05/4.69, allocations: 7.469 kB / 1.477 GB, free: 152.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001145/4.69, allocations: 27.2 kB / 1.477 GB, free: 152.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1153/4.805, allocations: 73.36 MB / 1.548 GB, free: 76.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.529e-05/4.805, allocations: 7.938 kB / 1.548 GB, free: 76.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01432/4.82, allocations: 2.047 MB / 1.55 GB, free: 74.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003024/4.823, allocations: 0.9574 MB / 1.551 GB, free: 73.55 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002683/4.825, allocations: 79.98 kB / 1.551 GB, free: 73.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006465/4.832, allocations: 6.906 MB / 1.558 GB, free: 66.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/4.832, allocations: 7.938 kB / 1.558 GB, free: 66.33 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5076/5.339, allocations: 51.86 MB / 1.609 GB, free: 220.3 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01425/5.354, allocations: 3.985 MB / 1.613 GB, free: 220.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006261/5.36, allocations: 74.25 kB / 1.613 GB, free: 220.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0146/5.375, allocations: 1.57 MB / 1.614 GB, free: 220.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003564/5.378, allocations: 255.9 kB / 1.615 GB, free: 220.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001316/5.38, allocations: 127.5 kB / 1.615 GB, free: 220.2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.01688/5.397, allocations: 6.333 MB / 1.621 GB, free: 218.4 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.21e-07/5.397, allocations: 0.5625 kB / 1.621 GB, free: 218.4 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.02351/5.42, allocations: 4.344 MB / 1.625 GB, free: 218 MB / 0.6544 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.003142/5.423, allocations: 319.7 kB / 1.625 GB, free: 217.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.05058/5.474, allocations: 35.81 MB / 1.66 GB, free: 201.4 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.925e-05/5.474, allocations: 448 / 1.66 GB, free: 201.4 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.02091/5.495, allocations: 15.25 MB / 1.675 GB, free: 187.7 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01522/5.51, allocations: 1.512 MB / 1.677 GB, free: 186.4 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09971/5.61, allocations: 48 MB / 1.724 GB, free: 143.3 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0329/5.643, allocations: 11.02 MB / 1.734 GB, free: 133.1 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.02637/5.669, allocations: 7.343 MB / 1.742 GB, free: 125.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008723/5.678, allocations: 0.6244 MB / 1.742 GB, free: 125.2 MB / 0.6544 GB Notification: Performance of SimCode: time 9.22e-07/5.678, allocations: 0 / 1.742 GB, free: 125.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.6419/6.32, allocations: 163.4 MB / 1.902 GB, free: 171 MB / 0.6544 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)