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.001544/0.001544, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002311/0.002311, allocations: 192.8 kB / 16.25 MB, free: 6.629 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.671/1.671, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.4078/0.4078, allocations: 39.93 MB / 309.4 MB, free: 9.309 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.001491/0.001491, allocations: 67.91 kB / 377.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1634, allocations: 56.88 MB / 434 MB, free: 4.035 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.3427/0.5062, allocations: 50.35 MB / 484.3 MB, free: 23.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03313/0.5393, allocations: 10.55 MB / 494.9 MB, free: 16.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01981/0.5592, allocations: 213.7 kB / 495.1 MB, free: 16.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007759/0.5672, allocations: 2.725 MB / 497.8 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009173/0.5764, allocations: 1.756 MB / 499.6 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002349/0.5788, allocations: 0.6493 MB / 0.4885 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008461/0.5873, allocations: 3.88 MB / 0.4923 GB, free: 12.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009552/0.5969, allocations: 4.102 MB / 0.4963 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005299/0.6022, allocations: 1.618 MB / 0.4979 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006207/0.6085, allocations: 2.347 MB / 0.5002 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002323/0.6108, allocations: 355.1 kB / 0.5005 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005421/0.6163, allocations: 1.221 MB / 0.5017 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005299/0.6216, allocations: 2.028 MB / 0.5037 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0105/0.6322, allocations: 2.341 MB / 0.506 GB, free: 6.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02017/0.6524, allocations: 7.157 MB / 0.513 GB, free: 4.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.398e-06/0.6524, allocations: 5.016 kB / 0.513 GB, free: 4.062 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.829e-06/0.6525, allocations: 0 / 0.513 GB, free: 4.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004729/0.6529, allocations: 0 / 0.513 GB, free: 4.062 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.0266/0.6796, allocations: 4.844 MB / 0.5177 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.599e-05/0.6796, allocations: 13.05 kB / 0.5177 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01035/0.69, allocations: 1.942 MB / 0.5196 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01088/0.7009, allocations: 2.273 MB / 0.5218 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000524/0.7015, allocations: 256.5 kB / 0.5221 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003665/0.7052, allocations: 431.9 kB / 0.5225 GB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03512/0.7404, allocations: 10.41 MB / 0.5326 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003041/0.7407, allocations: 51.52 kB / 0.5327 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002196/0.7429, allocations: 159.8 kB / 0.5328 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003478/0.7464, allocations: 1.947 MB / 0.5347 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02428/0.7707, allocations: 8.647 MB / 0.5432 GB, free: 8.238 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07875/0.8496, allocations: 40.47 MB / 0.5827 GB, free: 14.6 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01146/0.8611, allocations: 3.834 MB / 0.5864 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003075/0.8643, allocations: 1.755 MB / 0.5882 GB, free: 8.852 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01594/0.8802, allocations: 8.27 MB / 0.5962 GB, free: 156 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.806e-05/0.8804, allocations: 43.56 kB / 0.5963 GB, free: 104 kB / 462.1 MB Notification: Performance of pre-optimization done (n=153): time 7.133e-06/0.8804, allocations: 0 / 0.5963 GB, free: 104 kB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.03735/0.9177, allocations: 13.05 MB / 0.609 GB, free: 2.875 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001941/0.9197, allocations: 1.715 MB / 0.6107 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01148/0.9313, allocations: 3.971 MB / 0.6146 GB, free: 13.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001208/0.9325, allocations: 49.69 kB / 0.6146 GB, free: 12.97 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003819/0.9364, allocations: 3.202 MB / 0.6177 GB, free: 9.723 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001627/0.9381, allocations: 0.6482 MB / 0.6184 GB, free: 9.066 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00468/0.9428, allocations: 1.229 MB / 0.6196 GB, free: 7.824 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.9429, allocations: 305.2 kB / 0.6199 GB, free: 7.523 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004557/0.9475, allocations: 2.198 MB / 0.622 GB, free: 5.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3422/1.29, allocations: 5.934 MB / 0.6278 GB, free: 142.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01139/1.301, allocations: 8.713 MB / 0.6363 GB, free: 136.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002/1.301, allocations: 38.22 kB / 0.6364 GB, free: 136.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=792) (initialization): time 0.02638/1.328, allocations: 9.615 MB / 0.6457 GB, free: 133.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/1.328, allocations: 66.39 kB / 0.6458 GB, free: 133.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0108/1.339, allocations: 3.875 MB / 0.6496 GB, free: 132.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009876/1.349, allocations: 2.235 MB / 0.6518 GB, free: 132.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005519/1.354, allocations: 1.399 MB / 0.6531 GB, free: 132.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01327/1.368, allocations: 7.49 MB / 0.6605 GB, free: 127.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007703/1.375, allocations: 425 kB / 0.6609 GB, free: 127.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001938/1.377, allocations: 376.4 kB / 0.6612 GB, free: 127.8 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 (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.007196/1.385, allocations: 2.121 MB / 0.6633 GB, free: 126.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001156/1.386, allocations: 335.6 kB / 0.6636 GB, free: 126.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007664/1.393, allocations: 3.164 MB / 0.6667 GB, free: 125.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005619/1.399, allocations: 2.695 MB / 0.6693 GB, free: 124.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.03e-05/1.399, allocations: 3.156 kB / 0.6693 GB, free: 124.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.354e-05/1.399, allocations: 10.31 kB / 0.6693 GB, free: 124.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02149/1.421, allocations: 9.176 MB / 0.6783 GB, free: 121.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.22e-05/1.421, allocations: 0 / 0.6783 GB, free: 121.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/1.422, allocations: 272.3 kB / 0.6786 GB, free: 121.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002736/1.425, allocations: 1.042 MB / 0.6796 GB, free: 121.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002341/1.425, allocations: 42.5 kB / 0.6796 GB, free: 121.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004929/1.43, allocations: 5.321 MB / 0.6848 GB, free: 117.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008817/1.431, allocations: 1.577 MB / 0.6864 GB, free: 116.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008608/1.439, allocations: 5.577 MB / 0.6918 GB, free: 114.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001555/1.441, allocations: 395.8 kB / 0.6922 GB, free: 113.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004548/1.442, allocations: 33.14 kB / 0.6922 GB, free: 113.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001485/1.443, allocations: 154.3 kB / 0.6924 GB, free: 113.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003154/1.443, allocations: 96.06 kB / 0.6925 GB, free: 113.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/1.443, allocations: 45.27 kB / 0.6925 GB, free: 113.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004505/1.448, allocations: 2.472 MB / 0.6949 GB, free: 111.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.1e-07/1.448, allocations: 0 / 0.6949 GB, free: 111.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009181/1.457, allocations: 1.107 MB / 0.696 GB, free: 110.7 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 (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.0008165/1.458, allocations: 159.5 kB / 0.6961 GB, free: 110.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01396/1.472, allocations: 6.597 MB / 0.7026 GB, free: 104 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/1.472, allocations: 0 / 0.7026 GB, free: 104 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004385/1.477, allocations: 2.268 MB / 0.7048 GB, free: 101.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005276/1.482, allocations: 446.7 kB / 0.7052 GB, free: 101.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02349/1.505, allocations: 11.82 MB / 0.7168 GB, free: 89.38 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00682/1.512, allocations: 3.3 MB / 0.72 GB, free: 86.05 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005889/1.518, allocations: 1.896 MB / 0.7219 GB, free: 84.14 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001155/1.519, allocations: 235.4 kB / 0.7221 GB, free: 83.92 MB / 494.1 MB Notification: Performance of SimCode: time 1.262e-06/1.519, allocations: 0 / 0.7221 GB, free: 83.92 MB / 494.1 MB Notification: Performance of Templates: time 0.07747/1.597, allocations: 40.49 MB / 0.7616 GB, free: 43.55 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile (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)