Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.AbsoluteSensor2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001653/0.001654, 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.00164/0.00164, allocations: 190.7 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.56/1.56, 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.3533/0.3533, allocations: 37.99 MB / 307.4 MB, free: 10.05 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.001622/0.001622, allocations: 78.23 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1341, allocations: 56.46 MB / 431.2 MB, free: 6.977 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.233/0.3671, allocations: 26.32 MB / 457.5 MB, free: 34.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01301/0.3802, allocations: 6.281 MB / 463.8 MB, free: 34.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004829/0.3851, allocations: 115.9 kB / 463.9 MB, free: 34.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003342/0.3885, allocations: 1.602 MB / 465.5 MB, free: 34.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005143/0.3937, allocations: 1.501 MB / 467 MB, free: 33.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002311/0.396, allocations: 1.157 MB / 468.2 MB, free: 33.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004689/0.4007, allocations: 3.677 MB / 471.9 MB, free: 32.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003542/0.4043, allocations: 2.671 MB / 474.5 MB, free: 31.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002158/0.4065, allocations: 1.234 MB / 475.8 MB, free: 30.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002356/0.4088, allocations: 1.856 MB / 477.6 MB, free: 30.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008519/0.4097, allocations: 253 kB / 477.9 MB, free: 30.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001711/0.4114, allocations: 0.7264 MB / 478.6 MB, free: 30.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001676/0.4131, allocations: 1.675 MB / 480.3 MB, free: 29.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002215/0.4154, allocations: 2.01 MB / 482.3 MB, free: 28.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005748/0.4211, allocations: 6.246 MB / 488.5 MB, free: 25.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.4212, allocations: 4 kB / 488.5 MB, free: 25.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4212, allocations: 0.6562 kB / 488.5 MB, free: 25.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002594/0.4215, allocations: 0 / 488.5 MB, free: 25.98 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.00983/0.4313, allocations: 4.199 MB / 492.7 MB, free: 23.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.289e-05/0.4314, allocations: 13.89 kB / 492.7 MB, free: 23.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01079/0.4422, allocations: 3.011 MB / 495.7 MB, free: 23.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004368/0.4466, allocations: 1.86 MB / 497.6 MB, free: 22.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001848/0.4468, allocations: 199.5 kB / 497.8 MB, free: 22.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009595/0.4478, allocations: 261.7 kB / 498.1 MB, free: 22.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0176/0.4654, allocations: 10.53 MB / 0.4967 GB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.351e-05/0.4655, allocations: 32.34 kB / 0.4967 GB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004461/0.466, allocations: 131.2 kB / 0.4968 GB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003461/0.4694, allocations: 2.441 MB / 0.4992 GB, free: 16.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01496/0.4844, allocations: 9.373 MB / 0.5084 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05203/0.5365, allocations: 38.92 MB / 0.5464 GB, free: 2.605 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005943/0.5425, allocations: 3.498 MB / 0.5498 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00205/0.5445, allocations: 1.272 MB / 0.551 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01066/0.5552, allocations: 5.461 MB / 0.5564 GB, free: 7.977 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.029e-05/0.5553, allocations: 43.12 kB / 0.5564 GB, free: 7.926 MB / 430.1 MB Notification: Performance of pre-optimization done (n=153): time 7.434e-06/0.5553, allocations: 0 / 0.5564 GB, free: 7.926 MB / 430.1 MB Notification: Performance of matching and sorting (n=153): time 0.007145/0.5625, allocations: 3.366 MB / 0.5597 GB, free: 4.555 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.773e-05/0.5626, allocations: 166.8 kB / 0.5598 GB, free: 4.355 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007076/0.5697, allocations: 3.948 MB / 0.5637 GB, free: 428 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002441/0.57, allocations: 48.83 kB / 0.5637 GB, free: 376 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002705/0.5727, allocations: 3.319 MB / 0.567 GB, free: 13.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009033/0.5736, allocations: 0.621 MB / 0.5676 GB, free: 12.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00289/0.5765, allocations: 1.347 MB / 0.5689 GB, free: 11.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.5767, allocations: 305.1 kB / 0.5692 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003322/0.58, allocations: 2.004 MB / 0.5712 GB, free: 8.773 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00602/0.586, allocations: 6.303 MB / 0.5773 GB, free: 328 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009841/0.5959, allocations: 9.064 MB / 0.5862 GB, free: 5.113 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001411/0.5961, allocations: 40 kB / 0.5862 GB, free: 5.074 MB / 462.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01606/0.6121, allocations: 7.927 MB / 0.5939 GB, free: 13.14 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000209/0.6124, allocations: 72 kB / 0.594 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003104/0.6127, allocations: 156 kB / 0.5942 GB, free: 12.92 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002943/0.613, allocations: 203.9 kB / 0.5944 GB, free: 12.72 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005086/0.6181, allocations: 1.509 MB / 0.5958 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003193/0.6185, allocations: 307.3 kB / 0.5961 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005426/0.6239, allocations: 0.9393 MB / 0.597 GB, free: 9.957 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001086/0.625, allocations: 422.6 kB / 0.5974 GB, free: 9.547 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 698 * Number of states: 0 () * Number of discrete variables: 21 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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 (819): * Single equations (assignments): 811 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004177/0.6292, allocations: 2.284 MB / 0.5997 GB, free: 7.25 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006936/0.6299, allocations: 315.8 kB / 0.6 GB, free: 6.938 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009281/0.6309, allocations: 416.2 kB / 0.6004 GB, free: 6.531 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.221e-05/0.631, allocations: 43.98 kB / 0.6004 GB, free: 6.488 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.631, allocations: 0 / 0.6004 GB, free: 6.488 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/0.631, allocations: 7.984 kB / 0.6004 GB, free: 6.48 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/0.6416, allocations: 5.699 MB / 0.606 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.679e-05/0.6417, allocations: 8 kB / 0.606 GB, free: 0.668 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008971/0.6426, allocations: 207.7 kB / 0.6062 GB, free: 476 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.688e-05/0.6426, allocations: 12.75 kB / 0.6062 GB, free: 464 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.6427, allocations: 35.12 kB / 0.6062 GB, free: 432 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.396e-05/0.6427, allocations: 15.98 kB / 0.6063 GB, free: 416 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/0.6427, allocations: 15.92 kB / 0.6063 GB, free: 400 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002877/0.6456, allocations: 2.579 MB / 0.6088 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007737/0.6464, allocations: 384.6 kB / 0.6092 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006232/0.647, allocations: 27.98 kB / 0.6092 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/0.6484, allocations: 66.66 kB / 0.6092 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/0.6486, allocations: 92.22 kB / 0.6093 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.6487, allocations: 44 kB / 0.6094 GB, free: 13.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004788/0.6535, allocations: 2.407 MB / 0.6117 GB, free: 10.71 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6535, allocations: 0 / 0.6117 GB, free: 10.71 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007392/0.6609, allocations: 1.135 MB / 0.6128 GB, free: 9.57 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * 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 (111): * Single equations (assignments): 105 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001007/0.662, allocations: 161.9 kB / 0.613 GB, free: 9.406 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01036/0.6724, allocations: 5.198 MB / 0.6181 GB, free: 4.242 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-05/0.6725, allocations: 5.938 kB / 0.6181 GB, free: 4.238 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001751/0.6742, allocations: 0.965 MB / 0.619 GB, free: 3.277 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004202/0.6784, allocations: 365.6 kB / 0.6194 GB, free: 2.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02025/0.6987, allocations: 10.73 MB / 0.6298 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005818/0.7046, allocations: 3.272 MB / 0.633 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006189/0.7108, allocations: 2.279 MB / 0.6353 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008422/0.7117, allocations: 227.4 kB / 0.6355 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of SimCode: time 8.52e-07/0.7117, allocations: 0 / 0.6355 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of Templates: time 0.2514/0.9631, allocations: 25.59 MB / 0.6605 GB, free: 158.9 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1)