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.0008451/0.0008452, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008356/0.0008357, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.2961/0.2961, allocations: 38.03 MB / 308.4 MB, free: 10.36 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.0005557/0.0005558, allocations: 20 kB / 376.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09952/0.1001, allocations: 57.53 MB / 434 MB, free: 5.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.2266/0.3268, allocations: 23.68 MB / 457.6 MB, free: 32.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01249/0.3393, allocations: 5.956 MB / 463.6 MB, free: 32.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004641/0.344, allocations: 117.8 kB / 463.7 MB, free: 32.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002773/0.3468, allocations: 1.109 MB / 464.8 MB, free: 32.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007926/0.3547, allocations: 3.368 MB / 468.2 MB, free: 31.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.3559, allocations: 217.3 kB / 468.4 MB, free: 31.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004446/0.3604, allocations: 3.965 MB / 472.4 MB, free: 31.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004259/0.3647, allocations: 2.841 MB / 475.2 MB, free: 30.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002228/0.3669, allocations: 1.037 MB / 476.3 MB, free: 30.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001978/0.3689, allocations: 1.61 MB / 477.9 MB, free: 30.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004872/0.3694, allocations: 131.9 kB / 478 MB, free: 30.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001273/0.3707, allocations: 0.5303 MB / 478.5 MB, free: 30.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001186/0.3719, allocations: 1.486 MB / 480 MB, free: 30.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006975/0.3726, allocations: 0.7936 MB / 480.8 MB, free: 30.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005626/0.3782, allocations: 4.962 MB / 485.8 MB, free: 29.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.3783, allocations: 0 / 485.8 MB, free: 29.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.178e-06/0.3783, allocations: 0 / 485.8 MB, free: 29.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002688/0.3786, allocations: 1.641 kB / 485.8 MB, free: 29.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.007346/0.3859, allocations: 3.456 MB / 489.2 MB, free: 27.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.386, allocations: 10.78 kB / 489.2 MB, free: 27.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01/0.396, allocations: 3.108 MB / 492.3 MB, free: 27.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005372/0.4014, allocations: 1.824 MB / 494.2 MB, free: 27.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001815/0.4016, allocations: 201.2 kB / 494.4 MB, free: 27.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009023/0.4025, allocations: 265.5 kB / 494.6 MB, free: 27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01636/0.4189, allocations: 10.49 MB / 0.4933 GB, free: 21.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.887e-05/0.419, allocations: 32.69 kB / 0.4933 GB, free: 21.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004386/0.4195, allocations: 135.7 kB / 0.4934 GB, free: 21.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00345/0.4229, allocations: 2.442 MB / 0.4958 GB, free: 20.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01659/0.4395, allocations: 9.321 MB / 0.5049 GB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04786/0.4875, allocations: 38.94 MB / 0.5429 GB, free: 9.223 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006291/0.4938, allocations: 3.492 MB / 0.5464 GB, free: 5.465 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00208/0.4959, allocations: 1.27 MB / 0.5476 GB, free: 4.172 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01061/0.5065, allocations: 5.449 MB / 0.5529 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/0.5066, allocations: 43.12 kB / 0.553 GB, free: 14.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=153): time 6.352e-06/0.5066, allocations: 4 kB / 0.553 GB, free: 14.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=153): time 0.007031/0.5137, allocations: 3.349 MB / 0.5562 GB, free: 11.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.145e-05/0.5138, allocations: 170.8 kB / 0.5564 GB, free: 11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007077/0.5209, allocations: 3.94 MB / 0.5602 GB, free: 7.074 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001789/0.5211, allocations: 48.45 kB / 0.5603 GB, free: 7.023 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002332/0.5234, allocations: 3.317 MB / 0.5635 GB, free: 3.711 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007542/0.5242, allocations: 0.619 MB / 0.5641 GB, free: 3.098 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004434/0.5246, allocations: 134.6 kB / 0.5643 GB, free: 2.969 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0005128/0.5252, allocations: 0.5911 MB / 0.5648 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003168/0.5283, allocations: 1.973 MB / 0.5668 GB, free: 404 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005638/0.534, allocations: 6.28 MB / 0.5729 GB, free: 7.965 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00508/0.5391, allocations: 3.526 MB / 0.5763 GB, free: 4.438 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001362/0.5392, allocations: 44 kB / 0.5764 GB, free: 4.395 MB / 446.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01562/0.5549, allocations: 7.875 MB / 0.5841 GB, free: 12.51 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002509/0.5552, allocations: 72.97 kB / 0.5841 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003315/0.5555, allocations: 152 kB / 0.5843 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003386/0.5559, allocations: 232 kB / 0.5845 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0052/0.5611, allocations: 1.513 MB / 0.586 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002845/0.5614, allocations: 298.8 kB / 0.5863 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006004/0.5674, allocations: 0.9392 MB / 0.5872 GB, free: 9.309 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001654/0.5691, allocations: 419 kB / 0.5876 GB, free: 8.902 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005877/0.575, allocations: 2.281 MB / 0.5898 GB, free: 6.605 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000768/0.5758, allocations: 315.8 kB / 0.5901 GB, free: 6.293 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.577, allocations: 424.2 kB / 0.5905 GB, free: 5.879 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.199e-05/0.577, allocations: 42.56 kB / 0.5906 GB, free: 5.84 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/0.5771, allocations: 7.891 kB / 0.5906 GB, free: 5.832 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.5771, allocations: 3.984 kB / 0.5906 GB, free: 5.828 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01202/0.5891, allocations: 5.686 MB / 0.5961 GB, free: 48 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.291e-05/0.5892, allocations: 8 kB / 0.5961 GB, free: 40 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.5902, allocations: 211.7 kB / 0.5963 GB, free: 15.83 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.379e-05/0.5903, allocations: 12 kB / 0.5963 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001358/0.5904, allocations: 35.92 kB / 0.5964 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.335e-05/0.5904, allocations: 8 kB / 0.5964 GB, free: 15.78 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.5904, allocations: 11.94 kB / 0.5964 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003025/0.5935, allocations: 2.58 MB / 0.5989 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008572/0.5943, allocations: 396.5 kB / 0.5993 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005872/0.5949, allocations: 24 kB / 0.5993 GB, free: 12.65 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/0.5962, allocations: 59.92 kB / 0.5994 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.5964, allocations: 92.31 kB / 0.5995 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/0.5965, allocations: 50.64 kB / 0.5995 GB, free: 12.46 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004359/0.6009, allocations: 2.388 MB / 0.6018 GB, free: 10.09 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6009, allocations: 4 kB / 0.6019 GB, free: 10.08 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005831/0.6067, allocations: 1.132 MB / 0.603 GB, free: 8.949 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004808/0.6072, allocations: 165.3 kB / 0.6031 GB, free: 8.777 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008533/0.6158, allocations: 4.496 MB / 0.6075 GB, free: 4.324 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/0.6158, allocations: 0 / 0.6075 GB, free: 4.324 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001376/0.6172, allocations: 0.9662 MB / 0.6084 GB, free: 3.359 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003075/0.6203, allocations: 343.3 kB / 0.6088 GB, free: 3.023 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01983/0.6402, allocations: 10.32 MB / 0.6189 GB, free: 8.59 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005419/0.6456, allocations: 3.288 MB / 0.6221 GB, free: 5.27 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006369/0.652, allocations: 2.279 MB / 0.6243 GB, free: 2.98 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009198/0.653, allocations: 231.4 kB / 0.6245 GB, free: 2.754 MB / 494.1 MB Notification: Performance of SimCode: time 1.452e-06/0.653, allocations: 0 / 0.6245 GB, free: 2.754 MB / 494.1 MB Notification: Performance of Templates: time 0.2289/0.8819, allocations: 24.2 MB / 0.6481 GB, free: 140.7 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: