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.01066/0.01066, allocations: 99.8 kB / 15.73 MB, free: 6.5 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.002359/0.002359, allocations: 198.7 kB / 16.68 MB, free: 6.375 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.657/1.657, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.3472/0.3472, allocations: 38 MB / 307.9 MB, free: 10.17 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.001468/0.001468, allocations: 67.84 kB / 433 MB, free: 5.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3114, allocations: 56.47 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.0123/0.3238, allocations: 12.42 MB / 0.4901 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009276/0.3331, allocations: 4.055 MB / 0.4941 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003222/0.3364, allocations: 81.69 kB / 0.4942 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004046/0.3405, allocations: 1.682 MB / 0.4958 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005972/0.3465, allocations: 1.596 MB / 0.4974 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003246/0.3498, allocations: 1.188 MB / 0.4985 GB, free: 6.371 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006422/0.3562, allocations: 3.618 MB / 0.502 GB, free: 4.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003692/0.3599, allocations: 2.515 MB / 0.5045 GB, free: 3.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002454/0.3624, allocations: 1.221 MB / 0.5057 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002352/0.3648, allocations: 1.659 MB / 0.5073 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008069/0.3656, allocations: 254.4 kB / 0.5076 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001638/0.3673, allocations: 0.7133 MB / 0.5083 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00151/0.3688, allocations: 1.642 MB / 0.5099 GB, free: 352 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002365/0.3711, allocations: 1.988 MB / 0.5118 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.3812, allocations: 6.509 MB / 0.5182 GB, free: 10.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.3812, allocations: 3.984 kB / 0.5182 GB, free: 10.26 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3812, allocations: 0 / 0.5182 GB, free: 10.26 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002776/0.3815, allocations: 1.188 kB / 0.5182 GB, free: 10.26 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.01654/0.3981, allocations: 4.196 MB / 0.5223 GB, free: 6.008 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.3982, allocations: 15.89 kB / 0.5223 GB, free: 5.992 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01068/0.4088, allocations: 3.013 MB / 0.5252 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004666/0.4136, allocations: 1.873 MB / 0.527 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/0.4137, allocations: 205.3 kB / 0.5272 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006426/0.4144, allocations: 267.7 kB / 0.5275 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01669/0.4311, allocations: 10.51 MB / 0.5378 GB, free: 5.406 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.647e-05/0.4312, allocations: 31.69 kB / 0.5378 GB, free: 5.375 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004086/0.4316, allocations: 131.8 kB / 0.5379 GB, free: 5.246 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003763/0.4354, allocations: 2.447 MB / 0.5403 GB, free: 2.793 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01867/0.4541, allocations: 9.365 MB / 0.5495 GB, free: 9.406 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05479/0.5089, allocations: 38.75 MB / 0.5873 GB, free: 1.473 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006437/0.5154, allocations: 3.485 MB / 0.5907 GB, free: 13.72 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002146/0.5176, allocations: 1.277 MB / 0.5919 GB, free: 12.42 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0112/0.5288, allocations: 5.457 MB / 0.5973 GB, free: 6.812 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.52e-05/0.5289, allocations: 47.06 kB / 0.5973 GB, free: 6.758 MB / 478.1 MB Notification: Performance of pre-optimization done (n=153): time 6.563e-06/0.5289, allocations: 0 / 0.5973 GB, free: 6.758 MB / 478.1 MB Notification: Performance of matching and sorting (n=153): time 0.007556/0.5365, allocations: 3.358 MB / 0.6006 GB, free: 3.395 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.716e-05/0.5366, allocations: 170.8 kB / 0.6008 GB, free: 3.191 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006311/0.5429, allocations: 3.959 MB / 0.6046 GB, free: 15.24 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002135/0.5432, allocations: 41.7 kB / 0.6047 GB, free: 15.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002431/0.5456, allocations: 3.32 MB / 0.6079 GB, free: 11.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000851/0.5465, allocations: 0.6175 MB / 0.6085 GB, free: 11.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001773/0.5482, allocations: 1.348 MB / 0.6098 GB, free: 9.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.5484, allocations: 309.1 kB / 0.6101 GB, free: 9.535 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002813/0.5512, allocations: 2 MB / 0.6121 GB, free: 7.531 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007048/0.5582, allocations: 6.303 MB / 0.6182 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01306/0.5713, allocations: 9.065 MB / 0.6271 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001745/0.5716, allocations: 44 kB / 0.6271 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=877) (initialization): time 0.3276/0.8992, allocations: 7.923 MB / 0.6349 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000182/0.8994, allocations: 71.55 kB / 0.6349 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004074/0.8999, allocations: 152.8 kB / 0.6351 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004479/0.9003, allocations: 201.3 kB / 0.6353 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006258/0.9066, allocations: 1.511 MB / 0.6367 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003567/0.907, allocations: 296 kB / 0.637 GB, free: 120.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007103/0.9141, allocations: 0.9468 MB / 0.638 GB, free: 120 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002051/0.9162, allocations: 417.3 kB / 0.6384 GB, free: 120 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.006899/0.9231, allocations: 2.279 MB / 0.6406 GB, free: 119.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001003/0.9241, allocations: 317.7 kB / 0.6409 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/0.9253, allocations: 420.2 kB / 0.6413 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.955e-05/0.9253, allocations: 36.92 kB / 0.6413 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-05/0.9254, allocations: 3.453 kB / 0.6413 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/0.9254, allocations: 11.67 kB / 0.6413 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01365/0.9391, allocations: 5.699 MB / 0.6469 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-05/0.9391, allocations: 7.188 kB / 0.6469 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.9402, allocations: 208.3 kB / 0.6471 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.082e-05/0.9402, allocations: 10.41 kB / 0.6471 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/0.9404, allocations: 40.42 kB / 0.6472 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-05/0.9404, allocations: 16.59 kB / 0.6472 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/0.9404, allocations: 10.31 kB / 0.6472 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004153/0.9446, allocations: 2.573 MB / 0.6497 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/0.9457, allocations: 387.2 kB / 0.6501 GB, free: 114.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003456/0.946, allocations: 35.59 kB / 0.6501 GB, free: 114.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/0.9472, allocations: 71.09 kB / 0.6502 GB, free: 114.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002227/0.9474, allocations: 81.16 kB / 0.6502 GB, free: 114.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/0.9476, allocations: 52.17 kB / 0.6503 GB, free: 114.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005892/0.9535, allocations: 2.409 MB / 0.6526 GB, free: 114 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9535, allocations: 1 kB / 0.6526 GB, free: 114 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008722/0.9622, allocations: 1.136 MB / 0.6537 GB, free: 113.7 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.000685/0.9629, allocations: 156.8 kB / 0.6539 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01065/0.9736, allocations: 4.559 MB / 0.6584 GB, free: 112.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.617e-05/0.9736, allocations: 1.594 kB / 0.6584 GB, free: 112.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00178/0.9754, allocations: 0.9651 MB / 0.6593 GB, free: 111.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002742/0.9782, allocations: 354.6 kB / 0.6596 GB, free: 111.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01662/0.9948, allocations: 8.614 MB / 0.668 GB, free: 107.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00356/0.9984, allocations: 3.279 MB / 0.6712 GB, free: 106.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004501/1.003, allocations: 2.278 MB / 0.6735 GB, free: 106.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005928/1.004, allocations: 227.3 kB / 0.6737 GB, free: 106.1 MB / 0.4981 GB Notification: Performance of SimCode: time 1.102e-06/1.004, allocations: 0 / 0.6737 GB, free: 106.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.04479/1.048, allocations: 22.59 MB / 0.6957 GB, free: 84.86 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (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)