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.001675/0.001675, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0017/0.001701, allocations: 198.8 kB / 16.14 MB, free: 6.656 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.593/1.593, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.33/0.33, allocations: 37.98 MB / 307.3 MB, free: 10.09 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.001556/0.001556, allocations: 55.92 kB / 374.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1521, allocations: 56.48 MB / 431 MB, free: 7.086 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.2917/0.4439, allocations: 50.34 MB / 481.4 MB, free: 26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02594/0.4698, allocations: 10.65 MB / 492 MB, free: 19.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0143/0.4842, allocations: 213 kB / 492.2 MB, free: 19.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005216/0.4895, allocations: 2.823 MB / 495 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004863/0.4944, allocations: 1.764 MB / 496.8 MB, free: 16.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.4963, allocations: 0.6231 MB / 497.4 MB, free: 16.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00718/0.5035, allocations: 5.688 MB / 0.4913 GB, free: 14.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006106/0.5096, allocations: 3.852 MB / 0.4951 GB, free: 13.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003403/0.5131, allocations: 1.409 MB / 0.4965 GB, free: 13.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004583/0.5177, allocations: 2.257 MB / 0.4987 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001347/0.519, allocations: 247.9 kB / 0.4989 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003337/0.5224, allocations: 1.167 MB / 0.5 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002838/0.5253, allocations: 1.908 MB / 0.5019 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004007/0.5293, allocations: 2.224 MB / 0.5041 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01167/0.5409, allocations: 7.037 MB / 0.5109 GB, free: 6.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.541, allocations: 0 / 0.5109 GB, free: 6.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.541, allocations: 0 / 0.5109 GB, free: 6.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003395/0.5413, allocations: 0 / 0.5109 GB, free: 6.641 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.01584/0.5572, allocations: 4.852 MB / 0.5157 GB, free: 3.242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.5573, allocations: 8.562 kB / 0.5157 GB, free: 3.242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007371/0.5646, allocations: 1.936 MB / 0.5176 GB, free: 2.223 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006358/0.571, allocations: 2.277 MB / 0.5198 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000256/0.5713, allocations: 253.2 kB / 0.5201 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002/0.5734, allocations: 431.8 kB / 0.5205 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02676/0.6001, allocations: 10.41 MB / 0.5306 GB, free: 6.414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00014/0.6003, allocations: 39.69 kB / 0.5307 GB, free: 6.375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005762/0.6009, allocations: 159.8 kB / 0.5308 GB, free: 6.219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00366/0.6046, allocations: 1.943 MB / 0.5327 GB, free: 4.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02194/0.6265, allocations: 8.658 MB / 0.5412 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06403/0.6906, allocations: 40.46 MB / 0.5807 GB, free: 1.965 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01072/0.7014, allocations: 3.827 MB / 0.5844 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00353/0.705, allocations: 1.767 MB / 0.5862 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01741/0.7225, allocations: 8.262 MB / 0.5942 GB, free: 3.52 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.418e-05/0.7226, allocations: 51.5 kB / 0.5943 GB, free: 3.461 MB / 462.1 MB Notification: Performance of pre-optimization done (n=153): time 6.101e-06/0.7226, allocations: 0 / 0.5943 GB, free: 3.461 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.03428/0.7569, allocations: 13.04 MB / 0.607 GB, free: 6.242 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001363/0.7583, allocations: 1.628 MB / 0.6086 GB, free: 4.441 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005896/0.7642, allocations: 3.986 MB / 0.6125 GB, free: 484 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004772/0.7647, allocations: 45.7 kB / 0.6125 GB, free: 432 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002313/0.767, allocations: 3.202 MB / 0.6157 GB, free: 13.17 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00129/0.7683, allocations: 0.6443 MB / 0.6163 GB, free: 12.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001814/0.7701, allocations: 1.23 MB / 0.6175 GB, free: 11.28 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.7703, allocations: 301.1 kB / 0.6178 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003401/0.7737, allocations: 2.194 MB / 0.6199 GB, free: 8.781 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006414/0.7801, allocations: 5.944 MB / 0.6257 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2853/1.065, allocations: 8.715 MB / 0.6342 GB, free: 138.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000116/1.066, allocations: 37.69 kB / 0.6343 GB, free: 138.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=792) (initialization): time 0.02281/1.088, allocations: 9.613 MB / 0.6437 GB, free: 135.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/1.089, allocations: 63.28 kB / 0.6437 GB, free: 135.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01124/1.1, allocations: 3.876 MB / 0.6475 GB, free: 134.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009934/1.11, allocations: 2.231 MB / 0.6497 GB, free: 134.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004782/1.115, allocations: 1.407 MB / 0.6511 GB, free: 134.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008926/1.124, allocations: 6.872 MB / 0.6578 GB, free: 130.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006062/1.13, allocations: 439.2 kB / 0.6582 GB, free: 130.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001287/1.131, allocations: 375.6 kB / 0.6585 GB, free: 130.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 (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.004524/1.136, allocations: 2.117 MB / 0.6606 GB, free: 129.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008645/1.136, allocations: 341.1 kB / 0.6609 GB, free: 129.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006623/1.143, allocations: 3.166 MB / 0.664 GB, free: 128.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005407/1.149, allocations: 2.684 MB / 0.6667 GB, free: 127.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.897e-05/1.149, allocations: 3.531 kB / 0.6667 GB, free: 127.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-05/1.149, allocations: 16.05 kB / 0.6667 GB, free: 127.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02024/1.169, allocations: 9.17 MB / 0.6756 GB, free: 124 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.189e-05/1.169, allocations: 3.969 kB / 0.6756 GB, free: 124 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/1.17, allocations: 267.3 kB / 0.6759 GB, free: 124 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002899/1.173, allocations: 1.033 MB / 0.6769 GB, free: 123.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002214/1.173, allocations: 37.38 kB / 0.6769 GB, free: 123.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004792/1.178, allocations: 5.015 MB / 0.6818 GB, free: 120.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007996/1.179, allocations: 1.478 MB / 0.6833 GB, free: 119 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008098/1.187, allocations: 5.578 MB / 0.6887 GB, free: 116.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/1.189, allocations: 403.3 kB / 0.6891 GB, free: 116.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005366/1.189, allocations: 35.66 kB / 0.6891 GB, free: 116.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001525/1.191, allocations: 148.6 kB / 0.6893 GB, free: 116.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003296/1.191, allocations: 94.14 kB / 0.6894 GB, free: 116.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/1.191, allocations: 47.91 kB / 0.6894 GB, free: 116.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004093/1.195, allocations: 2.469 MB / 0.6918 GB, free: 115.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.51e-07/1.195, allocations: 0 / 0.6918 GB, free: 115.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006282/1.201, allocations: 1.106 MB / 0.6929 GB, free: 114.6 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.000512/1.202, allocations: 167.8 kB / 0.6931 GB, free: 114.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01081/1.213, allocations: 5.859 MB / 0.6988 GB, free: 109.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/1.213, allocations: 7.469 kB / 0.6988 GB, free: 109.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003866/1.217, allocations: 2.256 MB / 0.701 GB, free: 106.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003126/1.22, allocations: 423.9 kB / 0.7014 GB, free: 106.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01705/1.237, allocations: 11.82 MB / 0.7129 GB, free: 94.59 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003346/1.24, allocations: 3.298 MB / 0.7162 GB, free: 91.26 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004446/1.245, allocations: 1.894 MB / 0.718 GB, free: 89.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007193/1.246, allocations: 239.4 kB / 0.7182 GB, free: 89.12 MB / 494.1 MB Notification: Performance of SimCode: time 9.32e-07/1.246, allocations: 0 / 0.7182 GB, free: 89.12 MB / 494.1 MB Notification: Performance of Templates: time 0.06553/1.311, allocations: 38.93 MB / 0.7563 GB, free: 50.3 MB / 494.1 MB 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)