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.0009963/0.0009963, allocations: 101.5 kB / 15.06 MB, free: 1.094 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.0009437/0.0009438, allocations: 177.3 kB / 15.95 MB, free: 208 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.693/1.693, allocations: 205.4 MB / 222.1 MB, free: 5.68 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.3579/0.3579, allocations: 38.03 MB / 308.4 MB, free: 10.4 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.0005493/0.0005493, allocations: 12 kB / 376.4 MB, free: 15.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.132, allocations: 57.52 MB / 433.9 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.3142/0.4462, allocations: 43.12 MB / 477 MB, free: 30.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02865/0.4749, allocations: 10.51 MB / 487.6 MB, free: 23.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01487/0.4899, allocations: 209.5 kB / 487.8 MB, free: 23.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009157/0.4991, allocations: 2.124 MB / 489.9 MB, free: 22.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02534/0.5245, allocations: 6.185 MB / 496.1 MB, free: 19.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004518/0.529, allocations: 0.5864 MB / 496.7 MB, free: 19.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006126/0.5352, allocations: 2.16 MB / 498.8 MB, free: 18.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009214/0.5444, allocations: 4.629 MB / 0.4916 GB, free: 16.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003529/0.548, allocations: 1.027 MB / 0.4926 GB, free: 16.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003797/0.5518, allocations: 1.328 MB / 0.4939 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001581/0.5534, allocations: 146.5 kB / 0.4941 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003933/0.5574, allocations: 0.8934 MB / 0.495 GB, free: 15.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003839/0.5612, allocations: 1.601 MB / 0.4965 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002849/0.5641, allocations: 0.8607 MB / 0.4974 GB, free: 14.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0118/0.5759, allocations: 5.666 MB / 0.5029 GB, free: 13.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.576, allocations: 1.125 kB / 0.5029 GB, free: 13.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.576, allocations: 0 / 0.5029 GB, free: 13.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004776/0.5765, allocations: 0 / 0.5029 GB, free: 13.09 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.01691/0.5934, allocations: 4.038 MB / 0.5068 GB, free: 10.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.568e-05/0.5935, allocations: 8.469 kB / 0.5068 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0104/0.6039, allocations: 2.292 MB / 0.5091 GB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007706/0.6116, allocations: 2.462 MB / 0.5115 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003091/0.612, allocations: 260.9 kB / 0.5117 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002167/0.6142, allocations: 427.7 kB / 0.5121 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02309/0.6373, allocations: 10.49 MB / 0.5224 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001357/0.6374, allocations: 43.59 kB / 0.5224 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005781/0.638, allocations: 155.9 kB / 0.5226 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003233/0.6413, allocations: 1.943 MB / 0.5245 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0207/0.662, allocations: 8.749 MB / 0.533 GB, free: 5.738 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05609/0.7181, allocations: 40.56 MB / 0.5726 GB, free: 12.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009829/0.728, allocations: 3.826 MB / 0.5764 GB, free: 8.039 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0162/0.7442, allocations: 8.317 MB / 0.5845 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.126e-05/0.7443, allocations: 59.48 kB / 0.5845 GB, free: 15.23 MB / 462.1 MB Notification: Performance of pre-optimization done (n=153): time 5.189e-06/0.7443, allocations: 0 / 0.5845 GB, free: 15.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.03236/0.7767, allocations: 13.39 MB / 0.5976 GB, free: 1.602 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001525/0.7782, allocations: 1.632 MB / 0.5992 GB, free: 15.79 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007064/0.7853, allocations: 4.096 MB / 0.6032 GB, free: 11.71 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005914/0.786, allocations: 49.64 kB / 0.6033 GB, free: 11.66 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002384/0.7883, allocations: 3.214 MB / 0.6064 GB, free: 8.398 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001042/0.7894, allocations: 0.6404 MB / 0.607 GB, free: 7.75 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002748/0.7897, allocations: 124 kB / 0.6071 GB, free: 7.629 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003619/0.7901, allocations: 0.5582 MB / 0.6077 GB, free: 7.062 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003389/0.7934, allocations: 2.198 MB / 0.6098 GB, free: 4.859 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00698/0.8004, allocations: 5.92 MB / 0.6156 GB, free: 13.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00573/0.8062, allocations: 3.515 MB / 0.619 GB, free: 9.555 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-05/0.8063, allocations: 40 kB / 0.6191 GB, free: 9.516 MB / 494.1 MB Notification: Performance of matching and sorting (n=788) (initialization): time 0.2878/1.094, allocations: 9.607 MB / 0.6285 GB, free: 138.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/1.094, allocations: 64.66 kB / 0.6285 GB, free: 138.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.011/1.105, allocations: 3.898 MB / 0.6323 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009777/1.115, allocations: 2.249 MB / 0.6345 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005357/1.12, allocations: 1.396 MB / 0.6359 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009482/1.13, allocations: 7.264 MB / 0.643 GB, free: 136 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007802/1.138, allocations: 434.8 kB / 0.6434 GB, free: 136 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001773/1.14, allocations: 372.8 kB / 0.6438 GB, free: 136 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.008066/1.148, allocations: 2.12 MB / 0.6458 GB, free: 135.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001381/1.149, allocations: 339.2 kB / 0.6461 GB, free: 135.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009018/1.158, allocations: 3.172 MB / 0.6492 GB, free: 134.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006784/1.165, allocations: 2.686 MB / 0.6519 GB, free: 133.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.628e-05/1.165, allocations: 6.828 kB / 0.6519 GB, free: 133.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.605e-05/1.165, allocations: 3.516 kB / 0.6519 GB, free: 133.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03193/1.197, allocations: 9.183 MB / 0.6608 GB, free: 130.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.07e-05/1.197, allocations: 4.312 kB / 0.6608 GB, free: 130.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002147/1.199, allocations: 266.4 kB / 0.6611 GB, free: 130.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004598/1.204, allocations: 1.035 MB / 0.6621 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004698/1.204, allocations: 39.47 kB / 0.6622 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007251/1.212, allocations: 5.109 MB / 0.6671 GB, free: 126.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009288/1.213, allocations: 1.495 MB / 0.6686 GB, free: 125.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01121/1.224, allocations: 5.717 MB / 0.6742 GB, free: 123.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002326/1.226, allocations: 414.4 kB / 0.6746 GB, free: 123 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001435/1.228, allocations: 35.12 kB / 0.6746 GB, free: 123 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002546/1.23, allocations: 146.2 kB / 0.6748 GB, free: 123 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003674/1.231, allocations: 106.1 kB / 0.6749 GB, free: 123 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000193/1.231, allocations: 52.11 kB / 0.6749 GB, free: 123 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007089/1.238, allocations: 2.561 MB / 0.6774 GB, free: 122.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.11e-07/1.238, allocations: 0 / 0.6774 GB, free: 122.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007716/1.246, allocations: 1.122 MB / 0.6785 GB, free: 122 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.00102/1.247, allocations: 176 kB / 0.6787 GB, free: 121.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01117/1.258, allocations: 5.831 MB / 0.6844 GB, free: 120.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.258, allocations: 5.484 kB / 0.6844 GB, free: 120.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004476/1.262, allocations: 2.241 MB / 0.6866 GB, free: 119.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003731/1.266, allocations: 414.3 kB / 0.6869 GB, free: 119 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02208/1.288, allocations: 11.47 MB / 0.6981 GB, free: 111.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005051/1.293, allocations: 3.386 MB / 0.7015 GB, free: 107.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004442/1.298, allocations: 1.892 MB / 0.7033 GB, free: 105.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006907/1.299, allocations: 243.3 kB / 0.7035 GB, free: 105.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.292e-06/1.299, allocations: 3.828 kB / 0.7035 GB, free: 105.6 MB / 494.1 MB Notification: Performance of Templates: time 0.05889/1.357, allocations: 38.39 MB / 0.741 GB, free: 67.32 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: