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.002098/0.002098, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002932/0.002932, allocations: 194.8 kB / 16.14 MB, free: 6.703 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.7/1.7, 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.2+maint.om/package.mo): time 0.4377/0.4377, allocations: 39.93 MB / 309.3 MB, free: 9.668 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.001651/0.001651, allocations: 59.92 kB / 376.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1661, allocations: 56.89 MB / 433.8 MB, free: 4.402 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.3807/0.5469, allocations: 50.35 MB / 484.2 MB, free: 23.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03175/0.5788, allocations: 10.64 MB / 494.8 MB, free: 16.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01485/0.5937, allocations: 215 kB / 495 MB, free: 16.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006717/0.6005, allocations: 2.824 MB / 497.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008336/0.6089, allocations: 1.758 MB / 499.6 MB, free: 14.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002501/0.6114, allocations: 0.6337 MB / 0.4885 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009845/0.6213, allocations: 5.684 MB / 0.4941 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01107/0.6324, allocations: 3.857 MB / 0.4978 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007016/0.6395, allocations: 1.402 MB / 0.4992 GB, free: 10.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00826/0.6478, allocations: 2.259 MB / 0.5014 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002733/0.6506, allocations: 248.3 kB / 0.5016 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006335/0.657, allocations: 1.167 MB / 0.5028 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00664/0.6637, allocations: 1.909 MB / 0.5046 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009061/0.6728, allocations: 2.22 MB / 0.5068 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01722/0.69, allocations: 7.032 MB / 0.5137 GB, free: 3.902 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.909e-06/0.6901, allocations: 5.219 kB / 0.5137 GB, free: 3.898 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.6901, allocations: 0 / 0.5137 GB, free: 3.898 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003926/0.6905, allocations: 4 kB / 0.5137 GB, free: 3.895 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.01839/0.7089, allocations: 4.857 MB / 0.5184 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.7089, allocations: 8.688 kB / 0.5184 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007838/0.7168, allocations: 1.929 MB / 0.5203 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006208/0.723, allocations: 2.277 MB / 0.5225 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002072/0.7233, allocations: 255.5 kB / 0.5228 GB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001021/0.7243, allocations: 429.8 kB / 0.5232 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0329/0.7572, allocations: 10.41 MB / 0.5334 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003284/0.7576, allocations: 39.59 kB / 0.5334 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001966/0.7596, allocations: 163.8 kB / 0.5336 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004652/0.7643, allocations: 1.947 MB / 0.5355 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02832/0.7926, allocations: 8.659 MB / 0.5439 GB, free: 7.555 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06606/0.8588, allocations: 40.46 MB / 0.5834 GB, free: 13.92 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/0.8689, allocations: 3.821 MB / 0.5872 GB, free: 9.949 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00288/0.8719, allocations: 1.76 MB / 0.5889 GB, free: 8.18 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01416/0.8861, allocations: 8.262 MB / 0.5969 GB, free: 15.49 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/0.8862, allocations: 47.5 kB / 0.597 GB, free: 15.43 MB / 478.1 MB Notification: Performance of pre-optimization done (n=153): time 4.378e-06/0.8862, allocations: 0 / 0.597 GB, free: 15.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=160): time 0.03209/0.9183, allocations: 13.05 MB / 0.6097 GB, free: 2.211 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001456/0.9198, allocations: 1.628 MB / 0.6113 GB, free: 420 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006439/0.9263, allocations: 3.978 MB / 0.6152 GB, free: 12.45 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004624/0.9267, allocations: 45.7 kB / 0.6152 GB, free: 12.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002301/0.9291, allocations: 3.206 MB / 0.6184 GB, free: 9.145 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009217/0.93, allocations: 0.6481 MB / 0.619 GB, free: 8.488 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001801/0.9318, allocations: 1.237 MB / 0.6202 GB, free: 7.238 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.932, allocations: 305.1 kB / 0.6205 GB, free: 6.938 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003326/0.9353, allocations: 2.194 MB / 0.6227 GB, free: 4.738 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.321/1.256, allocations: 5.938 MB / 0.6284 GB, free: 141.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01003/1.266, allocations: 8.705 MB / 0.637 GB, free: 135.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000185/1.267, allocations: 40.28 kB / 0.637 GB, free: 135.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=792) (initialization): time 0.02384/1.29, allocations: 9.613 MB / 0.6464 GB, free: 132.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/1.291, allocations: 67.44 kB / 0.6464 GB, free: 132.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01007/1.301, allocations: 3.869 MB / 0.6502 GB, free: 131.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009649/1.31, allocations: 2.231 MB / 0.6524 GB, free: 131.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005298/1.316, allocations: 1.401 MB / 0.6538 GB, free: 131.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009893/1.326, allocations: 6.894 MB / 0.6605 GB, free: 127.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006636/1.332, allocations: 418.8 kB / 0.6609 GB, free: 127.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001785/1.334, allocations: 375.2 kB / 0.6613 GB, free: 127.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.005609/1.34, allocations: 2.123 MB / 0.6633 GB, free: 126.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009057/1.341, allocations: 336.5 kB / 0.6637 GB, free: 126.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006615/1.347, allocations: 3.166 MB / 0.6667 GB, free: 125.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005022/1.352, allocations: 2.693 MB / 0.6694 GB, free: 124.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/1.352, allocations: 7.656 kB / 0.6694 GB, free: 124.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.151e-05/1.352, allocations: 8.906 kB / 0.6694 GB, free: 124.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02065/1.373, allocations: 9.17 MB / 0.6783 GB, free: 121 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.645e-05/1.373, allocations: 3.969 kB / 0.6783 GB, free: 121 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/1.374, allocations: 267.2 kB / 0.6786 GB, free: 121 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002735/1.377, allocations: 1.037 MB / 0.6796 GB, free: 120.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002948/1.377, allocations: 34.89 kB / 0.6796 GB, free: 120.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005349/1.383, allocations: 5.012 MB / 0.6845 GB, free: 117.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008628/1.384, allocations: 1.48 MB / 0.686 GB, free: 116 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008398/1.392, allocations: 5.581 MB / 0.6914 GB, free: 114 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001486/1.394, allocations: 397.2 kB / 0.6918 GB, free: 113.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004215/1.394, allocations: 31.12 kB / 0.6918 GB, free: 113.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/1.396, allocations: 148.2 kB / 0.692 GB, free: 113.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003065/1.396, allocations: 99.33 kB / 0.6921 GB, free: 113.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/1.396, allocations: 45.44 kB / 0.6921 GB, free: 113.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004038/1.4, allocations: 2.475 MB / 0.6945 GB, free: 112.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.1e-07/1.4, allocations: 0 / 0.6945 GB, free: 112.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006625/1.407, allocations: 1.101 MB / 0.6956 GB, free: 111.3 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.0005517/1.407, allocations: 165.8 kB / 0.6958 GB, free: 111.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00964/1.417, allocations: 5.864 MB / 0.7015 GB, free: 105.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/1.417, allocations: 4 kB / 0.7015 GB, free: 105.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003758/1.421, allocations: 2.254 MB / 0.7037 GB, free: 103.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003451/1.424, allocations: 436.7 kB / 0.7041 GB, free: 103 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01844/1.443, allocations: 11.82 MB / 0.7157 GB, free: 91.13 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00299/1.446, allocations: 3.298 MB / 0.7189 GB, free: 87.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004554/1.45, allocations: 1.888 MB / 0.7207 GB, free: 85.91 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008024/1.451, allocations: 239.4 kB / 0.721 GB, free: 85.68 MB / 494.1 MB Notification: Performance of SimCode: time 1.342e-06/1.451, allocations: 0 / 0.721 GB, free: 85.68 MB / 494.1 MB Notification: Performance of Templates: time 0.06405/1.515, allocations: 38.93 MB / 0.759 GB, free: 46.87 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)