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.007004/0.007004, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001256/0.001256, allocations: 196 kB / 16.67 MB, free: 5.977 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.575/1.575, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.3093/0.3093, allocations: 38 MB / 307.9 MB, free: 10.1 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.001473/0.001473, allocations: 71.89 kB / 433 MB, free: 5.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3185, allocations: 56.45 MB / 489.4 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01187/0.3304, allocations: 12.43 MB / 0.4901 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009662/0.3401, allocations: 4.064 MB / 0.4941 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003415/0.3436, allocations: 80.56 kB / 0.4942 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003528/0.3472, allocations: 1.681 MB / 0.4958 GB, free: 7.609 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004536/0.3517, allocations: 1.586 MB / 0.4973 GB, free: 6.926 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002206/0.354, allocations: 1.191 MB / 0.4985 GB, free: 6.363 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005319/0.3593, allocations: 3.619 MB / 0.502 GB, free: 4.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002736/0.3621, allocations: 2.517 MB / 0.5045 GB, free: 3.207 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001869/0.3639, allocations: 1.218 MB / 0.5057 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002042/0.366, allocations: 1.66 MB / 0.5073 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006202/0.3666, allocations: 259.1 kB / 0.5076 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001687/0.3683, allocations: 0.7056 MB / 0.5083 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001195/0.3695, allocations: 1.659 MB / 0.5099 GB, free: 372 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001909/0.3714, allocations: 1.987 MB / 0.5118 GB, free: 14.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007617/0.3791, allocations: 6.509 MB / 0.5182 GB, free: 10.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3791, allocations: 0 / 0.5182 GB, free: 10.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3791, allocations: 0 / 0.5182 GB, free: 10.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001796/0.3793, allocations: 1.219 kB / 0.5182 GB, free: 10.28 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.008303/0.3876, allocations: 4.2 MB / 0.5223 GB, free: 6.016 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.3877, allocations: 11.89 kB / 0.5223 GB, free: 6.004 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01019/0.3979, allocations: 3.017 MB / 0.5252 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00488/0.4028, allocations: 1.877 MB / 0.5271 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001645/0.403, allocations: 201.3 kB / 0.5273 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000841/0.4038, allocations: 263.8 kB / 0.5275 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0189/0.4227, allocations: 10.51 MB / 0.5378 GB, free: 5.422 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.131e-05/0.4229, allocations: 35.69 kB / 0.5378 GB, free: 5.387 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004842/0.4234, allocations: 131.8 kB / 0.5379 GB, free: 5.258 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003935/0.4273, allocations: 2.443 MB / 0.5403 GB, free: 2.809 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01783/0.4452, allocations: 9.361 MB / 0.5495 GB, free: 9.426 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05527/0.5005, allocations: 38.75 MB / 0.5873 GB, free: 1.492 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006303/0.5068, allocations: 3.491 MB / 0.5907 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001944/0.5088, allocations: 1.281 MB / 0.592 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01088/0.5197, allocations: 5.453 MB / 0.5973 GB, free: 6.824 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.5198, allocations: 51.06 kB / 0.5973 GB, free: 6.766 MB / 478.1 MB Notification: Performance of pre-optimization done (n=153): time 4.148e-06/0.5198, allocations: 0 / 0.5973 GB, free: 6.766 MB / 478.1 MB Notification: Performance of matching and sorting (n=153): time 0.007004/0.5268, allocations: 3.354 MB / 0.6006 GB, free: 3.406 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.866e-05/0.5269, allocations: 170.8 kB / 0.6008 GB, free: 3.203 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005536/0.5324, allocations: 3.959 MB / 0.6046 GB, free: 15.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001433/0.5326, allocations: 41.7 kB / 0.6047 GB, free: 15.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002269/0.5349, allocations: 3.316 MB / 0.6079 GB, free: 11.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007128/0.5356, allocations: 0.6253 MB / 0.6085 GB, free: 11.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001611/0.5372, allocations: 1.344 MB / 0.6098 GB, free: 9.852 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.38e-05/0.5373, allocations: 309.1 kB / 0.6101 GB, free: 9.547 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002681/0.54, allocations: 2 MB / 0.6121 GB, free: 7.543 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005442/0.5455, allocations: 6.307 MB / 0.6182 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01039/0.5559, allocations: 9.061 MB / 0.6271 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001586/0.5561, allocations: 44 kB / 0.6271 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of matching and sorting (n=877) (initialization): time 0.2962/0.8523, allocations: 7.919 MB / 0.6349 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001525/0.8525, allocations: 73.3 kB / 0.6349 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003322/0.8528, allocations: 151.8 kB / 0.6351 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003782/0.8532, allocations: 205.5 kB / 0.6353 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005687/0.8589, allocations: 1.51 MB / 0.6368 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002633/0.8592, allocations: 300.5 kB / 0.637 GB, free: 120.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005734/0.8649, allocations: 0.9474 MB / 0.638 GB, free: 120 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00114/0.8661, allocations: 413.6 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.005121/0.8712, allocations: 2.274 MB / 0.6406 GB, free: 119.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006879/0.8719, allocations: 320.5 kB / 0.6409 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007141/0.8726, allocations: 422.4 kB / 0.6413 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.311e-05/0.8727, allocations: 42.05 kB / 0.6413 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-05/0.8727, allocations: 2.953 kB / 0.6413 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.582e-05/0.8728, allocations: 10.88 kB / 0.6413 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01123/0.884, allocations: 5.698 MB / 0.6469 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.675e-05/0.8841, allocations: 10.83 kB / 0.6469 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009841/0.885, allocations: 208 kB / 0.6471 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.557e-05/0.8851, allocations: 11 kB / 0.6471 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.032e-05/0.8852, allocations: 33.36 kB / 0.6472 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.478e-05/0.8852, allocations: 16.77 kB / 0.6472 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.8852, allocations: 10.81 kB / 0.6472 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003247/0.8885, allocations: 2.583 MB / 0.6497 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008965/0.8894, allocations: 386.4 kB / 0.6501 GB, free: 114.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003087/0.8897, allocations: 25.45 kB / 0.6501 GB, free: 114.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.8907, allocations: 70.34 kB / 0.6502 GB, free: 114.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/0.8909, allocations: 85.56 kB / 0.6502 GB, free: 114.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.891, allocations: 46.97 kB / 0.6503 GB, free: 114.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004334/0.8954, allocations: 2.408 MB / 0.6526 GB, free: 114 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.01e-07/0.8954, allocations: 1.156 kB / 0.6526 GB, free: 114 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006303/0.9017, allocations: 1.137 MB / 0.6538 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.0003839/0.9021, allocations: 160.2 kB / 0.6539 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007639/0.9097, allocations: 4.55 MB / 0.6584 GB, free: 112.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-05/0.9098, allocations: 0 / 0.6584 GB, free: 112.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001506/0.9113, allocations: 0.9671 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.002469/0.9138, allocations: 357.4 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.01343/0.9272, allocations: 8.609 MB / 0.668 GB, free: 107.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002911/0.9302, allocations: 3.286 MB / 0.6713 GB, free: 106.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004343/0.9345, allocations: 2.279 MB / 0.6735 GB, free: 106.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005715/0.9351, allocations: 229.4 kB / 0.6737 GB, free: 106.1 MB / 0.4981 GB Notification: Performance of SimCode: time 1.222e-06/0.9351, allocations: 0 / 0.6737 GB, free: 106.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.0438/0.9789, allocations: 21.75 MB / 0.6949 GB, free: 85.78 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)