Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.694/1.694, allocations: 205.1 MB / 222.4 MB, free: 4.555 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.4378/0.4378, allocations: 39.94 MB / 309.7 MB, free: 9.281 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.001863/0.001863, allocations: 78.41 kB / 377.6 MB, free: 12.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1723, allocations: 56.88 MB / 434.5 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.02132/0.1936, allocations: 16.17 MB / 450.7 MB, free: 3.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3412/0.5349, allocations: 5.094 MB / 455.8 MB, free: 36.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00424/0.5392, allocations: 99.56 kB / 455.9 MB, free: 36.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00806/0.5474, allocations: 4.569 MB / 460.4 MB, free: 36.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007919/0.5553, allocations: 2.576 MB / 463 MB, free: 35.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003197/0.5585, allocations: 1.163 MB / 464.2 MB, free: 35.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01253/0.5711, allocations: 6.62 MB / 470.8 MB, free: 34.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008996/0.5801, allocations: 5.898 MB / 476.7 MB, free: 31.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006866/0.587, allocations: 2.507 MB / 479.2 MB, free: 30.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006201/0.5933, allocations: 3.418 MB / 482.6 MB, free: 29.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002144/0.5955, allocations: 0.5693 MB / 483.2 MB, free: 29.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00534/0.6008, allocations: 1.568 MB / 484.7 MB, free: 29.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006422/0.6073, allocations: 3.114 MB / 487.9 MB, free: 28.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01518/0.6225, allocations: 3.594 MB / 491.5 MB, free: 25.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02661/0.6491, allocations: 11.07 MB / 0.4907 GB, free: 21.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.06e-05/0.6492, allocations: 8.969 kB / 0.4908 GB, free: 21.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.6492, allocations: 0 / 0.4908 GB, free: 21.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000821/0.65, allocations: 0 / 0.4908 GB, free: 21.15 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: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.03634/0.6864, allocations: 7.563 MB / 0.4981 GB, free: 16.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.6865, allocations: 12.64 kB / 0.4981 GB, free: 16.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0156/0.7021, allocations: 2.793 MB / 0.5009 GB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01253/0.7147, allocations: 4.266 MB / 0.505 GB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005719/0.7153, allocations: 386.9 kB / 0.5054 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003701/0.719, allocations: 0.4962 MB / 0.5059 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04328/0.7623, allocations: 16.41 MB / 0.5219 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005031/0.7628, allocations: 59.42 kB / 0.522 GB, free: 11.35 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003402/0.7663, allocations: 245.8 kB / 0.5222 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007727/0.774, allocations: 3.157 MB / 0.5253 GB, free: 8.023 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04322/0.8173, allocations: 14.27 MB / 0.5392 GB, free: 9.742 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1114/0.9288, allocations: 59.13 MB / 0.597 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02006/0.9489, allocations: 7.168 MB / 0.604 GB, free: 6.152 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00715/0.9561, allocations: 4.499 MB / 0.6084 GB, free: 1.641 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03218/0.9883, allocations: 15.42 MB / 0.6234 GB, free: 2.156 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.395e-05/0.9884, allocations: 72.5 kB / 0.6235 GB, free: 2.078 MB / 494.1 MB Notification: Performance of pre-optimization done (n=306): time 7.113e-06/0.9884, allocations: 0 / 0.6235 GB, free: 2.078 MB / 494.1 MB Notification: Performance of matching and sorting (n=348): time 0.4059/1.394, allocations: 32.83 MB / 0.6556 GB, free: 137.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001453/1.394, allocations: 216 kB / 0.6558 GB, free: 137.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01326/1.408, allocations: 5.351 MB / 0.661 GB, free: 135.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00161/1.409, allocations: 77.52 kB / 0.6611 GB, free: 135.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004908/1.414, allocations: 4.337 MB / 0.6653 GB, free: 131.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003392/1.418, allocations: 1.281 MB / 0.6666 GB, free: 130.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008226/1.426, allocations: 1.722 MB / 0.6682 GB, free: 130.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.209e-05/1.426, allocations: 304.2 kB / 0.6685 GB, free: 129.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008842/1.435, allocations: 3.923 MB / 0.6724 GB, free: 128.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01327/1.448, allocations: 8.419 MB / 0.6806 GB, free: 121.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01809/1.466, allocations: 13.24 MB / 0.6935 GB, free: 110.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002136/1.467, allocations: 44 kB / 0.6936 GB, free: 110.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=1104) (initialization): time 0.03233/1.499, allocations: 14.26 MB / 0.7075 GB, free: 97.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00023/1.499, allocations: 68.66 kB / 0.7075 GB, free: 97.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002706/1.5, allocations: 156 kB / 0.7077 GB, free: 97.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005777/1.505, allocations: 2.265 MB / 0.7099 GB, free: 94.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008045/1.513, allocations: 1.995 MB / 0.7119 GB, free: 92.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01589/1.529, allocations: 14.43 MB / 0.7259 GB, free: 78.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009357/1.539, allocations: 0.5003 MB / 0.7264 GB, free: 77.67 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002501/1.541, allocations: 487.9 kB / 0.7269 GB, free: 77.2 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 708 * Number of states: 0 () * Number of discrete variables: 51 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (1032): * Single equations (assignments): 1027 * 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.009957/1.551, allocations: 3.088 MB / 0.7299 GB, free: 74.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003415/1.555, allocations: 0.4898 MB / 0.7304 GB, free: 73.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01924/1.574, allocations: 8.402 MB / 0.7386 GB, free: 65.14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.174e-05/1.574, allocations: 36 kB / 0.7386 GB, free: 65.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.989e-05/1.574, allocations: 8 kB / 0.7386 GB, free: 65.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.468e-05/1.574, allocations: 15.94 kB / 0.7387 GB, free: 65.08 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04366/1.618, allocations: 17.17 MB / 0.7554 GB, free: 47.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.935e-05/1.618, allocations: 0.875 kB / 0.7554 GB, free: 47.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003882/1.622, allocations: 0.6163 MB / 0.756 GB, free: 47.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005554/1.627, allocations: 2.046 MB / 0.758 GB, free: 45.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001236/1.629, allocations: 59.98 kB / 0.7581 GB, free: 45.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0168/1.646, allocations: 13.66 MB / 0.7714 GB, free: 31.21 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.646, allocations: 0 / 0.7714 GB, free: 31.21 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02525/1.671, allocations: 13.15 MB / 0.7843 GB, free: 17.99 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004421/1.675, allocations: 1.135 MB / 0.7854 GB, free: 16.83 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003065/1.678, allocations: 56 kB / 0.7854 GB, free: 16.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005375/1.684, allocations: 263.5 kB / 0.7857 GB, free: 16.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001357/1.685, allocations: 200.4 kB / 0.7859 GB, free: 16.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007777/1.686, allocations: 93.48 kB / 0.786 GB, free: 16.23 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.01039/1.696, allocations: 3.362 MB / 0.7892 GB, free: 12.89 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.223e-06/1.696, allocations: 4 kB / 0.7892 GB, free: 12.89 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0208/1.717, allocations: 1.686 MB / 0.7909 GB, free: 11.21 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (294): * Single equations (assignments): 289 * 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.0025/1.72, allocations: 201.5 kB / 0.7911 GB, free: 11 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.05046/1.77, allocations: 15.23 MB / 0.806 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.867e-05/1.77, allocations: 4.562 kB / 0.806 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.2475/2.018, allocations: 4.1 MB / 0.81 GB, free: 151.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005877/2.024, allocations: 0.6715 MB / 0.8106 GB, free: 151.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02938/2.053, allocations: 15.87 MB / 0.8261 GB, free: 147.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006991/2.06, allocations: 4.802 MB / 0.8308 GB, free: 145.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.008999/2.069, allocations: 2.646 MB / 0.8334 GB, free: 145.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002924/2.072, allocations: 374.7 kB / 0.8337 GB, free: 145.5 MB / 0.4981 GB Notification: Performance of SimCode: time 1.633e-06/2.072, allocations: 0 / 0.8337 GB, free: 145.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.1224/2.195, allocations: 70.14 MB / 0.9022 GB, free: 96.26 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1)