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.0112/0.0112, allocations: 99.73 kB / 15.73 MB, free: 5.594 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.00188/0.00188, allocations: 197.2 kB / 16.67 MB, free: 5.527 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.496/1.496, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1799/0.1799, allocations: 38 MB / 307.9 MB, free: 5.992 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.00154/0.00154, allocations: 71.91 kB / 433 MB, free: 14.44 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09772/0.09927, allocations: 56.47 MB / 489.4 MB, free: 5.895 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01463/0.1139, allocations: 12.43 MB / 0.4901 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01036/0.1243, allocations: 4.07 MB / 0.4941 GB, free: 5.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003508/0.128, allocations: 75.88 kB / 0.4942 GB, free: 5.246 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004069/0.1321, allocations: 1.674 MB / 0.4958 GB, free: 3.566 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004569/0.1367, allocations: 1.638 MB / 0.4974 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002504/0.1392, allocations: 1.181 MB / 0.4985 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004902/0.1441, allocations: 3.615 MB / 0.5021 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003367/0.1475, allocations: 2.528 MB / 0.5045 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001988/0.1495, allocations: 1.218 MB / 0.5057 GB, free: 9.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002452/0.152, allocations: 1.662 MB / 0.5074 GB, free: 7.645 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008221/0.1528, allocations: 256 kB / 0.5076 GB, free: 7.395 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00174/0.1546, allocations: 0.7139 MB / 0.5083 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001866/0.1565, allocations: 1.652 MB / 0.5099 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002607/0.1591, allocations: 1.987 MB / 0.5119 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2681/0.4272, allocations: 6.503 MB / 0.5182 GB, free: 11.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.388e-06/0.4273, allocations: 0.5625 kB / 0.5182 GB, free: 11.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.4273, allocations: 0 / 0.5182 GB, free: 11.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002513/0.4276, allocations: 1.375 kB / 0.5182 GB, free: 11.94 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.01136/0.4389, allocations: 4.193 MB / 0.5223 GB, free: 10.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.439, allocations: 13.08 kB / 0.5223 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01069/0.4497, allocations: 3.015 MB / 0.5253 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006073/0.4558, allocations: 1.878 MB / 0.5271 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003239/0.4562, allocations: 199.2 kB / 0.5273 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001164/0.4574, allocations: 258.4 kB / 0.5275 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01806/0.4754, allocations: 10.53 MB / 0.5378 GB, free: 6.164 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.168e-05/0.4755, allocations: 30.38 kB / 0.5378 GB, free: 6.164 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004689/0.476, allocations: 136.6 kB / 0.538 GB, free: 6.117 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003481/0.4795, allocations: 2.436 MB / 0.5403 GB, free: 5.711 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01624/0.4958, allocations: 9.367 MB / 0.5495 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0615/0.5573, allocations: 38.74 MB / 0.5873 GB, free: 10.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006462/0.5638, allocations: 3.494 MB / 0.5907 GB, free: 6.422 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002011/0.5658, allocations: 1.273 MB / 0.592 GB, free: 5.133 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009488/0.5753, allocations: 5.458 MB / 0.5973 GB, free: 15.58 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.5754, allocations: 47.12 kB / 0.5974 GB, free: 15.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=153): time 5.36e-06/0.5754, allocations: 4 kB / 0.5974 GB, free: 15.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=153): time 0.006955/0.5824, allocations: 3.358 MB / 0.6006 GB, free: 12.17 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.631e-05/0.5825, allocations: 166.8 kB / 0.6008 GB, free: 11.97 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006261/0.5888, allocations: 3.955 MB / 0.6047 GB, free: 8.031 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002451/0.5891, allocations: 44.67 kB / 0.6047 GB, free: 7.984 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002364/0.5914, allocations: 3.319 MB / 0.6079 GB, free: 4.68 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008486/0.5923, allocations: 0.621 MB / 0.6086 GB, free: 4.066 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001879/0.5942, allocations: 1.35 MB / 0.6099 GB, free: 2.711 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.5943, allocations: 305.1 kB / 0.6102 GB, free: 2.41 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002972/0.5973, allocations: 2.006 MB / 0.6121 GB, free: 416 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006008/0.6033, allocations: 6.307 MB / 0.6183 GB, free: 8.023 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009889/0.6132, allocations: 9.062 MB / 0.6271 GB, free: 13.44 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001218/0.6134, allocations: 44.88 kB / 0.6272 GB, free: 13.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01334/0.6267, allocations: 7.926 MB / 0.6349 GB, free: 5.727 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.6269, allocations: 72 kB / 0.635 GB, free: 5.656 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001629/0.627, allocations: 152 kB / 0.6351 GB, free: 5.508 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001971/0.6272, allocations: 203.9 kB / 0.6353 GB, free: 5.309 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004837/0.6321, allocations: 1.504 MB / 0.6368 GB, free: 3.805 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002168/0.6323, allocations: 304.7 kB / 0.6371 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004741/0.6371, allocations: 0.9391 MB / 0.638 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007175/0.6378, allocations: 422.8 kB / 0.6384 GB, free: 2.148 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00384/0.6416, allocations: 2.297 MB / 0.6406 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006358/0.6423, allocations: 319.6 kB / 0.6409 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009669/0.6433, allocations: 412.2 kB / 0.6413 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.266e-05/0.6433, allocations: 39.98 kB / 0.6414 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.6434, allocations: 0 / 0.6414 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.6434, allocations: 9.625 kB / 0.6414 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01126/0.6546, allocations: 5.702 MB / 0.647 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/0.6547, allocations: 8 kB / 0.647 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000951/0.6557, allocations: 211.7 kB / 0.6472 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.367e-05/0.6557, allocations: 12 kB / 0.6472 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.043e-05/0.6558, allocations: 28 kB / 0.6472 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.146e-05/0.6558, allocations: 11.94 kB / 0.6472 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.796e-06/0.6558, allocations: 11.94 kB / 0.6472 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00301/0.6588, allocations: 2.588 MB / 0.6498 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007197/0.6595, allocations: 392.4 kB / 0.6501 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002842/0.6598, allocations: 27.98 kB / 0.6502 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009511/0.6608, allocations: 61.95 kB / 0.6502 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/0.661, allocations: 92.28 kB / 0.6503 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.6611, allocations: 43.44 kB / 0.6503 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003974/0.6651, allocations: 2.411 MB / 0.6527 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6651, allocations: 1.641 kB / 0.6527 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005873/0.671, allocations: 1.129 MB / 0.6538 GB, free: 2.172 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.0004546/0.6714, allocations: 161.3 kB / 0.654 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007085/0.6785, allocations: 4.548 MB / 0.6584 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/0.6786, allocations: 4 kB / 0.6584 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.6798, allocations: 0.9622 MB / 0.6593 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/0.6818, allocations: 362.8 kB / 0.6597 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01444/0.6962, allocations: 8.608 MB / 0.6681 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003943/0.7002, allocations: 3.276 MB / 0.6713 GB, free: 148 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004965/0.7052, allocations: 2.281 MB / 0.6735 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005822/0.7058, allocations: 227.4 kB / 0.6737 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of SimCode: time 2.314e-06/0.7058, allocations: 0 / 0.6737 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of Templates: time 0.05097/0.7568, allocations: 22.58 MB / 0.6958 GB, free: 7.191 MB / 0.545 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)