Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.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.WorldForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006367/0.006367, allocations: 100.8 kB / 15.73 MB, free: 6.055 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.00134/0.00134, allocations: 197.2 kB / 16.68 MB, free: 5.969 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.375/1.375, allocations: 205.1 MB / 222.5 MB, free: 4.305 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.3014/0.3014, allocations: 38 MB / 307.9 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.001469/0.001469, allocations: 63.91 kB / 433 MB, free: 5.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3208, allocations: 56.47 MB / 489.5 MB, free: 19.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.01717/0.338, allocations: 18.82 MB / 0.4964 GB, free: 6.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01311/0.3512, allocations: 5.637 MB / 0.5019 GB, free: 2.602 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004637/0.3559, allocations: 125.3 kB / 0.502 GB, free: 2.578 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01068/0.3666, allocations: 5.621 MB / 0.5075 GB, free: 15.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008667/0.3753, allocations: 3.095 MB / 0.5106 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003189/0.3785, allocations: 1.185 MB / 0.5117 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01337/0.3919, allocations: 8.307 MB / 0.5198 GB, free: 7.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0135/0.4055, allocations: 7.224 MB / 0.5269 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006525/0.412, allocations: 2.963 MB / 0.5298 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007005/0.4191, allocations: 4.132 MB / 0.5338 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002699/0.4218, allocations: 0.6562 MB / 0.5344 GB, free: 9.535 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005377/0.4272, allocations: 1.526 MB / 0.5359 GB, free: 8.012 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006284/0.4335, allocations: 3.799 MB / 0.5396 GB, free: 4.203 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01015/0.4437, allocations: 4.25 MB / 0.5438 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02053/0.4643, allocations: 13.22 MB / 0.5567 GB, free: 2.664 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.4643, allocations: 0 / 0.5567 GB, free: 2.664 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.4644, allocations: 4 kB / 0.5567 GB, free: 2.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005758/0.4649, allocations: 3.938 kB / 0.5567 GB, free: 2.656 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2705 * Number of variables: 2705 Notification: Performance of Generate backend data structure: time 0.03366/0.4986, allocations: 8.939 MB / 0.5654 GB, free: 9.625 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.4987, allocations: 11.89 kB / 0.5655 GB, free: 9.613 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02651/0.5252, allocations: 3.293 MB / 0.5687 GB, free: 6.305 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0175/0.5427, allocations: 5.541 MB / 0.5741 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004898/0.5433, allocations: 443.4 kB / 0.5745 GB, free: 256 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002547/0.5458, allocations: 0.5855 MB / 0.5751 GB, free: 15.66 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04754/0.5934, allocations: 17.78 MB / 0.5924 GB, free: 12.72 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003455/0.5938, allocations: 79.31 kB / 0.5925 GB, free: 12.64 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001875/0.5957, allocations: 275.8 kB / 0.5928 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009345/0.6051, allocations: 3.42 MB / 0.5961 GB, free: 8.945 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0422/0.6473, allocations: 14.89 MB / 0.6107 GB, free: 10.01 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3634/1.011, allocations: 68.68 MB / 0.6777 GB, free: 77.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01687/1.028, allocations: 7.377 MB / 0.6849 GB, free: 74.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006413/1.034, allocations: 4.436 MB / 0.6893 GB, free: 72.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002614/1.034, allocations: 66.64 kB / 0.6893 GB, free: 72.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.435e-05/1.034, allocations: 71.5 kB / 0.6894 GB, free: 72.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=307): time 5.841e-06/1.034, allocations: 0 / 0.6894 GB, free: 72.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=340): time 0.08032/1.115, allocations: 35.33 MB / 0.7239 GB, free: 53.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/1.115, allocations: 295.4 kB / 0.7242 GB, free: 52.97 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01109/1.126, allocations: 7.463 MB / 0.7315 GB, free: 45.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001328/1.127, allocations: 77.7 kB / 0.7315 GB, free: 45.44 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003679/1.131, allocations: 5.279 MB / 0.7367 GB, free: 40.17 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002218/1.133, allocations: 1.288 MB / 0.738 GB, free: 38.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003097/1.136, allocations: 2.038 MB / 0.7399 GB, free: 36.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.21e-05/1.137, allocations: 313.1 kB / 0.7402 GB, free: 36.53 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005464/1.142, allocations: 4.154 MB / 0.7443 GB, free: 32.37 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008726/1.151, allocations: 9.794 MB / 0.7539 GB, free: 19.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01587/1.167, allocations: 14.94 MB / 0.7685 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001809/1.167, allocations: 56 kB / 0.7685 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1301) (initialization): time 0.03415/1.201, allocations: 15.77 MB / 0.7839 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001318/1.201, allocations: 88.94 kB / 0.784 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002379/1.201, allocations: 204 kB / 0.7842 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0058/1.207, allocations: 2.315 MB / 0.7865 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008923/1.216, allocations: 2.363 MB / 0.7888 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0201/1.236, allocations: 15.56 MB / 0.804 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0106/1.247, allocations: 0.5696 MB / 0.8045 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002463/1.25, allocations: 0.5742 MB / 0.8051 GB, free: 12.18 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 896 * Number of states: 0 () * Number of discrete variables: 63 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[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],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],worldForce.color[3],worldForce.color[2],worldForce.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],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 (1226): * Single equations (assignments): 1220 * 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 {(2,23,100.0%), (1,14,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008898/1.258, allocations: 3.6 MB / 0.8086 GB, free: 8.566 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002213/1.261, allocations: 0.6324 MB / 0.8092 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01532/1.276, allocations: 8.133 MB / 0.8172 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.69e-05/1.276, allocations: 36 kB / 0.8172 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.479e-05/1.276, allocations: 12 kB / 0.8172 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.089e-05/1.276, allocations: 15.94 kB / 0.8172 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03805/1.314, allocations: 17.04 MB / 0.8339 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.243e-05/1.314, allocations: 4 kB / 0.8339 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003252/1.318, allocations: 0.6241 MB / 0.8345 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005349/1.323, allocations: 2.004 MB / 0.8364 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004718/1.324, allocations: 63.92 kB / 0.8365 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01866/1.342, allocations: 14.64 MB / 0.8508 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/1.342, allocations: 3.984 kB / 0.8508 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3714/1.714, allocations: 12.96 MB / 0.8634 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005064/1.719, allocations: 1.269 MB / 0.8647 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001362/1.72, allocations: 58.33 kB / 0.8647 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003146/1.723, allocations: 228.2 kB / 0.865 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006917/1.724, allocations: 204.4 kB / 0.8651 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002874/1.724, allocations: 84.05 kB / 0.8652 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.01039/1.735, allocations: 4.755 MB / 0.8699 GB, free: 196.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.51e-07/1.735, allocations: 0 / 0.8699 GB, free: 196.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01329/1.748, allocations: 1.903 MB / 0.8717 GB, free: 196 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (286): * Single equations (assignments): 280 * 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 {(4,18,75.0%), (1,11,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001089/1.749, allocations: 209.4 kB / 0.8719 GB, free: 195.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02064/1.77, allocations: 10.19 MB / 0.8819 GB, free: 192.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/1.77, allocations: 5.531 kB / 0.8819 GB, free: 192.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008321/1.778, allocations: 3.892 MB / 0.8857 GB, free: 190.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006391/1.785, allocations: 0.8655 MB / 0.8865 GB, free: 190.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03744/1.822, allocations: 17.7 MB / 0.9038 GB, free: 182.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008913/1.831, allocations: 5.454 MB / 0.9091 GB, free: 181.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007948/1.839, allocations: 3.175 MB / 0.9122 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002078/1.841, allocations: 448.2 kB / 0.9127 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.422e-06/1.841, allocations: 3.938 kB / 0.9127 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.1213/1.962, allocations: 70.89 MB / 0.9819 GB, free: 114.3 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1)