Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.Frames.AngularVelocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity") translateModel(ModelicaTest.MultiBody.Frames.AngularVelocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.01132/0.01132, allocations: 102 kB / 15.73 MB, free: 6.039 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.00143/0.00143, allocations: 194 kB / 16.67 MB, free: 5.961 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.49/1.49, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.1958/0.1958, allocations: 38.01 MB / 307.9 MB, free: 5.977 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.001449/0.001449, allocations: 68.38 kB / 433.1 MB, free: 14.46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1093, allocations: 56.47 MB / 489.5 MB, free: 5.918 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01213/0.1215, allocations: 11.9 MB / 0.4897 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00831/0.1298, allocations: 4.179 MB / 0.4938 GB, free: 5.773 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/0.1315, allocations: 71.81 kB / 0.4938 GB, free: 5.703 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004947/0.1364, allocations: 2.834 MB / 0.4966 GB, free: 2.859 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004651/0.1411, allocations: 1.879 MB / 0.4984 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.1426, allocations: 0.6941 MB / 0.4991 GB, free: 284 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004874/0.1475, allocations: 3.856 MB / 0.5029 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004168/0.1517, allocations: 3.89 MB / 0.5067 GB, free: 8.453 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002526/0.1542, allocations: 1.581 MB / 0.5082 GB, free: 6.867 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00256/0.1568, allocations: 2.126 MB / 0.5103 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006173/0.1574, allocations: 356 kB / 0.5106 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002552/0.16, allocations: 1.205 MB / 0.5118 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002175/0.1622, allocations: 2.014 MB / 0.5138 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2526/0.4148, allocations: 2.312 MB / 0.516 GB, free: 9.934 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01007/0.4249, allocations: 7.36 MB / 0.5232 GB, free: 9.379 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.425, allocations: 0.5625 kB / 0.5232 GB, free: 9.379 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.425, allocations: 1.125 kB / 0.5232 GB, free: 9.379 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002404/0.4252, allocations: 0 / 0.5232 GB, free: 9.379 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: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.01342/0.4387, allocations: 4.847 MB / 0.528 GB, free: 7.418 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.4387, allocations: 14.45 kB / 0.528 GB, free: 7.414 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008214/0.447, allocations: 1.933 MB / 0.5299 GB, free: 7.125 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007913/0.4549, allocations: 2.315 MB / 0.5321 GB, free: 6.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002834/0.4552, allocations: 255.6 kB / 0.5324 GB, free: 6.543 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001584/0.4568, allocations: 430.3 kB / 0.5328 GB, free: 6.535 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02052/0.4773, allocations: 10.42 MB / 0.5429 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001183/0.4775, allocations: 43.97 kB / 0.543 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005021/0.478, allocations: 163 kB / 0.5431 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00328/0.4813, allocations: 1.944 MB / 0.545 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01722/0.4985, allocations: 8.645 MB / 0.5535 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06079/0.5594, allocations: 40.28 MB / 0.5928 GB, free: 4.672 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01002/0.5694, allocations: 3.812 MB / 0.5965 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002888/0.5724, allocations: 1.758 MB / 0.5983 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01318/0.5856, allocations: 8.27 MB / 0.6063 GB, free: 6.312 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.5857, allocations: 47.56 kB / 0.6064 GB, free: 6.258 MB / 462.1 MB Notification: Performance of pre-optimization done (n=153): time 5.901e-06/0.5857, allocations: 3.562 kB / 0.6064 GB, free: 6.258 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.03353/0.6192, allocations: 13.04 MB / 0.6191 GB, free: 9.07 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001428/0.6207, allocations: 1.708 MB / 0.6208 GB, free: 7.195 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00797/0.6287, allocations: 3.978 MB / 0.6247 GB, free: 3.234 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007076/0.6294, allocations: 48.75 kB / 0.6247 GB, free: 3.184 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003146/0.6326, allocations: 3.206 MB / 0.6279 GB, free: 15.97 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001735/0.6343, allocations: 0.6533 MB / 0.6285 GB, free: 15.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002588/0.6369, allocations: 1.229 MB / 0.6297 GB, free: 14.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.6371, allocations: 301.1 kB / 0.63 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00388/0.641, allocations: 2.194 MB / 0.6321 GB, free: 11.59 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007845/0.6488, allocations: 5.948 MB / 0.6379 GB, free: 3.832 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01126/0.6601, allocations: 8.708 MB / 0.6464 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001283/0.6603, allocations: 38.25 kB / 0.6465 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of matching and sorting (n=792) (initialization): time 0.02472/0.685, allocations: 9.612 MB / 0.6559 GB, free: 324 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001738/0.6853, allocations: 64 kB / 0.6559 GB, free: 260 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01237/0.6977, allocations: 3.871 MB / 0.6597 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01057/0.7083, allocations: 2.23 MB / 0.6619 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005531/0.7138, allocations: 1.408 MB / 0.6632 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01129/0.7252, allocations: 7.485 MB / 0.6706 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006317/0.7315, allocations: 423.3 kB / 0.671 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001666/0.7332, allocations: 376 kB / 0.6713 GB, free: 168 kB / 0.5137 GB 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 (754): * Single equations (assignments): 745 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00585/0.7391, allocations: 2.13 MB / 0.6734 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001036/0.7401, allocations: 335.6 kB / 0.6737 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007254/0.7474, allocations: 3.169 MB / 0.6768 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005302/0.7527, allocations: 2.687 MB / 0.6794 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-05/0.7528, allocations: 11.94 kB / 0.6795 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.669e-05/0.7528, allocations: 7.969 kB / 0.6795 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02544/0.7783, allocations: 9.165 MB / 0.6884 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.147e-05/0.7783, allocations: 0 / 0.6884 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001468/0.7798, allocations: 271.6 kB / 0.6887 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003258/0.7831, allocations: 1.037 MB / 0.6897 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003238/0.7834, allocations: 39.97 kB / 0.6897 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006377/0.7898, allocations: 5.321 MB / 0.6949 GB, free: 7.598 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001186/0.791, allocations: 1.579 MB / 0.6965 GB, free: 5.871 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00994/0.801, allocations: 5.576 MB / 0.7019 GB, free: 260 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001379/0.8024, allocations: 400.7 kB / 0.7023 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009246/0.8034, allocations: 35.98 kB / 0.7023 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002155/0.8055, allocations: 147.8 kB / 0.7025 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003623/0.8059, allocations: 96.8 kB / 0.7026 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/0.8061, allocations: 44.09 kB / 0.7026 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005064/0.8111, allocations: 2.477 MB / 0.705 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8112, allocations: 0 / 0.705 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005981/0.8171, allocations: 1.1 MB / 0.7061 GB, free: 11.96 MB / 0.5606 GB 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 (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005195/0.8177, allocations: 173.8 kB / 0.7063 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01182/0.8295, allocations: 5.887 MB / 0.712 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.8296, allocations: 4.25 kB / 0.712 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004965/0.8345, allocations: 2.259 MB / 0.7142 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004068/0.8386, allocations: 447.1 kB / 0.7146 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02226/0.8609, allocations: 9.67 MB / 0.7241 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006726/0.8677, allocations: 3.304 MB / 0.7273 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005636/0.8734, allocations: 1.897 MB / 0.7292 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/0.8746, allocations: 239.3 kB / 0.7294 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of SimCode: time 1.162e-06/0.8746, allocations: 4 kB / 0.7294 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of Templates: time 0.3492/1.224, allocations: 36.92 MB / 0.7654 GB, free: 190.5 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1)