Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.AbsoluteSensor2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.00102/0.00102, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.01124/0.01124, allocations: 173.2 kB / 16.26 MB, free: 6.676 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.563/1.563, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.3379/0.3379, allocations: 40 MB / 310.7 MB, free: 9.844 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.0005223/0.0005223, allocations: 24 kB / 379.5 MB, free: 12.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1162, allocations: 57.95 MB / 437.4 MB, free: 2.234 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.2619/0.3782, allocations: 25.44 MB / 462.8 MB, free: 34.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01478/0.393, allocations: 6.291 MB / 469.1 MB, free: 33.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004459/0.3976, allocations: 119.2 kB / 469.3 MB, free: 33.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001096/0.3987, allocations: 455.3 kB / 469.7 MB, free: 33.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003146/0.4018, allocations: 1.52 MB / 471.2 MB, free: 32.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006276/0.4025, allocations: 234 kB / 471.4 MB, free: 32.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004897/0.4074, allocations: 5.139 MB / 476.6 MB, free: 32.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004242/0.4117, allocations: 3.224 MB / 479.8 MB, free: 30.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00182/0.4135, allocations: 0.9401 MB / 480.8 MB, free: 30.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002071/0.4156, allocations: 1.638 MB / 482.4 MB, free: 30.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000431/0.4161, allocations: 128.9 kB / 482.5 MB, free: 30.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.4172, allocations: 0.6352 MB / 483.2 MB, free: 30.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001152/0.4184, allocations: 1.539 MB / 484.7 MB, free: 29.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001469/0.4199, allocations: 1.873 MB / 486.6 MB, free: 28.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007844/0.4277, allocations: 5.985 MB / 492.5 MB, free: 26.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4278, allocations: 1.5 kB / 492.6 MB, free: 26.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.624e-06/0.4278, allocations: 0.5625 kB / 492.6 MB, free: 26.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002649/0.4281, allocations: 0 / 492.6 MB, free: 26.72 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.009463/0.4375, allocations: 3.406 MB / 496 MB, free: 24.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.4376, allocations: 8.781 kB / 496 MB, free: 24.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01265/0.4503, allocations: 3.101 MB / 499.1 MB, free: 24.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006052/0.4563, allocations: 1.852 MB / 0.4892 GB, free: 23.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002916/0.4567, allocations: 200.1 kB / 0.4894 GB, free: 23.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001017/0.4577, allocations: 262.9 kB / 0.4896 GB, free: 23.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01985/0.4776, allocations: 10.53 MB / 0.4999 GB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.543e-05/0.4777, allocations: 31.53 kB / 0.4999 GB, free: 17.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000443/0.4782, allocations: 130.9 kB / 0.5001 GB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0045/0.4827, allocations: 2.436 MB / 0.5024 GB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01674/0.4994, allocations: 9.374 MB / 0.5116 GB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0542/0.5537, allocations: 38.95 MB / 0.5496 GB, free: 1.848 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006217/0.56, allocations: 3.49 MB / 0.553 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001971/0.562, allocations: 1.273 MB / 0.5543 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0108/0.5728, allocations: 5.452 MB / 0.5596 GB, free: 7.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.966e-05/0.5729, allocations: 47.12 kB / 0.5597 GB, free: 7.176 MB / 430.1 MB Notification: Performance of pre-optimization done (n=153): time 7.605e-06/0.5729, allocations: 7.938 kB / 0.5597 GB, free: 7.168 MB / 430.1 MB Notification: Performance of matching and sorting (n=153): time 0.008054/0.581, allocations: 3.356 MB / 0.5629 GB, free: 3.809 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.498e-05/0.5811, allocations: 170.8 kB / 0.5631 GB, free: 3.605 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007452/0.5886, allocations: 3.951 MB / 0.567 GB, free: 15.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002258/0.5888, allocations: 44.59 kB / 0.567 GB, free: 15.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002807/0.5916, allocations: 3.316 MB / 0.5702 GB, free: 12.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008913/0.5926, allocations: 0.6244 MB / 0.5708 GB, free: 11.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007541/0.5933, allocations: 0.5635 MB / 0.5714 GB, free: 11.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.5935, allocations: 309 kB / 0.5717 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003151/0.5966, allocations: 2 MB / 0.5736 GB, free: 8.809 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007121/0.6037, allocations: 6.303 MB / 0.5798 GB, free: 364 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01245/0.6162, allocations: 9.062 MB / 0.5887 GB, free: 5.145 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001397/0.6164, allocations: 47.94 kB / 0.5887 GB, free: 5.098 MB / 462.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01546/0.6319, allocations: 7.936 MB / 0.5964 GB, free: 13.16 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.265e-05/0.632, allocations: 68 kB / 0.5965 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001441/0.6322, allocations: 156.8 kB / 0.5967 GB, free: 12.94 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001767/0.6323, allocations: 200 kB / 0.5969 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004266/0.6366, allocations: 1.513 MB / 0.5983 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002206/0.6369, allocations: 294.9 kB / 0.5986 GB, free: 10.94 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004804/0.6417, allocations: 0.9432 MB / 0.5995 GB, free: 9.988 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007441/0.6424, allocations: 418.3 kB / 0.5999 GB, free: 9.582 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.00443/0.6469, allocations: 2.282 MB / 0.6022 GB, free: 7.289 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007193/0.6476, allocations: 319.8 kB / 0.6025 GB, free: 6.973 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009279/0.6485, allocations: 416.2 kB / 0.6029 GB, free: 6.562 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.142e-05/0.6486, allocations: 35.98 kB / 0.6029 GB, free: 6.527 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.979e-05/0.6486, allocations: 4 kB / 0.6029 GB, free: 6.523 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/0.6487, allocations: 11.86 kB / 0.6029 GB, free: 6.512 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/0.659, allocations: 5.698 MB / 0.6085 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/0.659, allocations: 4.75 kB / 0.6085 GB, free: 0.707 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009677/0.66, allocations: 215.7 kB / 0.6087 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.526e-05/0.66, allocations: 16 kB / 0.6087 GB, free: 492 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.9e-05/0.6601, allocations: 24 kB / 0.6087 GB, free: 468 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.651e-05/0.6601, allocations: 15.94 kB / 0.6087 GB, free: 452 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.438e-06/0.6601, allocations: 11.94 kB / 0.6087 GB, free: 440 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003405/0.6636, allocations: 2.591 MB / 0.6113 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009904/0.6646, allocations: 392.5 kB / 0.6117 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002956/0.6649, allocations: 35.28 kB / 0.6117 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.6659, allocations: 63.91 kB / 0.6117 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001767/0.6661, allocations: 88.23 kB / 0.6118 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.6662, allocations: 47.98 kB / 0.6119 GB, free: 13.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00423/0.6705, allocations: 2.407 MB / 0.6142 GB, free: 10.72 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6705, allocations: 0 / 0.6142 GB, free: 10.72 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005696/0.6762, allocations: 1.14 MB / 0.6153 GB, free: 9.582 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.0004397/0.6766, allocations: 161.4 kB / 0.6155 GB, free: 9.418 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007426/0.6841, allocations: 4.523 MB / 0.6199 GB, free: 4.93 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.6841, allocations: 3.938 kB / 0.6199 GB, free: 4.926 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.6853, allocations: 0.9683 MB / 0.6209 GB, free: 3.957 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004971/0.6903, allocations: 348.1 kB / 0.6212 GB, free: 3.621 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2549/0.9452, allocations: 10.74 MB / 0.6317 GB, free: 139.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00338/0.9486, allocations: 3.281 MB / 0.6349 GB, free: 139.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005302/0.9539, allocations: 2.281 MB / 0.6371 GB, free: 139 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006281/0.9546, allocations: 225.7 kB / 0.6373 GB, free: 139 MB / 494.1 MB Notification: Performance of SimCode: time 2.074e-06/0.9546, allocations: 2.531 kB / 0.6373 GB, free: 139 MB / 494.1 MB Notification: Performance of Templates: time 0.05574/1.01, allocations: 24.61 MB / 0.6614 GB, free: 133.7 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) Environment - environmentSimulation: