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.001655/0.001655, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002092/0.002092, allocations: 197.2 kB / 16.53 MB, free: 6.391 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.559/1.559, allocations: 205.1 MB / 222.4 MB, free: 4.402 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.326/0.326, allocations: 39.94 MB / 309.7 MB, free: 9.535 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.001804/0.001804, allocations: 67.91 kB / 377.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1158, allocations: 56.88 MB / 434.5 MB, free: 3.668 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.RelativeSensor): time 0.2456/0.3614, allocations: 27.33 MB / 461.8 MB, free: 35.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01901/0.3805, allocations: 8.749 MB / 470.6 MB, free: 33.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006884/0.3875, allocations: 224.3 kB / 470.8 MB, free: 33.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03346/0.4209, allocations: 22.1 MB / 492.9 MB, free: 24.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01748/0.4385, allocations: 4.131 MB / 497 MB, free: 22.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01482/0.4534, allocations: 4.831 MB / 0.4901 GB, free: 19.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02046/0.4739, allocations: 11.19 MB / 0.501 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05618/0.5301, allocations: 32.83 MB / 0.5331 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01595/0.5461, allocations: 7.57 MB / 0.5405 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01674/0.5629, allocations: 9.542 MB / 0.5498 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009617/0.5725, allocations: 2.328 MB / 0.5521 GB, free: 244 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01675/0.5893, allocations: 3.63 MB / 0.5556 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01705/0.6064, allocations: 9.067 MB / 0.5645 GB, free: 3.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02148/0.628, allocations: 10.29 MB / 0.5745 GB, free: 9.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0468/0.6748, allocations: 33.66 MB / 0.6074 GB, free: 7.422 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.6749, allocations: 0 / 0.6074 GB, free: 7.422 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.6749, allocations: 0 / 0.6074 GB, free: 7.422 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001367/0.6763, allocations: 4 kB / 0.6074 GB, free: 7.418 MB / 478.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.06135/0.7376, allocations: 19.15 MB / 0.6261 GB, free: 4.145 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/0.7377, allocations: 11.89 kB / 0.6261 GB, free: 4.133 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.504/1.242, allocations: 4.651 MB / 0.6306 GB, free: 122.9 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02315/1.265, allocations: 9.444 MB / 0.6399 GB, free: 119.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001167/1.266, allocations: 1.327 MB / 0.6412 GB, free: 119.3 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007877/1.274, allocations: 1.736 MB / 0.6429 GB, free: 118.7 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1115/1.386, allocations: 40.95 MB / 0.6829 GB, free: 102.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001201/1.387, allocations: 94.77 kB / 0.6829 GB, free: 102.4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009267/1.396, allocations: 0.7574 MB / 0.6837 GB, free: 101.9 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007299/1.403, allocations: 4.169 MB / 0.6878 GB, free: 101.1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07256/1.476, allocations: 33.61 MB / 0.7206 GB, free: 68.96 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.681/2.157, allocations: 119.3 MB / 0.8371 GB, free: 125.5 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05922/2.216, allocations: 22.03 MB / 0.8586 GB, free: 123.1 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01009/2.227, allocations: 7.069 MB / 0.8655 GB, free: 123 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05278/2.279, allocations: 27.9 MB / 0.8927 GB, free: 111.4 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/2.28, allocations: 86.05 kB / 0.8928 GB, free: 111.3 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=372): time 1.696e-05/2.28, allocations: 0 / 0.8928 GB, free: 111.3 MB / 0.5295 GB Notification: Performance of matching and sorting (n=486): time 1.456/3.735, allocations: 325.2 MB / 1.21 GB, free: 43.38 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/3.735, allocations: 280.1 kB / 1.211 GB, free: 43.05 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01769/3.753, allocations: 10.22 MB / 1.221 GB, free: 32.83 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.002555/3.756, allocations: 105.7 kB / 1.221 GB, free: 32.72 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.006853/3.762, allocations: 10.77 MB / 1.231 GB, free: 21.95 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.004758/3.767, allocations: 1.894 MB / 1.233 GB, free: 20.07 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.4052/4.172, allocations: 3.782 MB / 1.237 GB, free: 155.1 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 9.401e-05/4.173, allocations: 301.7 kB / 1.237 GB, free: 154.8 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02544/4.198, allocations: 16.26 MB / 1.253 GB, free: 149.6 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03718/4.235, allocations: 26.91 MB / 1.279 GB, free: 128.4 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06331/4.299, allocations: 45.25 MB / 1.323 GB, free: 97.11 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001328/4.3, allocations: 111.2 kB / 1.324 GB, free: 97.1 MB / 0.5452 GB Notification: Performance of matching and sorting (n=2243) (initialization): time 0.08303/4.383, allocations: 43.39 MB / 1.366 GB, free: 67.01 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009863/4.384, allocations: 164 kB / 1.366 GB, free: 66.85 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009679/4.385, allocations: 386.1 kB / 1.366 GB, free: 66.48 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003228/4.388, allocations: 1.474 MB / 1.368 GB, free: 65.32 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02335/4.412, allocations: 5.278 MB / 1.373 GB, free: 61.15 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009208/4.421, allocations: 8.396 MB / 1.381 GB, free: 53.51 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02457/4.446, allocations: 2.135 MB / 1.383 GB, free: 52.12 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006527/4.452, allocations: 1.03 MB / 1.384 GB, free: 51.11 MB / 0.5452 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.02223/4.474, allocations: 7.839 MB / 1.392 GB, free: 44.22 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004746/4.479, allocations: 0.87 MB / 1.393 GB, free: 43.82 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05366/4.533, allocations: 31.22 MB / 1.423 GB, free: 13.73 MB / 0.5452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001459/4.533, allocations: 95.89 kB / 1.423 GB, free: 13.64 MB / 0.5452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.404e-05/4.533, allocations: 7.984 kB / 1.423 GB, free: 13.63 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001599/4.533, allocations: 23.92 kB / 1.423 GB, free: 13.61 MB / 0.5452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.442/4.975, allocations: 73.53 MB / 1.495 GB, free: 123.1 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.717e-05/4.975, allocations: 5.688 kB / 1.495 GB, free: 123.1 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01444/4.99, allocations: 2.05 MB / 1.497 GB, free: 123.1 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003027/4.993, allocations: 0.9525 MB / 1.498 GB, free: 122.9 MB / 0.5608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00255/4.995, allocations: 82.83 kB / 1.498 GB, free: 122.9 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008717/5.004, allocations: 6.913 MB / 1.505 GB, free: 118.7 MB / 0.5608 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/5.004, allocations: 2.688 kB / 1.505 GB, free: 118.7 MB / 0.5608 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06745/5.072, allocations: 51.87 MB / 1.556 GB, free: 91.15 MB / 0.5608 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01194/5.084, allocations: 3.982 MB / 1.56 GB, free: 88.01 MB / 0.5608 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006016/5.09, allocations: 85.59 kB / 1.56 GB, free: 87.93 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01387/5.104, allocations: 1.561 MB / 1.561 GB, free: 87.11 MB / 0.5608 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003475/5.107, allocations: 265.2 kB / 1.561 GB, free: 86.94 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002246/5.109, allocations: 131.3 kB / 1.562 GB, free: 86.82 MB / 0.5608 GB Notification: Performance of sorting global known variables: time 0.0134/5.123, allocations: 6.332 MB / 1.568 GB, free: 81.58 MB / 0.5608 GB Notification: Performance of sort global known variables: time 6.31e-07/5.123, allocations: 0 / 1.568 GB, free: 81.58 MB / 0.5608 GB Notification: Performance of remove unused functions: time 0.02457/5.147, allocations: 4.335 MB / 1.572 GB, free: 77.25 MB / 0.5608 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.003922/5.151, allocations: 311.7 kB / 1.572 GB, free: 77.03 MB / 0.5608 GB Notification: Performance of simCode: created initialization part: time 0.07306/5.225, allocations: 49.91 MB / 1.621 GB, free: 27.86 MB / 0.5608 GB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/5.225, allocations: 0.875 kB / 1.621 GB, free: 27.86 MB / 0.5608 GB Notification: Performance of simCode: created simulation system equations: time 0.02212/5.247, allocations: 15.25 MB / 1.636 GB, free: 12.59 MB / 0.5608 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01733/5.264, allocations: 1.491 MB / 1.637 GB, free: 11.18 MB / 0.5608 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4277/5.692, allocations: 48.42 MB / 1.685 GB, free: 148.7 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04188/5.734, allocations: 11.02 MB / 1.695 GB, free: 145 MB / 0.5608 GB Notification: Performance of simCode: alias equations: time 0.03046/5.764, allocations: 7.347 MB / 1.703 GB, free: 144.6 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01012/5.774, allocations: 0.618 MB / 1.703 GB, free: 144.6 MB / 0.5608 GB Notification: Performance of SimCode: time 2.104e-06/5.774, allocations: 0 / 1.703 GB, free: 144.6 MB / 0.5608 GB Notification: Performance of Templates: time 0.5651/6.34, allocations: 157.2 MB / 1.857 GB, free: 156.2 MB / 0.5608 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)