Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.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.Forces.Worldtorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque") translateModel(ModelicaTest.MultiBody.Forces.Worldtorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, 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.001742/0.001742, allocations: 191.7 kB / 16.13 MB, free: 6.664 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.484/1.484, allocations: 205.1 MB / 222 MB, free: 4.742 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.3234/0.3234, allocations: 37.98 MB / 307.3 MB, free: 10.08 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.001325/0.001325, allocations: 67.91 kB / 374.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1395, allocations: 56.46 MB / 431 MB, free: 7.078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Worldtorque): time 0.352/0.4916, allocations: 101.6 MB / 0.5201 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06082/0.5525, allocations: 19.34 MB / 0.539 GB, free: 8.383 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0287/0.5813, allocations: 438.2 kB / 0.5394 GB, free: 8.316 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01112/0.5925, allocations: 5.086 MB / 0.5444 GB, free: 5.949 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01098/0.6035, allocations: 2.682 MB / 0.547 GB, free: 4.695 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00465/0.6082, allocations: 1.154 MB / 0.5481 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01742/0.6257, allocations: 11.47 MB / 0.5593 GB, free: 9.719 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008677/0.6344, allocations: 6.14 MB / 0.5653 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005164/0.6396, allocations: 2.425 MB / 0.5677 GB, free: 1.105 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006629/0.6463, allocations: 4.101 MB / 0.5717 GB, free: 12.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002945/0.6493, allocations: 427.9 kB / 0.5721 GB, free: 12.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005282/0.6546, allocations: 1.494 MB / 0.5736 GB, free: 11.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005483/0.6601, allocations: 3.37 MB / 0.5769 GB, free: 7.699 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008583/0.6687, allocations: 3.751 MB / 0.5805 GB, free: 3.926 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01834/0.6871, allocations: 11.81 MB / 0.5921 GB, free: 8.082 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.158e-05/0.6872, allocations: 4 kB / 0.5921 GB, free: 8.078 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.6872, allocations: 0 / 0.5921 GB, free: 8.078 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000617/0.6878, allocations: 0 / 0.5921 GB, free: 8.078 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2473 * Number of variables: 2473 Notification: Performance of Generate backend data structure: time 0.02456/0.7124, allocations: 8.318 MB / 0.6002 GB, free: 15.68 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.7124, allocations: 8.031 kB / 0.6002 GB, free: 15.67 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01636/0.7288, allocations: 3.212 MB / 0.6033 GB, free: 12.44 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01342/0.7423, allocations: 5.228 MB / 0.6084 GB, free: 7.133 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004029/0.7427, allocations: 398.7 kB / 0.6088 GB, free: 6.742 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002179/0.7449, allocations: 0.5351 MB / 0.6093 GB, free: 6.207 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03226/0.7772, allocations: 16.38 MB / 0.6253 GB, free: 4.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002787/0.7775, allocations: 79.3 kB / 0.6254 GB, free: 4.672 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001015/0.7785, allocations: 255.7 kB / 0.6257 GB, free: 4.422 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005434/0.784, allocations: 3.072 MB / 0.6287 GB, free: 1.344 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5281/1.312, allocations: 13.65 MB / 0.642 GB, free: 141.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09362/1.406, allocations: 62.43 MB / 0.7029 GB, free: 99.35 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01487/1.421, allocations: 6.105 MB / 0.7089 GB, free: 97.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005285/1.426, allocations: 3.413 MB / 0.7122 GB, free: 95.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002437/1.426, allocations: 47.39 kB / 0.7123 GB, free: 95.29 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.328e-05/1.426, allocations: 74.38 kB / 0.7124 GB, free: 95.21 MB / 494.1 MB Notification: Performance of pre-optimization done (n=249): time 5.751e-06/1.426, allocations: 0 / 0.7124 GB, free: 95.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=267): time 0.06609/1.493, allocations: 26.31 MB / 0.738 GB, free: 71.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.281e-05/1.493, allocations: 261.1 kB / 0.7383 GB, free: 71.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009928/1.503, allocations: 7.039 MB / 0.7452 GB, free: 64.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000831/1.503, allocations: 69.3 kB / 0.7452 GB, free: 64.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003021/1.507, allocations: 4.962 MB / 0.7501 GB, free: 59.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00149/1.508, allocations: 1.035 MB / 0.7511 GB, free: 58.31 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00262/1.511, allocations: 1.848 MB / 0.7529 GB, free: 56.45 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.164e-05/1.511, allocations: 309 kB / 0.7532 GB, free: 56.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00426/1.515, allocations: 3.406 MB / 0.7565 GB, free: 52.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006578/1.522, allocations: 8.717 MB / 0.765 GB, free: 41.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01221/1.534, allocations: 12.98 MB / 0.7777 GB, free: 25.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001528/1.534, allocations: 56 kB / 0.7778 GB, free: 25.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.0264/1.56, allocations: 13.4 MB / 0.7908 GB, free: 12.33 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/1.561, allocations: 91.92 kB / 0.7909 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000174/1.561, allocations: 188 kB / 0.7911 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004141/1.565, allocations: 1.789 MB / 0.7929 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006657/1.572, allocations: 2.086 MB / 0.7949 GB, free: 8.168 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01322/1.585, allocations: 11.78 MB / 0.8064 GB, free: 12 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009037/1.594, allocations: 0.5071 MB / 0.8069 GB, free: 11.5 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002104/1.596, allocations: 0.5195 MB / 0.8074 GB, free: 10.98 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 846 * Number of states: 0 () * Number of discrete variables: 57 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.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 (1110): * Single equations (assignments): 1104 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,14,100.0%), (1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008028/1.604, allocations: 3.324 MB / 0.8107 GB, free: 7.637 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001723/1.606, allocations: 0.5862 MB / 0.8112 GB, free: 7.043 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01253/1.618, allocations: 5.986 MB / 0.8171 GB, free: 1.023 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.614e-05/1.619, allocations: 32 kB / 0.8171 GB, free: 0.9922 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.777e-05/1.619, allocations: 8 kB / 0.8171 GB, free: 0.9844 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.546e-05/1.619, allocations: 11.95 kB / 0.8171 GB, free: 0.9727 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3385/1.957, allocations: 13.36 MB / 0.8302 GB, free: 145.1 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.08e-05/1.957, allocations: 9.516 kB / 0.8302 GB, free: 145.1 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002321/1.96, allocations: 459.1 kB / 0.8306 GB, free: 145.1 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004253/1.964, allocations: 1.495 MB / 0.8321 GB, free: 144.8 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004803/1.964, allocations: 48.14 kB / 0.8321 GB, free: 144.8 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01163/1.976, allocations: 10.83 MB / 0.8427 GB, free: 138.3 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.976, allocations: 2.812 kB / 0.8427 GB, free: 138.3 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01763/1.994, allocations: 9.74 MB / 0.8522 GB, free: 134.8 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004094/1.998, allocations: 1.068 MB / 0.8532 GB, free: 134.6 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002682/2.001, allocations: 44.03 kB / 0.8533 GB, free: 134.5 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005437/2.006, allocations: 180.6 kB / 0.8535 GB, free: 134.5 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001162/2.007, allocations: 166.8 kB / 0.8536 GB, free: 134.5 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006565/2.008, allocations: 72.78 kB / 0.8537 GB, free: 134.5 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.01428/2.022, allocations: 4.481 MB / 0.8581 GB, free: 133 MB / 0.4982 GB Notification: Performance of sort global known variables: time 5.21e-07/2.022, allocations: 0 / 0.8581 GB, free: 133 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01403/2.036, allocations: 1.67 MB / 0.8597 GB, free: 132.8 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * 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 (219): * Single equations (assignments): 213 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,11,100.0%), (1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001535/2.038, allocations: 189.9 kB / 0.8599 GB, free: 132.7 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01759/2.056, allocations: 8.346 MB / 0.868 GB, free: 129.7 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 8.926e-06/2.056, allocations: 4.125 kB / 0.868 GB, free: 129.7 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.004867/2.06, allocations: 2.846 MB / 0.8708 GB, free: 128.5 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008651/2.069, allocations: 0.7515 MB / 0.8715 GB, free: 128.1 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03103/2.1, allocations: 18.97 MB / 0.8901 GB, free: 115.8 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005966/2.106, allocations: 5.072 MB / 0.895 GB, free: 111.9 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.007403/2.114, allocations: 2.794 MB / 0.8978 GB, free: 109.6 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001347/2.115, allocations: 391.4 kB / 0.8981 GB, free: 109.2 MB / 0.4982 GB Notification: Performance of SimCode: time 3.427e-06/2.115, allocations: 0 / 0.8981 GB, free: 109.2 MB / 0.4982 GB Notification: Performance of Templates: time 0.1026/2.218, allocations: 62.44 MB / 0.9591 GB, free: 46.91 MB / 0.4982 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.pipe 2>&1)