Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, 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.001519/0.001519, allocations: 197.7 kB / 16.14 MB, free: 6.711 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.767/1.767, allocations: 205.1 MB / 222 MB, free: 4.984 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.3788/0.3788, allocations: 37.98 MB / 307.3 MB, free: 9.875 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.00132/0.00132, allocations: 63.92 kB / 374.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1502, allocations: 56.47 MB / 431 MB, free: 7.059 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.3732/0.5235, allocations: 93.45 MB / 0.5122 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05712/0.5807, allocations: 17.97 MB / 0.5297 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02979/0.6106, allocations: 406.7 kB / 0.5301 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01073/0.6214, allocations: 4.567 MB / 0.5346 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01028/0.6317, allocations: 2.453 MB / 0.537 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004041/0.6358, allocations: 1.051 MB / 0.538 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01576/0.6516, allocations: 9.789 MB / 0.5476 GB, free: 5.812 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008526/0.6602, allocations: 5.683 MB / 0.5531 GB, free: 96 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005962/0.6662, allocations: 2.184 MB / 0.5552 GB, free: 13.9 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007488/0.6737, allocations: 3.664 MB / 0.5588 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002435/0.6762, allocations: 400 kB / 0.5592 GB, free: 9.836 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005112/0.6813, allocations: 1.471 MB / 0.5606 GB, free: 8.363 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004897/0.6863, allocations: 3.043 MB / 0.5636 GB, free: 5.312 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006808/0.6931, allocations: 3.491 MB / 0.567 GB, free: 1.801 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01416/0.7073, allocations: 11.01 MB / 0.5778 GB, free: 6.754 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.7073, allocations: 0 / 0.5778 GB, free: 6.754 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.7074, allocations: 0 / 0.5778 GB, free: 6.754 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004662/0.7078, allocations: 0 / 0.5778 GB, free: 6.754 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.02364/0.7315, allocations: 7.677 MB / 0.5853 GB, free: 15 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/0.7316, allocations: 12.03 kB / 0.5853 GB, free: 14.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01446/0.746, allocations: 2.831 MB / 0.588 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01088/0.7569, allocations: 4.301 MB / 0.5922 GB, free: 7.781 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003745/0.7574, allocations: 389.8 kB / 0.5926 GB, free: 7.398 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002356/0.7597, allocations: 0.5074 MB / 0.5931 GB, free: 6.891 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03202/0.7918, allocations: 16.4 MB / 0.6091 GB, free: 5.523 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002349/0.792, allocations: 63.45 kB / 0.6092 GB, free: 5.461 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001251/0.7933, allocations: 243.8 kB / 0.6094 GB, free: 5.223 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005703/0.799, allocations: 3.158 MB / 0.6125 GB, free: 2.059 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03171/0.8308, allocations: 14.12 MB / 0.6263 GB, free: 3.914 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3415/1.172, allocations: 60.64 MB / 0.6855 GB, free: 103.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02229/1.195, allocations: 8 MB / 0.6933 GB, free: 101.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007579/1.202, allocations: 4.211 MB / 0.6974 GB, free: 99.71 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002954/1.203, allocations: 58.86 kB / 0.6975 GB, free: 99.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.942e-05/1.203, allocations: 64.2 kB / 0.6976 GB, free: 99.64 MB / 494.1 MB Notification: Performance of pre-optimization done (n=290): time 7.865e-06/1.203, allocations: 0 / 0.6976 GB, free: 99.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=332): time 0.1121/1.315, allocations: 35.4 MB / 0.7321 GB, free: 78.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001502/1.315, allocations: 222 kB / 0.7323 GB, free: 78.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01071/1.326, allocations: 6.366 MB / 0.7386 GB, free: 71.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001452/1.327, allocations: 77.7 kB / 0.7386 GB, free: 71.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002866/1.33, allocations: 4.539 MB / 0.7431 GB, free: 67.31 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001903/1.332, allocations: 1.236 MB / 0.7443 GB, free: 66.06 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002553/1.335, allocations: 1.812 MB / 0.746 GB, free: 64.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.13e-05/1.335, allocations: 305.1 kB / 0.7463 GB, free: 63.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005192/1.34, allocations: 4.105 MB / 0.7503 GB, free: 59.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008121/1.348, allocations: 8.96 MB / 0.7591 GB, free: 48.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01583/1.364, allocations: 13.98 MB / 0.7727 GB, free: 32.13 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001632/1.364, allocations: 48 kB / 0.7728 GB, free: 32.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.03022/1.394, allocations: 14.97 MB / 0.7874 GB, free: 17.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002241/1.395, allocations: 76 kB / 0.7875 GB, free: 17.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003276/1.395, allocations: 172 kB / 0.7876 GB, free: 16.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005794/1.401, allocations: 2.276 MB / 0.7899 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007836/1.409, allocations: 2.098 MB / 0.7919 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01612/1.425, allocations: 13.5 MB / 0.8051 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009047/1.434, allocations: 0.5406 MB / 0.8056 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002302/1.436, allocations: 0.5077 MB / 0.8061 GB, free: 13.64 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 769 * Number of states: 0 () * Number of discrete variables: 54 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1084): * Single equations (assignments): 1079 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007197/1.443, allocations: 3.161 MB / 0.8092 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001554/1.445, allocations: 0.5553 MB / 0.8097 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0158/1.461, allocations: 8.454 MB / 0.818 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-05/1.461, allocations: 36 kB / 0.818 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.948e-05/1.461, allocations: 8 kB / 0.818 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.413e-05/1.461, allocations: 15.94 kB / 0.8181 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3466/1.808, allocations: 17.42 MB / 0.8351 GB, free: 144.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.784e-05/1.808, allocations: 4.281 kB / 0.8351 GB, free: 144.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003291/1.811, allocations: 0.5956 MB / 0.8357 GB, free: 144.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005166/1.816, allocations: 2.04 MB / 0.8377 GB, free: 144.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007754/1.817, allocations: 70.23 kB / 0.8377 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01675/1.834, allocations: 12.71 MB / 0.8501 GB, free: 138.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/1.834, allocations: 7.406 kB / 0.8501 GB, free: 138.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02975/1.864, allocations: 13.51 MB / 0.8633 GB, free: 133.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005221/1.869, allocations: 1.242 MB / 0.8645 GB, free: 132.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002524/1.871, allocations: 61.97 kB / 0.8646 GB, free: 132.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005457/1.877, allocations: 280.1 kB / 0.8649 GB, free: 132.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001094/1.878, allocations: 202 kB / 0.8651 GB, free: 132.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003453/1.878, allocations: 91.86 kB / 0.8651 GB, free: 132.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0105/1.889, allocations: 4.051 MB / 0.8691 GB, free: 131.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.32e-07/1.889, allocations: 0 / 0.8691 GB, free: 131.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01152/1.901, allocations: 1.748 MB / 0.8708 GB, free: 131.2 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (278): * Single equations (assignments): 273 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001341/1.902, allocations: 210.5 kB / 0.871 GB, free: 131.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0192/1.921, allocations: 9.887 MB / 0.8807 GB, free: 127.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.747e-05/1.921, allocations: 7.688 kB / 0.8807 GB, free: 127.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007695/1.929, allocations: 4.127 MB / 0.8847 GB, free: 124.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006323/1.935, allocations: 0.6945 MB / 0.8854 GB, free: 123.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03145/1.967, allocations: 19.51 MB / 0.9044 GB, free: 105.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007232/1.974, allocations: 4.856 MB / 0.9092 GB, free: 101.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007762/1.982, allocations: 2.912 MB / 0.912 GB, free: 98.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001877/1.984, allocations: 403.3 kB / 0.9124 GB, free: 97.79 MB / 0.4981 GB Notification: Performance of SimCode: time 8.11e-07/1.984, allocations: 0 / 0.9124 GB, free: 97.79 MB / 0.4981 GB Notification: Performance of Templates: time 0.1192/2.103, allocations: 69.13 MB / 0.9799 GB, free: 28.74 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1)