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.01001/0.01001, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.002333/0.002333, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.491/1.491, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.4214/0.4214, allocations: 39.94 MB / 309.8 MB, free: 9.297 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.001581/0.001581, allocations: 75.91 kB / 435.8 MB, free: 2.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3146, allocations: 56.86 MB / 492.6 MB, free: 19.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01294/0.3276, allocations: 12.44 MB / 0.4932 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01065/0.3383, allocations: 4.048 MB / 0.4972 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004566/0.3429, allocations: 77.97 kB / 0.4973 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005418/0.3484, allocations: 1.688 MB / 0.4989 GB, free: 7.023 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006409/0.3548, allocations: 1.597 MB / 0.5005 GB, free: 5.922 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002923/0.3578, allocations: 1.185 MB / 0.5016 GB, free: 5.137 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00666/0.3645, allocations: 3.618 MB / 0.5052 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003861/0.3684, allocations: 2.526 MB / 0.5076 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002727/0.3712, allocations: 1.219 MB / 0.5088 GB, free: 1.023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003478/0.3747, allocations: 1.659 MB / 0.5104 GB, free: 56 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001827/0.3766, allocations: 253.6 kB / 0.5107 GB, free: 56 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002914/0.3795, allocations: 0.7056 MB / 0.5114 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002451/0.382, allocations: 1.658 MB / 0.513 GB, free: 14.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00362/0.3856, allocations: 1.987 MB / 0.5149 GB, free: 13.31 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01025/0.3959, allocations: 6.506 MB / 0.5213 GB, free: 7.082 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.3959, allocations: 0 / 0.5213 GB, free: 7.082 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.3959, allocations: 0 / 0.5213 GB, free: 7.082 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002567/0.3962, allocations: 4 kB / 0.5213 GB, free: 7.078 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.009399/0.4056, allocations: 4.204 MB / 0.5254 GB, free: 2.805 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.4057, allocations: 15.88 kB / 0.5254 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01035/0.4161, allocations: 3.009 MB / 0.5283 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005069/0.4212, allocations: 1.874 MB / 0.5302 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/0.4213, allocations: 201.3 kB / 0.5304 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007096/0.4221, allocations: 259.8 kB / 0.5306 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0182/0.4403, allocations: 10.52 MB / 0.5409 GB, free: 2.215 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001077/0.4404, allocations: 31.75 kB / 0.5409 GB, free: 2.184 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000902/0.4413, allocations: 131.8 kB / 0.541 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004184/0.4455, allocations: 2.439 MB / 0.5434 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01972/0.4653, allocations: 9.372 MB / 0.5526 GB, free: 6.215 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05829/0.5236, allocations: 38.76 MB / 0.5904 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006737/0.5304, allocations: 3.487 MB / 0.5938 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002359/0.5328, allocations: 1.281 MB / 0.5951 GB, free: 9.215 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01155/0.5444, allocations: 5.445 MB / 0.6004 GB, free: 3.621 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.846e-05/0.5445, allocations: 55.06 kB / 0.6005 GB, free: 3.559 MB / 478.1 MB Notification: Performance of pre-optimization done (n=153): time 5.811e-06/0.5445, allocations: 0 / 0.6005 GB, free: 3.559 MB / 478.1 MB Notification: Performance of matching and sorting (n=153): time 0.007447/0.552, allocations: 3.361 MB / 0.6037 GB, free: 200 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.5521, allocations: 166.7 kB / 0.6039 GB, free: 16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008269/0.5604, allocations: 3.955 MB / 0.6078 GB, free: 12.05 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002705/0.5607, allocations: 41.7 kB / 0.6078 GB, free: 12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002903/0.5636, allocations: 3.312 MB / 0.611 GB, free: 8.641 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009679/0.5646, allocations: 0.6252 MB / 0.6116 GB, free: 8.008 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002964/0.5676, allocations: 1.352 MB / 0.613 GB, free: 6.645 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.5677, allocations: 305.1 kB / 0.6133 GB, free: 6.344 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00341/0.5712, allocations: 2.004 MB / 0.6152 GB, free: 4.336 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007155/0.5783, allocations: 6.303 MB / 0.6214 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01108/0.5894, allocations: 9.069 MB / 0.6302 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000173/0.5897, allocations: 47.94 kB / 0.6303 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of matching and sorting (n=877) (initialization): time 0.3007/0.8903, allocations: 7.915 MB / 0.638 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001658/0.8906, allocations: 72.47 kB / 0.6381 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000434/0.891, allocations: 156.6 kB / 0.6382 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004254/0.8915, allocations: 200.3 kB / 0.6384 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005259/0.8967, allocations: 1.511 MB / 0.6399 GB, free: 119.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003066/0.897, allocations: 300.2 kB / 0.6402 GB, free: 119 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004955/0.902, allocations: 0.9454 MB / 0.6411 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001119/0.9031, allocations: 416.2 kB / 0.6415 GB, free: 118.6 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.004061/0.9072, allocations: 2.284 MB / 0.6437 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006302/0.9079, allocations: 316.3 kB / 0.644 GB, free: 117.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008272/0.9087, allocations: 415.5 kB / 0.6444 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.333e-05/0.9088, allocations: 39.02 kB / 0.6445 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/0.9088, allocations: 1.891 kB / 0.6445 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.9088, allocations: 10.3 kB / 0.6445 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/0.9188, allocations: 5.701 MB / 0.65 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-05/0.9189, allocations: 10.81 kB / 0.65 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009844/0.9199, allocations: 211.2 kB / 0.6502 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.666e-05/0.9199, allocations: 14.11 kB / 0.6503 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.449e-05/0.92, allocations: 26.25 kB / 0.6503 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-05/0.92, allocations: 12.17 kB / 0.6503 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.707e-06/0.92, allocations: 10.59 kB / 0.6503 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002916/0.923, allocations: 2.583 MB / 0.6528 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008552/0.9238, allocations: 380.1 kB / 0.6532 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003127/0.9242, allocations: 28.42 kB / 0.6532 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009952/0.9252, allocations: 72.88 kB / 0.6533 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/0.9253, allocations: 88.62 kB / 0.6534 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.9254, allocations: 44.84 kB / 0.6534 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003658/0.9291, allocations: 2.412 MB / 0.6558 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9291, allocations: 4 kB / 0.6558 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006076/0.9352, allocations: 1.132 MB / 0.6569 GB, free: 112.1 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.0004268/0.9357, allocations: 157.8 kB / 0.657 GB, free: 112 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007536/0.9432, allocations: 4.552 MB / 0.6615 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/0.9433, allocations: 8.188 kB / 0.6615 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001269/0.9445, allocations: 0.9622 MB / 0.6624 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002542/0.9471, allocations: 358.3 kB / 0.6628 GB, free: 110 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0158/0.9629, allocations: 8.614 MB / 0.6712 GB, free: 106 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002926/0.9659, allocations: 3.272 MB / 0.6744 GB, free: 103.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004765/0.9707, allocations: 2.278 MB / 0.6766 GB, free: 101.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006113/0.9713, allocations: 235.4 kB / 0.6768 GB, free: 101.5 MB / 0.4981 GB Notification: Performance of SimCode: time 1.142e-06/0.9713, allocations: 0 / 0.6768 GB, free: 101.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.04089/1.012, allocations: 22.57 MB / 0.6989 GB, free: 78.99 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)