Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity.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.Frames.AngularVelocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity") translateModel(ModelicaTest.MultiBody.Frames.AngularVelocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 102.4 kB / 15.06 MB, free: 1.098 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.001367/0.001368, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.3259/0.3259, allocations: 39.99 MB / 310.4 MB, free: 9.656 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.000558/0.0005581, allocations: 16 kB / 378.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1239, allocations: 57.95 MB / 436.8 MB, free: 2.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.2587/0.3827, allocations: 43.12 MB / 479.9 MB, free: 27.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02018/0.4029, allocations: 10.51 MB / 490.4 MB, free: 20.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0114/0.4144, allocations: 213.4 kB / 490.6 MB, free: 20.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008232/0.4226, allocations: 2.123 MB / 492.7 MB, free: 19.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02341/0.4461, allocations: 6.196 MB / 498.9 MB, free: 16.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004981/0.4511, allocations: 0.5801 MB / 499.5 MB, free: 16.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004132/0.4552, allocations: 2.16 MB / 0.4899 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006467/0.4617, allocations: 4.63 MB / 0.4944 GB, free: 13.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001962/0.4637, allocations: 1.026 MB / 0.4954 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002125/0.4659, allocations: 1.333 MB / 0.4967 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005762/0.4664, allocations: 146 kB / 0.4969 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00205/0.4685, allocations: 0.8842 MB / 0.4977 GB, free: 13.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001847/0.4704, allocations: 1.603 MB / 0.4993 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001046/0.4714, allocations: 0.8647 MB / 0.5001 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007533/0.479, allocations: 5.655 MB / 0.5057 GB, free: 9.984 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.479, allocations: 0 / 0.5057 GB, free: 9.984 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.479, allocations: 3.984 kB / 0.5057 GB, free: 9.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002045/0.4792, allocations: 1.125 kB / 0.5057 GB, free: 9.98 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.01017/0.4894, allocations: 4.038 MB / 0.5096 GB, free: 7.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.4894, allocations: 13.41 kB / 0.5096 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008522/0.498, allocations: 2.291 MB / 0.5118 GB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005899/0.5039, allocations: 2.456 MB / 0.5142 GB, free: 4.449 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001929/0.5041, allocations: 254.7 kB / 0.5145 GB, free: 4.328 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001144/0.5053, allocations: 428.4 kB / 0.5149 GB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01751/0.5228, allocations: 10.5 MB / 0.5252 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001004/0.5229, allocations: 39.59 kB / 0.5252 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005112/0.5235, allocations: 159.9 kB / 0.5253 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002731/0.5262, allocations: 1.943 MB / 0.5272 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01731/0.5435, allocations: 8.743 MB / 0.5358 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05137/0.5949, allocations: 40.57 MB / 0.5754 GB, free: 7.586 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009586/0.6045, allocations: 3.821 MB / 0.5791 GB, free: 3.617 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01293/0.6175, allocations: 8.325 MB / 0.5873 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/0.6176, allocations: 63.48 kB / 0.5873 GB, free: 10.79 MB / 462.1 MB Notification: Performance of pre-optimization done (n=153): time 4.369e-06/0.6176, allocations: 0 / 0.5873 GB, free: 10.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.02922/0.6468, allocations: 13.38 MB / 0.6004 GB, free: 13.18 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001198/0.6481, allocations: 1.639 MB / 0.602 GB, free: 11.36 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005505/0.6536, allocations: 4.092 MB / 0.606 GB, free: 7.289 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003882/0.654, allocations: 45.7 kB / 0.606 GB, free: 7.238 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002053/0.6561, allocations: 3.21 MB / 0.6092 GB, free: 3.98 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009015/0.657, allocations: 0.6442 MB / 0.6098 GB, free: 3.328 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003086/0.6573, allocations: 120.2 kB / 0.6099 GB, free: 3.211 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0004113/0.6577, allocations: 0.5585 MB / 0.6104 GB, free: 2.645 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004817/0.6625, allocations: 2.198 MB / 0.6126 GB, free: 452 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006909/0.6695, allocations: 5.92 MB / 0.6184 GB, free: 8.648 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005419/0.675, allocations: 3.53 MB / 0.6218 GB, free: 5.121 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.541e-05/0.6751, allocations: 40 kB / 0.6219 GB, free: 5.082 MB / 494.1 MB Notification: Performance of matching and sorting (n=788) (initialization): time 0.2352/0.9103, allocations: 9.586 MB / 0.6312 GB, free: 138.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.027e-05/0.9104, allocations: 65.66 kB / 0.6313 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01043/0.9209, allocations: 3.906 MB / 0.6351 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009606/0.9305, allocations: 2.238 MB / 0.6373 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00484/0.9354, allocations: 1.397 MB / 0.6386 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008882/0.9443, allocations: 7.273 MB / 0.6458 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006609/0.9509, allocations: 426.9 kB / 0.6462 GB, free: 135.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00179/0.9528, allocations: 377 kB / 0.6465 GB, free: 135.3 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 39 (FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.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 (750): * Single equations (assignments): 741 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005277/0.9581, allocations: 2.122 MB / 0.6486 GB, free: 134.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007667/0.9588, allocations: 338.4 kB / 0.6489 GB, free: 134.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005634/0.9645, allocations: 3.173 MB / 0.652 GB, free: 133.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00486/0.9694, allocations: 2.686 MB / 0.6546 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.797e-05/0.9694, allocations: 8.062 kB / 0.6546 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.222e-05/0.9695, allocations: 8.062 kB / 0.6547 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02034/0.9898, allocations: 9.18 MB / 0.6636 GB, free: 129.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.002e-05/0.9899, allocations: 1.844 kB / 0.6636 GB, free: 129.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001458/0.9913, allocations: 270 kB / 0.6639 GB, free: 129.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002966/0.9943, allocations: 1.039 MB / 0.6649 GB, free: 129 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002412/0.9946, allocations: 40.31 kB / 0.6649 GB, free: 129 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005084/0.9997, allocations: 5.109 MB / 0.6699 GB, free: 125.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007537/1, allocations: 1.492 MB / 0.6714 GB, free: 124.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008447/1.009, allocations: 5.717 MB / 0.677 GB, free: 122 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001265/1.01, allocations: 417.6 kB / 0.6774 GB, free: 121.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004968/1.011, allocations: 31.25 kB / 0.6774 GB, free: 121.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/1.012, allocations: 148.7 kB / 0.6775 GB, free: 121.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00027/1.013, allocations: 92.53 kB / 0.6776 GB, free: 121.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/1.013, allocations: 46.12 kB / 0.6777 GB, free: 121.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004326/1.017, allocations: 2.563 MB / 0.6802 GB, free: 120.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.017, allocations: 0 / 0.6802 GB, free: 120.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005671/1.023, allocations: 1.12 MB / 0.6813 GB, free: 120.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * 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 (126): * Single equations (assignments): 119 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004851/1.023, allocations: 183.4 kB / 0.6814 GB, free: 120.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008898/1.032, allocations: 5.835 MB / 0.6871 GB, free: 118.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/1.032, allocations: 0 / 0.6871 GB, free: 118.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003626/1.036, allocations: 2.243 MB / 0.6893 GB, free: 116.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002312/1.038, allocations: 414.7 kB / 0.6897 GB, free: 115.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01493/1.053, allocations: 11.47 MB / 0.7009 GB, free: 104.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002964/1.056, allocations: 3.386 MB / 0.7042 GB, free: 101 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00404/1.06, allocations: 1.905 MB / 0.7061 GB, free: 99.07 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006705/1.061, allocations: 243.4 kB / 0.7063 GB, free: 98.84 MB / 494.1 MB Notification: Performance of SimCode: time 1.493e-06/1.061, allocations: 0 / 0.7063 GB, free: 98.84 MB / 494.1 MB Notification: Performance of Templates: time 0.06008/1.121, allocations: 38.39 MB / 0.7438 GB, free: 60.55 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) Environment - environmentSimulation: