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.007942/0.007942, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001541/0.001541, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.531/1.531, allocations: 205.1 MB / 222.5 MB, free: 4.387 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.346/0.346, allocations: 39.94 MB / 309.8 MB, free: 9.652 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.002357/0.002357, allocations: 71.91 kB / 435.8 MB, free: 2.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3292, allocations: 56.87 MB / 492.6 MB, free: 19.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01163/0.3409, allocations: 12.43 MB / 0.4932 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008373/0.3493, allocations: 4.047 MB / 0.4972 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003044/0.3524, allocations: 76.88 kB / 0.4973 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003686/0.3561, allocations: 1.689 MB / 0.4989 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004744/0.3609, allocations: 1.592 MB / 0.5005 GB, free: 6.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002322/0.3632, allocations: 1.185 MB / 0.5016 GB, free: 5.293 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005794/0.369, allocations: 3.627 MB / 0.5052 GB, free: 3.352 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003911/0.373, allocations: 2.522 MB / 0.5076 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002531/0.3755, allocations: 1.221 MB / 0.5088 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002483/0.378, allocations: 1.66 MB / 0.5104 GB, free: 208 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009474/0.379, allocations: 253.3 kB / 0.5107 GB, free: 208 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002049/0.3811, allocations: 0.7099 MB / 0.5114 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002125/0.3832, allocations: 1.654 MB / 0.513 GB, free: 15.01 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002667/0.3859, allocations: 1.983 MB / 0.5149 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01024/0.3961, allocations: 6.534 MB / 0.5213 GB, free: 7.168 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/0.3962, allocations: 3.938 kB / 0.5213 GB, free: 7.164 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3962, allocations: 0 / 0.5213 GB, free: 7.164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002297/0.3964, allocations: 0 / 0.5213 GB, free: 7.164 MB / 398.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.009072/0.4055, allocations: 4.313 MB / 0.5255 GB, free: 2.773 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/0.4056, allocations: 15.89 kB / 0.5255 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01032/0.4159, allocations: 3.043 MB / 0.5285 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004019/0.42, allocations: 1.882 MB / 0.5304 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/0.4202, allocations: 205.3 kB / 0.5305 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006779/0.4208, allocations: 263.8 kB / 0.5308 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01973/0.4406, allocations: 10.52 MB / 0.5411 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.496e-05/0.4407, allocations: 31.69 kB / 0.5411 GB, free: 2.102 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004689/0.4412, allocations: 131.8 kB / 0.5412 GB, free: 1.973 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004079/0.4453, allocations: 2.431 MB / 0.5436 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01865/0.464, allocations: 9.361 MB / 0.5527 GB, free: 6.152 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04988/0.5139, allocations: 38.82 MB / 0.5907 GB, free: 14.16 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00607/0.52, allocations: 3.502 MB / 0.5941 GB, free: 10.39 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001936/0.522, allocations: 1.285 MB / 0.5953 GB, free: 9.078 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01141/0.5334, allocations: 5.466 MB / 0.6007 GB, free: 3.465 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.212e-05/0.5336, allocations: 47.06 kB / 0.6007 GB, free: 3.41 MB / 478.1 MB Notification: Performance of pre-optimization done (n=153): time 6.463e-06/0.5336, allocations: 0 / 0.6007 GB, free: 3.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=153): time 0.007447/0.541, allocations: 3.376 MB / 0.604 GB, free: 32 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/0.5412, allocations: 174.7 kB / 0.6042 GB, free: 15.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00691/0.5481, allocations: 3.961 MB / 0.608 GB, free: 11.88 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002327/0.5484, allocations: 45.7 kB / 0.6081 GB, free: 11.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002794/0.5512, allocations: 3.469 MB / 0.6115 GB, free: 8.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000923/0.5521, allocations: 0.6438 MB / 0.6121 GB, free: 7.672 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001795/0.5539, allocations: 1.357 MB / 0.6134 GB, free: 6.305 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.5541, allocations: 309 kB / 0.6137 GB, free: 6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002762/0.5568, allocations: 2 MB / 0.6157 GB, free: 3.996 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005659/0.5625, allocations: 6.307 MB / 0.6218 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01071/0.5732, allocations: 9.061 MB / 0.6307 GB, free: 336 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000136/0.5734, allocations: 44 kB / 0.6307 GB, free: 292 kB / 0.4981 GB Notification: Performance of matching and sorting (n=877) (initialization): time 0.3041/0.8776, allocations: 7.943 MB / 0.6385 GB, free: 119.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001244/0.8777, allocations: 70 kB / 0.6386 GB, free: 119.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002501/0.878, allocations: 154.2 kB / 0.6387 GB, free: 119.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003017/0.8783, allocations: 200.2 kB / 0.6389 GB, free: 119.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00476/0.8831, allocations: 1.513 MB / 0.6404 GB, free: 119.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003204/0.8834, allocations: 300.2 kB / 0.6407 GB, free: 119.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004765/0.8882, allocations: 0.9695 MB / 0.6416 GB, free: 119 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008025/0.889, allocations: 423.6 kB / 0.642 GB, free: 118.9 MB / 0.4981 GB 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.003682/0.8927, allocations: 2.272 MB / 0.6442 GB, free: 117.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006665/0.8934, allocations: 338.3 kB / 0.6445 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008135/0.8942, allocations: 416 kB / 0.6449 GB, free: 117.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.767e-05/0.8943, allocations: 40.89 kB / 0.645 GB, free: 117.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/0.8943, allocations: 3.203 kB / 0.645 GB, free: 117.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.8943, allocations: 9.266 kB / 0.645 GB, free: 117.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009256/0.9036, allocations: 5.7 MB / 0.6506 GB, free: 115.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/0.9036, allocations: 6.594 kB / 0.6506 GB, free: 115.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000954/0.9046, allocations: 214 kB / 0.6508 GB, free: 115.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.681e-05/0.9046, allocations: 9.875 kB / 0.6508 GB, free: 115.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-05/0.9047, allocations: 26.12 kB / 0.6508 GB, free: 115.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.68e-05/0.9047, allocations: 16.94 kB / 0.6508 GB, free: 115.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-06/0.9047, allocations: 11 kB / 0.6508 GB, free: 115.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003328/0.9081, allocations: 2.61 MB / 0.6534 GB, free: 113.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/0.9092, allocations: 403 kB / 0.6538 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004105/0.9096, allocations: 27.05 kB / 0.6538 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/0.9107, allocations: 67.91 kB / 0.6539 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/0.9109, allocations: 88.17 kB / 0.6539 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/0.9111, allocations: 45.28 kB / 0.654 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004671/0.9157, allocations: 2.411 MB / 0.6563 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9158, allocations: 0 / 0.6563 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008079/0.9239, allocations: 1.146 MB / 0.6575 GB, free: 112.6 MB / 0.4981 GB 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.0006662/0.9246, allocations: 161.8 kB / 0.6576 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007801/0.9324, allocations: 4.556 MB / 0.6621 GB, free: 111 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.616e-05/0.9324, allocations: 0 / 0.6621 GB, free: 111 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.9336, allocations: 0.9635 MB / 0.663 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003277/0.9369, allocations: 363.5 kB / 0.6634 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0163/0.9532, allocations: 8.739 MB / 0.6719 GB, free: 106.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004044/0.9573, allocations: 3.277 MB / 0.6751 GB, free: 103.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004993/0.9623, allocations: 2.276 MB / 0.6773 GB, free: 101.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007151/0.9631, allocations: 235.3 kB / 0.6775 GB, free: 101.3 MB / 0.4981 GB Notification: Performance of SimCode: time 2.464e-06/0.9631, allocations: 0 / 0.6775 GB, free: 101.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.04444/1.008, allocations: 22.58 MB / 0.6996 GB, free: 78.82 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (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)