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.001103/0.001103, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001132/0.001132, allocations: 193.3 kB / 16.25 MB, free: 6.629 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.585/1.585, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.3406/0.3406, allocations: 37.99 MB / 307.4 MB, free: 10.08 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.001479/0.001479, allocations: 66.61 kB / 374.7 MB, free: 15.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1112, allocations: 56.47 MB / 431.2 MB, free: 6.98 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.RelativeSensor): time 0.2863/0.3976, allocations: 93.52 MB / 0.5124 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05365/0.4513, allocations: 19.6 MB / 0.5316 GB, free: 14.22 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02467/0.4761, allocations: 433.9 kB / 0.532 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03822/0.5143, allocations: 21.58 MB / 0.5531 GB, free: 260 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01265/0.527, allocations: 3.846 MB / 0.5568 GB, free: 12.39 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01092/0.538, allocations: 4.613 MB / 0.5613 GB, free: 7.773 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0197/0.5577, allocations: 11.46 MB / 0.5725 GB, free: 12.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0571/0.6149, allocations: 34.58 MB / 0.6063 GB, free: 9.57 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01536/0.6303, allocations: 7.62 MB / 0.6137 GB, free: 1.934 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01817/0.6485, allocations: 10.33 MB / 0.6238 GB, free: 7.582 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008394/0.657, allocations: 2.324 MB / 0.6261 GB, free: 5.258 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01015/0.6671, allocations: 3.665 MB / 0.6297 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.5076/1.175, allocations: 9.146 MB / 0.6386 GB, free: 46.3 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01933/1.194, allocations: 10.34 MB / 0.6487 GB, free: 44.14 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0453/1.239, allocations: 33.75 MB / 0.6816 GB, free: 35.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/1.24, allocations: 1.656 kB / 0.6816 GB, free: 35.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.994e-06/1.24, allocations: 3.938 kB / 0.6817 GB, free: 35.83 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001327/1.241, allocations: 0.5312 kB / 0.6817 GB, free: 35.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.07364/1.315, allocations: 19.16 MB / 0.7004 GB, free: 23.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/1.315, allocations: 11.58 kB / 0.7004 GB, free: 23.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03501/1.35, allocations: 4.657 MB / 0.7049 GB, free: 21.17 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02866/1.378, allocations: 9.443 MB / 0.7141 GB, free: 15.95 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001114/1.379, allocations: 1.319 MB / 0.7154 GB, free: 15.4 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009841/1.389, allocations: 1.73 MB / 0.7171 GB, free: 14.87 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1214/1.511, allocations: 40.96 MB / 0.7571 GB, free: 8.531 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009801/1.512, allocations: 92.84 kB / 0.7572 GB, free: 8.477 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01182/1.524, allocations: 0.7586 MB / 0.758 GB, free: 7.781 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007668/1.531, allocations: 4.168 MB / 0.762 GB, free: 3.668 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09115/1.623, allocations: 33.62 MB / 0.7949 GB, free: 2.375 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4985/2.121, allocations: 119.3 MB / 0.9113 GB, free: 160.9 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05498/2.176, allocations: 22.05 MB / 0.9329 GB, free: 158.2 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008866/2.185, allocations: 7.065 MB / 0.9398 GB, free: 155.1 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04053/2.226, allocations: 27.92 MB / 0.967 GB, free: 141 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.665e-05/2.226, allocations: 76.64 kB / 0.9671 GB, free: 140.9 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=372): time 9.989e-06/2.226, allocations: 0 / 0.9671 GB, free: 140.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=486): time 1.295/3.521, allocations: 325.2 MB / 1.285 GB, free: 91.91 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/3.521, allocations: 282.6 kB / 1.285 GB, free: 91.58 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02744/3.549, allocations: 10.22 MB / 1.295 GB, free: 81.37 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.003727/3.552, allocations: 99.03 kB / 1.295 GB, free: 81.27 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.01034/3.563, allocations: 10.77 MB / 1.306 GB, free: 70.49 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.005351/3.568, allocations: 1.9 MB / 1.307 GB, free: 68.6 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01994/3.588, allocations: 3.785 MB / 1.311 GB, free: 64.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.413e-05/3.588, allocations: 308.3 kB / 1.311 GB, free: 64.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0251/3.613, allocations: 16.26 MB / 1.327 GB, free: 48.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4532/4.067, allocations: 26.91 MB / 1.354 GB, free: 201.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06526/4.132, allocations: 45.25 MB / 1.398 GB, free: 174.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0009662/4.133, allocations: 108.1 kB / 1.398 GB, free: 174.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2243) (initialization): time 0.08693/4.22, allocations: 43.39 MB / 1.44 GB, free: 147.6 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005107/4.221, allocations: 168.2 kB / 1.44 GB, free: 147.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008958/4.222, allocations: 376 kB / 1.441 GB, free: 147.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003903/4.225, allocations: 1.481 MB / 1.442 GB, free: 145.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02347/4.249, allocations: 5.277 MB / 1.447 GB, free: 141.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/4.259, allocations: 8.39 MB / 1.456 GB, free: 134.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02445/4.284, allocations: 2.13 MB / 1.458 GB, free: 132.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006818/4.291, allocations: 1.032 MB / 1.459 GB, free: 131.8 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.02931/4.32, allocations: 7.84 MB / 1.466 GB, free: 124.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004476/4.324, allocations: 0.8676 MB / 1.467 GB, free: 124.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05301/4.378, allocations: 31.22 MB / 1.498 GB, free: 97.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001441/4.378, allocations: 96.91 kB / 1.498 GB, free: 97.41 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.669e-05/4.378, allocations: 11.94 kB / 1.498 GB, free: 97.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001223/4.378, allocations: 24 kB / 1.498 GB, free: 97.39 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4913/4.869, allocations: 73.55 MB / 1.57 GB, free: 195.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-05/4.869, allocations: 0 / 1.57 GB, free: 195.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01332/4.883, allocations: 2.043 MB / 1.572 GB, free: 195.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003312/4.886, allocations: 0.9617 MB / 1.572 GB, free: 195.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0028/4.889, allocations: 86.77 kB / 1.573 GB, free: 195.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007316/4.896, allocations: 6.907 MB / 1.579 GB, free: 192.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/4.896, allocations: 0 / 1.579 GB, free: 192.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07696/4.973, allocations: 51.86 MB / 1.63 GB, free: 172.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01112/4.984, allocations: 3.991 MB / 1.634 GB, free: 171.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00635/4.991, allocations: 75.55 kB / 1.634 GB, free: 171.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01405/5.005, allocations: 1.568 MB / 1.635 GB, free: 171.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004125/5.009, allocations: 256 kB / 1.636 GB, free: 171.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001395/5.01, allocations: 129.1 kB / 1.636 GB, free: 171 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.01629/5.027, allocations: 6.335 MB / 1.642 GB, free: 168.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.202e-06/5.027, allocations: 0 / 1.642 GB, free: 168.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.02783/5.055, allocations: 4.336 MB / 1.646 GB, free: 164.8 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.003768/5.058, allocations: 314.6 kB / 1.647 GB, free: 164.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.07381/5.132, allocations: 49.9 MB / 1.695 GB, free: 118.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-05/5.132, allocations: 8.562 kB / 1.695 GB, free: 118.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01928/5.152, allocations: 15.26 MB / 1.71 GB, free: 104.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01304/5.165, allocations: 1.508 MB / 1.712 GB, free: 103.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1042/5.269, allocations: 56.55 MB / 1.767 GB, free: 47.27 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03544/5.304, allocations: 11.02 MB / 1.778 GB, free: 36.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.3548/5.659, allocations: 7.352 MB / 1.785 GB, free: 183.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01025/5.669, allocations: 0.6219 MB / 1.785 GB, free: 183.2 MB / 0.5919 GB Notification: Performance of SimCode: time 1.633e-06/5.67, allocations: 0 / 1.785 GB, free: 183.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.2534/5.923, allocations: 157.1 MB / 1.939 GB, free: 78.3 MB / 0.5919 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)