Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 108 kB / 15.6 MB, free: 124 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.001553/0.001553, allocations: 195.6 kB / 16.54 MB, free: 6.668 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.56/1.56, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.4381/0.4381, allocations: 39.94 MB / 309.7 MB, free: 9.277 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.00182/0.00182, allocations: 71.89 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1749, allocations: 56.89 MB / 434.5 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.02026/0.1952, allocations: 17.12 MB / 451.6 MB, free: 2.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3635/0.5588, allocations: 5.243 MB / 456.9 MB, free: 36.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003202/0.5621, allocations: 108.9 kB / 457 MB, free: 36.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007511/0.5696, allocations: 4.848 MB / 461.8 MB, free: 36.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00813/0.5778, allocations: 2.773 MB / 464.6 MB, free: 35.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002998/0.5808, allocations: 1.141 MB / 465.7 MB, free: 35.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01126/0.5921, allocations: 7.002 MB / 472.7 MB, free: 33.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008399/0.6005, allocations: 6.094 MB / 478.8 MB, free: 30.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005207/0.6057, allocations: 2.601 MB / 481.4 MB, free: 29.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006082/0.6118, allocations: 3.561 MB / 485 MB, free: 28.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002899/0.6148, allocations: 0.5785 MB / 485.6 MB, free: 28.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006864/0.6216, allocations: 1.608 MB / 487.2 MB, free: 28.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008075/0.6297, allocations: 3.303 MB / 490.5 MB, free: 27.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01411/0.6439, allocations: 3.78 MB / 494.3 MB, free: 24.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02583/0.6697, allocations: 11.57 MB / 0.494 GB, free: 19.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.6698, allocations: 0 / 0.494 GB, free: 19.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.6698, allocations: 0 / 0.494 GB, free: 19.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008314/0.6706, allocations: 4 kB / 0.494 GB, free: 19.2 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: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.04666/0.7173, allocations: 8.065 MB / 0.5019 GB, free: 13.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001098/0.7175, allocations: 12.86 kB / 0.5019 GB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0189/0.7364, allocations: 2.864 MB / 0.5047 GB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01633/0.7527, allocations: 4.555 MB / 0.5091 GB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004811/0.7533, allocations: 398.1 kB / 0.5095 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003818/0.7571, allocations: 0.5249 MB / 0.51 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04715/0.8043, allocations: 16.91 MB / 0.5265 GB, free: 6.852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006285/0.805, allocations: 71.3 kB / 0.5266 GB, free: 6.781 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003517/0.8085, allocations: 250 kB / 0.5268 GB, free: 6.598 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007021/0.8156, allocations: 3.25 MB / 0.53 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03683/0.8524, allocations: 14.51 MB / 0.5442 GB, free: 4.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1229/0.9754, allocations: 62.77 MB / 0.6055 GB, free: 4.801 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02079/0.9963, allocations: 6.901 MB / 0.6122 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007525/1.004, allocations: 4.244 MB / 0.6163 GB, free: 9.496 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.316/1.32, allocations: 9.657 MB / 0.6258 GB, free: 142.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.832e-05/1.32, allocations: 60.56 kB / 0.6258 GB, free: 142.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=297): time 9.689e-06/1.32, allocations: 0 / 0.6258 GB, free: 142.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=339): time 0.1121/1.432, allocations: 34.79 MB / 0.6598 GB, free: 132.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001648/1.432, allocations: 247.3 kB / 0.66 GB, free: 132.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02315/1.456, allocations: 6.748 MB / 0.6666 GB, free: 130.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001693/1.457, allocations: 77.36 kB / 0.6667 GB, free: 130.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006521/1.464, allocations: 4.751 MB / 0.6713 GB, free: 126.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003295/1.467, allocations: 1.275 MB / 0.6726 GB, free: 125.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01216/1.479, allocations: 1.876 MB / 0.6744 GB, free: 124.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.177e-05/1.48, allocations: 301.1 kB / 0.6747 GB, free: 124.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009278/1.489, allocations: 4.072 MB / 0.6787 GB, free: 123.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01308/1.502, allocations: 9.142 MB / 0.6876 GB, free: 114.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02033/1.522, allocations: 14.16 MB / 0.7014 GB, free: 100.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002883/1.523, allocations: 48 kB / 0.7015 GB, free: 100.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.03558/1.558, allocations: 15.12 MB / 0.7163 GB, free: 86.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002518/1.559, allocations: 80 kB / 0.7163 GB, free: 86.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003607/1.559, allocations: 179.9 kB / 0.7165 GB, free: 86.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005601/1.564, allocations: 2.299 MB / 0.7188 GB, free: 83.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008379/1.573, allocations: 2.146 MB / 0.7208 GB, free: 81.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01546/1.588, allocations: 14.46 MB / 0.735 GB, free: 67.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01008/1.598, allocations: 0.5423 MB / 0.7355 GB, free: 66.53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002412/1.601, allocations: 0.5273 MB / 0.736 GB, free: 66 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 804 * Number of states: 0 () * Number of discrete variables: 57 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],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 (1125): * Single equations (assignments): 1118 * Array equations: 5 * 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.009571/1.611, allocations: 3.291 MB / 0.7392 GB, free: 62.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0027/1.613, allocations: 0.5784 MB / 0.7398 GB, free: 62.12 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01678/1.63, allocations: 8.455 MB / 0.748 GB, free: 53.63 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-05/1.63, allocations: 36 kB / 0.7481 GB, free: 53.59 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-05/1.63, allocations: 15.98 kB / 0.7481 GB, free: 53.58 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.266e-05/1.63, allocations: 11.95 kB / 0.7481 GB, free: 53.57 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04396/1.674, allocations: 17.11 MB / 0.7648 GB, free: 36.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.535e-05/1.674, allocations: 4 kB / 0.7648 GB, free: 36.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004334/1.679, allocations: 0.5811 MB / 0.7654 GB, free: 35.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00573/1.684, allocations: 2.046 MB / 0.7674 GB, free: 33.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001254/1.686, allocations: 60 kB / 0.7674 GB, free: 33.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01784/1.704, allocations: 13.66 MB / 0.7808 GB, free: 19.82 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/1.704, allocations: 7.938 kB / 0.7808 GB, free: 19.81 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02449/1.728, allocations: 13.1 MB / 0.7936 GB, free: 6.574 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005002/1.733, allocations: 1.235 MB / 0.7948 GB, free: 5.312 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003172/1.736, allocations: 59.94 kB / 0.7948 GB, free: 5.254 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005237/1.742, allocations: 243.6 kB / 0.7951 GB, free: 5.016 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001141/1.743, allocations: 213.7 kB / 0.7953 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005929/1.743, allocations: 85.03 kB / 0.7954 GB, free: 4.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.01186/1.755, allocations: 4.35 MB / 0.7996 GB, free: 404 kB / 494.1 MB Notification: Performance of sort global known variables: time 8.71e-07/1.755, allocations: 0 / 0.7996 GB, free: 404 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.01702/1.772, allocations: 1.777 MB / 0.8013 GB, free: 14.62 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (279): * Single equations (assignments): 274 * 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.001796/1.774, allocations: 221.1 kB / 0.8016 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.2994/2.074, allocations: 12.29 MB / 0.8136 GB, free: 148.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.354e-05/2.074, allocations: 0 / 0.8136 GB, free: 148.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00714/2.081, allocations: 3.986 MB / 0.8175 GB, free: 148.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006375/2.087, allocations: 0.7768 MB / 0.8182 GB, free: 148.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03474/2.122, allocations: 16.8 MB / 0.8346 GB, free: 141.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009847/2.132, allocations: 5.036 MB / 0.8395 GB, free: 139.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.01024/2.142, allocations: 2.964 MB / 0.8424 GB, free: 139.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002351/2.145, allocations: 418.7 kB / 0.8428 GB, free: 139.2 MB / 0.4981 GB Notification: Performance of SimCode: time 3.136e-06/2.145, allocations: 0 / 0.8428 GB, free: 139.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.144/2.289, allocations: 72.99 MB / 0.9141 GB, free: 83.3 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1)