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.0009705/0.0009703, allocations: 100.9 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.001049/0.001049, 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.75/1.75, allocations: 205.4 MB / 222.1 MB, free: 5.488 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.4503/0.4503, allocations: 38.04 MB / 308.4 MB, free: 10.47 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.0005868/0.0005869, allocations: 12 kB / 376.4 MB, free: 15.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1249, allocations: 57.52 MB / 433.9 MB, free: 5.598 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.2324/0.3573, allocations: 22.42 MB / 456.3 MB, free: 33.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01594/0.3733, allocations: 6.147 MB / 462.5 MB, free: 33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006308/0.3797, allocations: 116.3 kB / 462.6 MB, free: 32.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00331/0.3831, allocations: 1.168 MB / 463.8 MB, free: 32.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01173/0.3948, allocations: 3.139 MB / 466.9 MB, free: 32.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002458/0.3973, allocations: 0.547 MB / 467.5 MB, free: 32.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00422/0.4015, allocations: 2.025 MB / 469.5 MB, free: 32.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003343/0.4049, allocations: 2.829 MB / 472.3 MB, free: 32.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.406, allocations: 0.8583 MB / 473.2 MB, free: 31.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.4071, allocations: 1.117 MB / 474.3 MB, free: 31.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002915/0.4074, allocations: 134 kB / 474.4 MB, free: 31.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000938/0.4083, allocations: 0.5224 MB / 474.9 MB, free: 31.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009167/0.4093, allocations: 1.379 MB / 476.3 MB, free: 31.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005609/0.4098, allocations: 0.7874 MB / 477.1 MB, free: 31.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004276/0.4141, allocations: 4.972 MB / 482.1 MB, free: 31.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4142, allocations: 0 / 482.1 MB, free: 31.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.4142, allocations: 0 / 482.1 MB, free: 31.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001942/0.4144, allocations: 0 / 482.1 MB, free: 31.01 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.00665/0.421, allocations: 3.498 MB / 485.6 MB, free: 29.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.4211, allocations: 10.77 kB / 485.6 MB, free: 29.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01321/0.4343, allocations: 3.666 MB / 489.2 MB, free: 28.94 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007121/0.4415, allocations: 1.832 MB / 491.1 MB, free: 28.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002403/0.4418, allocations: 201.4 kB / 491.3 MB, free: 28.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001843/0.4436, allocations: 259.6 kB / 491.5 MB, free: 28.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02237/0.466, allocations: 10.52 MB / 0.4903 GB, free: 23.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.873e-05/0.4661, allocations: 36.28 kB / 0.4903 GB, free: 23.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004685/0.4666, allocations: 135.2 kB / 0.4905 GB, free: 23.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004226/0.4708, allocations: 2.439 MB / 0.4928 GB, free: 22.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01861/0.4895, allocations: 9.364 MB / 0.502 GB, free: 18.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05667/0.5462, allocations: 38.95 MB / 0.54 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00599/0.5522, allocations: 3.515 MB / 0.5435 GB, free: 8.594 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01038/0.5626, allocations: 5.466 MB / 0.5488 GB, free: 3.023 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.5627, allocations: 47.06 kB / 0.5488 GB, free: 2.965 MB / 414.1 MB Notification: Performance of pre-optimization done (n=153): time 4.528e-06/0.5627, allocations: 0 / 0.5488 GB, free: 2.965 MB / 414.1 MB Notification: Performance of matching and sorting (n=153): time 0.007116/0.5698, allocations: 3.87 MB / 0.5526 GB, free: 14.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.625e-05/0.57, allocations: 174.7 kB / 0.5528 GB, free: 14.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005322/0.5753, allocations: 3.936 MB / 0.5566 GB, free: 10.85 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001435/0.5754, allocations: 44.52 kB / 0.5567 GB, free: 10.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0023/0.5778, allocations: 3.317 MB / 0.5599 GB, free: 7.488 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006903/0.5785, allocations: 0.6181 MB / 0.5605 GB, free: 6.875 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002263/0.5787, allocations: 128 kB / 0.5606 GB, free: 6.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0004278/0.5791, allocations: 0.5911 MB / 0.5612 GB, free: 6.152 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002968/0.5821, allocations: 1.977 MB / 0.5631 GB, free: 4.172 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006027/0.5881, allocations: 6.253 MB / 0.5692 GB, free: 11.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005708/0.5939, allocations: 3.526 MB / 0.5727 GB, free: 8.238 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000108/0.594, allocations: 44 kB / 0.5727 GB, free: 8.195 MB / 446.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01524/0.6092, allocations: 7.876 MB / 0.5804 GB, free: 324 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001187/0.6094, allocations: 72 kB / 0.5805 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001961/0.6096, allocations: 155.9 kB / 0.5806 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002362/0.6099, allocations: 224.9 kB / 0.5809 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00489/0.6148, allocations: 1.509 MB / 0.5823 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002448/0.615, allocations: 302.8 kB / 0.5826 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005468/0.6205, allocations: 0.946 MB / 0.5835 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001199/0.6217, allocations: 412 kB / 0.5839 GB, free: 12.71 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.005384/0.6271, allocations: 2.276 MB / 0.5862 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007584/0.6279, allocations: 323.7 kB / 0.5865 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009886/0.6289, allocations: 424.2 kB / 0.5869 GB, free: 9.688 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.359e-05/0.629, allocations: 43.98 kB / 0.5869 GB, free: 9.645 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/0.629, allocations: 0 / 0.5869 GB, free: 9.645 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/0.629, allocations: 7.938 kB / 0.5869 GB, free: 9.637 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/0.6401, allocations: 5.695 MB / 0.5925 GB, free: 3.848 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.78e-05/0.6402, allocations: 8.75 kB / 0.5925 GB, free: 3.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000999/0.6412, allocations: 207.7 kB / 0.5927 GB, free: 3.637 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-05/0.6412, allocations: 16 kB / 0.5927 GB, free: 3.621 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.071e-05/0.6413, allocations: 31.98 kB / 0.5927 GB, free: 3.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.209e-05/0.6413, allocations: 11.94 kB / 0.5927 GB, free: 3.578 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.6414, allocations: 8 kB / 0.5928 GB, free: 3.57 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003537/0.6449, allocations: 3.252 MB / 0.5959 GB, free: 92 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009625/0.6459, allocations: 396.5 kB / 0.5963 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003043/0.6462, allocations: 24 kB / 0.5963 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.6473, allocations: 63.91 kB / 0.5964 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.6474, allocations: 96.33 kB / 0.5965 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.6475, allocations: 46.81 kB / 0.5965 GB, free: 15.46 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004238/0.6518, allocations: 2.391 MB / 0.5989 GB, free: 13.08 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6518, allocations: 0 / 0.5989 GB, free: 13.08 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006142/0.6579, allocations: 1.131 MB / 0.6 GB, free: 11.95 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.000502/0.6585, allocations: 161.2 kB / 0.6001 GB, free: 11.79 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008081/0.6666, allocations: 4.492 MB / 0.6045 GB, free: 7.328 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.6666, allocations: 0 / 0.6045 GB, free: 7.328 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001373/0.668, allocations: 0.9649 MB / 0.6054 GB, free: 6.367 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002052/0.6701, allocations: 334.8 kB / 0.6058 GB, free: 6.039 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01805/0.6881, allocations: 10.28 MB / 0.6158 GB, free: 11.65 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004074/0.6923, allocations: 3.354 MB / 0.6191 GB, free: 8.258 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005763/0.698, allocations: 2.275 MB / 0.6213 GB, free: 5.973 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006408/0.6987, allocations: 239.4 kB / 0.6215 GB, free: 5.738 MB / 494.1 MB Notification: Performance of SimCode: time 1.162e-06/0.6987, allocations: 0 / 0.6215 GB, free: 5.738 MB / 494.1 MB Notification: Performance of Templates: time 0.2435/0.9423, allocations: 24.16 MB / 0.6451 GB, free: 139.3 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: