Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Bodies.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.InitializationConversion.Bodies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Bodies") translateModel(ModelicaTest.MultiBody.InitializationConversion.Bodies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Bodies") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001218/0.001218, allocations: 179 kB / 7.652 MB, free: 1.398 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.323/1.323, allocations: 194.3 MB / 202.4 MB, free: 8.539 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001666/0.001666, allocations: 119.4 kB / 247.4 MB, free: 6.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2146/0.2146, allocations: 39.94 MB / 332.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.709e-05/1.712e-05, allocations: 0 / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1127, allocations: 54.88 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4318/0.5445, allocations: 94.61 MB / 0.5301 GB, free: 5.684 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.5448, allocations: 79.02 kB / 0.5301 GB, free: 5.645 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2605/0.8054, allocations: 100.8 MB / 0.6286 GB, free: 8.613 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.8054, allocations: 0 / 0.6286 GB, free: 8.613 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002615/0.8057, allocations: 88 kB / 0.6287 GB, free: 8.527 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1495 * Number of variables: 1495 Notification: Performance of Generate backend data structure: time 0.03193/0.8376, allocations: 6.368 MB / 0.6349 GB, free: 2.094 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.8377, allocations: 12.03 kB / 0.6349 GB, free: 2.082 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03136/0.8691, allocations: 7.353 MB / 0.6421 GB, free: 10.71 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04509/0.9142, allocations: 18.24 MB / 0.6599 GB, free: 8.375 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003129/0.9146, allocations: 132 kB / 0.66 GB, free: 8.246 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002701/0.9173, allocations: 275.7 kB / 0.6603 GB, free: 7.977 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01464/0.9319, allocations: 6.193 MB / 0.6663 GB, free: 1.777 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3418/1.274, allocations: 9.532 MB / 0.6756 GB, free: 102.5 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002471/1.274, allocations: 79.08 kB / 0.6757 GB, free: 102.5 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005342/1.275, allocations: 33.12 kB / 0.6757 GB, free: 102.5 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0019/1.277, allocations: 1.053 MB / 0.6768 GB, free: 102.5 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0541/1.331, allocations: 49.3 MB / 0.7249 GB, free: 72.73 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004075/1.335, allocations: 3.186 MB / 0.728 GB, free: 71.98 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002147/1.337, allocations: 1.905 MB / 0.7299 GB, free: 71.91 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/1.337, allocations: 26.41 kB / 0.7299 GB, free: 71.91 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/1.337, allocations: 64.09 kB / 0.73 GB, free: 71.87 MB / 474.7 MB Notification: Performance of pre-optimization done (n=188): time 5.25e-06/1.337, allocations: 0 / 0.73 GB, free: 71.87 MB / 474.7 MB Notification: Performance of matching and sorting (n=216): time 0.03721/1.374, allocations: 18.82 MB / 0.7483 GB, free: 63.66 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/1.375, allocations: 326.9 kB / 0.7487 GB, free: 63.29 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006542/1.381, allocations: 3.976 MB / 0.7525 GB, free: 61.86 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006345/1.382, allocations: 28.2 kB / 0.7526 GB, free: 61.83 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002154/1.384, allocations: 3.549 MB / 0.756 GB, free: 59.25 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0013/1.385, allocations: 0.8904 MB / 0.7569 GB, free: 58.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002869/1.386, allocations: 0 / 0.7569 GB, free: 58.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004064/1.386, allocations: 0.6194 MB / 0.7575 GB, free: 58.16 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003706/1.39, allocations: 2.912 MB / 0.7604 GB, free: 57.15 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006121/1.396, allocations: 7.316 MB / 0.7675 GB, free: 50.18 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005442/1.401, allocations: 4.513 MB / 0.7719 GB, free: 48.78 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.344e-05/1.401, allocations: 42.81 kB / 0.7719 GB, free: 48.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=970) (initialization): time 0.0437/1.445, allocations: 14.72 MB / 0.7863 GB, free: 45.01 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/1.445, allocations: 70.31 kB / 0.7864 GB, free: 45.01 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03147/1.477, allocations: 8.807 MB / 0.795 GB, free: 39.04 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03488/1.512, allocations: 6.675 MB / 0.8015 GB, free: 35.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005826/1.518, allocations: 1.732 MB / 0.8032 GB, free: 33.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01819/1.536, allocations: 15.22 MB / 0.8181 GB, free: 17.96 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01032/1.546, allocations: 0.647 MB / 0.8187 GB, free: 17.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001694/1.548, allocations: 471.9 kB / 0.8191 GB, free: 16.86 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 718 * Number of states: 0 () * Number of discrete variables: 36 (body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],body1.frameTranslation.color[3],body1.frameTranslation.color[2],body1.frameTranslation.color[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (894): * Single equations (assignments): 869 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001271/1.549, allocations: 0.4945 MB / 0.8196 GB, free: 16.35 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001036/1.55, allocations: 430.5 kB / 0.82 GB, free: 15.93 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/1.552, allocations: 0.5691 MB / 0.8206 GB, free: 15.36 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01335/1.565, allocations: 5.878 MB / 0.8263 GB, free: 9.422 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.394e-05/1.565, allocations: 16 kB / 0.8263 GB, free: 9.406 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.052e-05/1.565, allocations: 7.969 kB / 0.8264 GB, free: 9.398 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0193/1.584, allocations: 9.861 MB / 0.836 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.369e-05/1.584, allocations: 7.469 kB / 0.836 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002296/1.587, allocations: 439.6 kB / 0.8364 GB, free: 15.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01315/1.6, allocations: 3.534 MB / 0.8399 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006406/1.601, allocations: 63.91 kB / 0.8399 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3639/1.964, allocations: 13.38 MB / 0.853 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003189/1.968, allocations: 5.612 MB / 0.8585 GB, free: 99.36 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02213/1.99, allocations: 10.44 MB / 0.8687 GB, free: 97.95 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00171/1.992, allocations: 0.5036 MB / 0.8692 GB, free: 97.85 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006809/1.992, allocations: 38.52 kB / 0.8692 GB, free: 97.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002991/1.995, allocations: 315 kB / 0.8695 GB, free: 97.85 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005403/1.996, allocations: 182.5 kB / 0.8697 GB, free: 97.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001926/1.996, allocations: 73.91 kB / 0.8697 GB, free: 97.85 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004615/2.001, allocations: 2.71 MB / 0.8724 GB, free: 97.67 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/2.001, allocations: 0 / 0.8724 GB, free: 97.67 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008516/2.009, allocations: 1.545 MB / 0.8739 GB, free: 97.67 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 54 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],body3.v_0[1],body3.v_0[2],body3.v_0[3],body3.body.frame_a.r_0[1],body3.body.frame_a.r_0[2],body3.body.frame_a.r_0[3],body3.body.w_a[1],body3.body.w_a[2],body3.body.w_a[3],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.body.frame_a.r_0[1],body2.body.frame_a.r_0[2],body2.body.frame_a.r_0[3],body2.body.w_a[1],body2.body.w_a[2],body2.body.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.body.frame_a.r_0[1],body1.body.frame_a.r_0[2],body1.body.frame_a.r_0[3],body1.body.w_a[1],body1.body.w_a[2],body1.body.w_a[3],pointMass.r_0[1],pointMass.r_0[2],pointMass.r_0[3],pointMass.v_0[1],pointMass.v_0[2],pointMass.v_0[3],$STATESET0.x[3],$STATESET0.x[2],$STATESET0.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 139 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005598/2.01, allocations: 187.8 kB / 0.8741 GB, free: 97.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01474/2.025, allocations: 8.799 MB / 0.8827 GB, free: 96.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/2.025, allocations: 2.031 kB / 0.8827 GB, free: 96.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00754/2.032, allocations: 4.537 MB / 0.8871 GB, free: 94.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003926/2.036, allocations: 0.5606 MB / 0.8876 GB, free: 94.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02034/2.057, allocations: 12.14 MB / 0.8995 GB, free: 91.14 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003658/2.06, allocations: 3.789 MB / 0.9032 GB, free: 90.31 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005632/2.066, allocations: 2.3 MB / 0.9054 GB, free: 90.13 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009428/2.067, allocations: 313.1 kB / 0.9057 GB, free: 90.12 MB / 490.7 MB Notification: Performance of SimCode: time 1.112e-06/2.067, allocations: 0 / 0.9057 GB, free: 90.12 MB / 490.7 MB Notification: Performance of Templates: time 0.09984/2.167, allocations: 58.97 MB / 0.9633 GB, free: 61.43 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Bodies.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Bodies.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Bodies -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe 2>&1)