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.001294/0.001294, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001876/0.001876, allocations: 177.3 kB / 15.94 MB, free: 228 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.615/1.615, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.3701/0.3701, allocations: 40 MB / 310.4 MB, free: 9.648 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.0005663/0.0005664, allocations: 12 kB / 378.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1495, allocations: 57.96 MB / 436.8 MB, free: 2.309 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.281/0.4305, allocations: 22.41 MB / 459.2 MB, free: 33.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01524/0.4458, allocations: 6.162 MB / 465.3 MB, free: 33.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005145/0.451, allocations: 114.4 kB / 465.4 MB, free: 33.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004123/0.4552, allocations: 1.171 MB / 466.6 MB, free: 33.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01119/0.4664, allocations: 3.142 MB / 469.8 MB, free: 32.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002502/0.4689, allocations: 0.5408 MB / 470.3 MB, free: 32.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005098/0.474, allocations: 2.029 MB / 472.3 MB, free: 32.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00352/0.4776, allocations: 2.821 MB / 475.1 MB, free: 32.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001303/0.4789, allocations: 0.8598 MB / 476 MB, free: 32.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/0.4801, allocations: 1.118 MB / 477.1 MB, free: 32.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003674/0.4805, allocations: 130.8 kB / 477.3 MB, free: 32.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.4816, allocations: 0.5215 MB / 477.8 MB, free: 32.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001083/0.4827, allocations: 1.388 MB / 479.2 MB, free: 31.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006722/0.4834, allocations: 0.7874 MB / 480 MB, free: 31.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004964/0.4883, allocations: 4.962 MB / 484.9 MB, free: 30.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.4884, allocations: 0 / 484.9 MB, free: 30.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4884, allocations: 0 / 484.9 MB, free: 30.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002195/0.4886, allocations: 3.281 kB / 484.9 MB, free: 30.8 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.007159/0.4958, allocations: 3.506 MB / 488.4 MB, free: 28.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.4958, allocations: 9.75 kB / 488.4 MB, free: 28.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01227/0.5081, allocations: 3.656 MB / 492.1 MB, free: 28.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006184/0.5143, allocations: 1.833 MB / 493.9 MB, free: 27.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000217/0.5146, allocations: 202.4 kB / 494.1 MB, free: 27.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001073/0.5156, allocations: 255.3 kB / 494.4 MB, free: 27.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01784/0.5335, allocations: 10.53 MB / 0.4931 GB, free: 21.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.223e-05/0.5336, allocations: 36.77 kB / 0.4931 GB, free: 21.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004518/0.5341, allocations: 134 kB / 0.4932 GB, free: 21.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004512/0.5386, allocations: 2.43 MB / 0.4956 GB, free: 20.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01819/0.5568, allocations: 9.368 MB / 0.5047 GB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05381/0.6107, allocations: 38.97 MB / 0.5428 GB, free: 8.871 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006668/0.6174, allocations: 3.493 MB / 0.5462 GB, free: 5.102 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01256/0.63, allocations: 5.476 MB / 0.5516 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.473e-05/0.6301, allocations: 47.12 kB / 0.5516 GB, free: 15.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=153): time 7.454e-06/0.6301, allocations: 0 / 0.5516 GB, free: 15.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=153): time 0.008037/0.6382, allocations: 3.876 MB / 0.5554 GB, free: 11.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.6383, allocations: 166.8 kB / 0.5555 GB, free: 11.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006414/0.6448, allocations: 3.936 MB / 0.5594 GB, free: 7.348 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003124/0.6451, allocations: 43.97 kB / 0.5594 GB, free: 7.301 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002682/0.6478, allocations: 3.321 MB / 0.5627 GB, free: 3.984 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008698/0.6487, allocations: 0.6182 MB / 0.5633 GB, free: 3.371 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002682/0.649, allocations: 130.8 kB / 0.5634 GB, free: 3.246 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0004644/0.6494, allocations: 0.595 MB / 0.564 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003008/0.6524, allocations: 1.973 MB / 0.5659 GB, free: 0.668 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006387/0.6588, allocations: 6.249 MB / 0.572 GB, free: 8.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005327/0.6642, allocations: 3.526 MB / 0.5755 GB, free: 4.742 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.39e-05/0.6643, allocations: 44 kB / 0.5755 GB, free: 4.699 MB / 446.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01467/0.679, allocations: 7.877 MB / 0.5832 GB, free: 12.82 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.6792, allocations: 72.09 kB / 0.5833 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002181/0.6794, allocations: 155.9 kB / 0.5834 GB, free: 12.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002158/0.6796, allocations: 227.9 kB / 0.5836 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005072/0.6847, allocations: 1.513 MB / 0.5851 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002383/0.685, allocations: 298.8 kB / 0.5854 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005539/0.6905, allocations: 0.9471 MB / 0.5863 GB, free: 9.613 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001297/0.6918, allocations: 418.7 kB / 0.5867 GB, free: 9.207 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.005839/0.6977, allocations: 2.273 MB / 0.5889 GB, free: 6.922 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007498/0.6984, allocations: 319.8 kB / 0.5892 GB, free: 6.605 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008708/0.6993, allocations: 424.3 kB / 0.5896 GB, free: 6.191 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.59e-05/0.6994, allocations: 42.8 kB / 0.5897 GB, free: 6.152 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.092e-05/0.6994, allocations: 7.953 kB / 0.5897 GB, free: 6.145 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.6995, allocations: 3.984 kB / 0.5897 GB, free: 6.141 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01152/0.711, allocations: 5.689 MB / 0.5953 GB, free: 360 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.92e-05/0.7111, allocations: 4 kB / 0.5953 GB, free: 356 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.7121, allocations: 215.6 kB / 0.5955 GB, free: 140 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.701e-05/0.7121, allocations: 12.75 kB / 0.5955 GB, free: 128 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.381e-05/0.7122, allocations: 31.98 kB / 0.5955 GB, free: 96 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.085e-05/0.7122, allocations: 12 kB / 0.5955 GB, free: 84 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.019e-05/0.7123, allocations: 11.94 kB / 0.5955 GB, free: 72 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003588/0.7158, allocations: 3.239 MB / 0.5987 GB, free: 12.6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009799/0.7168, allocations: 396.5 kB / 0.5991 GB, free: 12.19 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003108/0.7172, allocations: 24 kB / 0.5991 GB, free: 12.16 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.7182, allocations: 74.56 kB / 0.5992 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.7184, allocations: 80.36 kB / 0.5992 GB, free: 12.02 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.863e-05/0.7185, allocations: 44 kB / 0.5993 GB, free: 11.97 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004234/0.7227, allocations: 2.391 MB / 0.6016 GB, free: 9.598 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7227, allocations: 0 / 0.6016 GB, free: 9.598 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006705/0.7295, allocations: 1.131 MB / 0.6027 GB, free: 8.465 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.0005311/0.73, allocations: 165.8 kB / 0.6029 GB, free: 8.297 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008225/0.7382, allocations: 4.503 MB / 0.6073 GB, free: 3.832 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.464e-05/0.7383, allocations: 0 / 0.6073 GB, free: 3.832 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001392/0.7397, allocations: 0.9639 MB / 0.6082 GB, free: 2.867 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/0.7417, allocations: 328.8 kB / 0.6085 GB, free: 2.547 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01752/0.7593, allocations: 10.28 MB / 0.6186 GB, free: 8.156 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004019/0.7634, allocations: 3.362 MB / 0.6219 GB, free: 4.758 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006067/0.7694, allocations: 2.283 MB / 0.6241 GB, free: 2.465 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006635/0.7701, allocations: 231.4 kB / 0.6243 GB, free: 2.238 MB / 494.1 MB Notification: Performance of SimCode: time 1.613e-06/0.7701, allocations: 0 / 0.6243 GB, free: 2.238 MB / 494.1 MB Notification: Performance of Templates: time 0.2738/1.044, allocations: 24.17 MB / 0.6479 GB, free: 139.4 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: