Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.ForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001657/0.001657, allocations: 191 kB / 16.25 MB, free: 6.641 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.752/1.752, allocations: 205.1 MB / 222.1 MB, free: 4.734 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.3608/0.3608, allocations: 39.93 MB / 309.4 MB, free: 8.98 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.001448/0.001449, allocations: 67.91 kB / 377.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1333, allocations: 56.89 MB / 434 MB, free: 3.762 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForcesAndTorques): time 0.2951/0.4284, allocations: 106.2 MB / 0.5275 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05872/0.4872, allocations: 19.88 MB / 0.5469 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02638/0.5136, allocations: 450.2 kB / 0.5473 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01189/0.5256, allocations: 5.651 MB / 0.5529 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01274/0.5384, allocations: 2.756 MB / 0.5556 GB, free: 12.1 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004191/0.5426, allocations: 1.141 MB / 0.5567 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01502/0.5576, allocations: 7.729 MB / 0.5642 GB, free: 3.219 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01431/0.572, allocations: 7.945 MB / 0.572 GB, free: 11.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006844/0.5789, allocations: 2.979 MB / 0.5749 GB, free: 8.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007325/0.5863, allocations: 4.452 MB / 0.5792 GB, free: 3.785 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002825/0.5891, allocations: 0.6641 MB / 0.5799 GB, free: 3.121 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004712/0.5939, allocations: 1.557 MB / 0.5814 GB, free: 1.562 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006187/0.6001, allocations: 3.776 MB / 0.5851 GB, free: 13.77 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00878/0.6089, allocations: 4.257 MB / 0.5892 GB, free: 9.492 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.019/0.6279, allocations: 12.87 MB / 0.6018 GB, free: 12.59 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.328e-05/0.628, allocations: 3.984 kB / 0.6018 GB, free: 12.58 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.628, allocations: 0 / 0.6018 GB, free: 12.58 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0007365/0.6288, allocations: 0 / 0.6018 GB, free: 12.58 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.02604/0.6548, allocations: 8.854 MB / 0.6105 GB, free: 3.641 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.6549, allocations: 11.89 kB / 0.6105 GB, free: 3.629 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01442/0.6693, allocations: 2.993 MB / 0.6134 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01028/0.6796, allocations: 4.868 MB / 0.6182 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003924/0.6801, allocations: 452.1 kB / 0.6186 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00248/0.6826, allocations: 0.5972 MB / 0.6192 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3861/1.069, allocations: 18.48 MB / 0.6372 GB, free: 141 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000293/1.069, allocations: 68 kB / 0.6373 GB, free: 141 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001267/1.07, allocations: 282.8 kB / 0.6376 GB, free: 140.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00514/1.075, allocations: 3.544 MB / 0.641 GB, free: 140.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02829/1.104, allocations: 15.68 MB / 0.6563 GB, free: 135.4 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08/1.184, allocations: 70.22 MB / 0.7249 GB, free: 84.33 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01868/1.203, allocations: 8.447 MB / 0.7331 GB, free: 75.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005171/1.208, allocations: 5.001 MB / 0.738 GB, free: 70.71 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01677/1.225, allocations: 11.86 MB / 0.7496 GB, free: 58.65 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.001e-05/1.225, allocations: 73.19 kB / 0.7497 GB, free: 58.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=347): time 6.202e-06/1.225, allocations: 0 / 0.7497 GB, free: 58.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=389): time 0.08596/1.311, allocations: 38.93 MB / 0.7877 GB, free: 19.38 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.178e-05/1.311, allocations: 248.9 kB / 0.7879 GB, free: 19.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01201/1.323, allocations: 7.428 MB / 0.7952 GB, free: 11.67 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008953/1.324, allocations: 89.69 kB / 0.7953 GB, free: 11.58 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002817/1.327, allocations: 5.208 MB / 0.8004 GB, free: 6.305 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001747/1.328, allocations: 1.446 MB / 0.8018 GB, free: 4.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003107/1.331, allocations: 2.087 MB / 0.8038 GB, free: 2.742 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.475e-05/1.331, allocations: 301.1 kB / 0.8041 GB, free: 2.445 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006401/1.338, allocations: 4.467 MB / 0.8085 GB, free: 13.97 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01317/1.351, allocations: 10.09 MB / 0.8183 GB, free: 1.148 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2531/1.604, allocations: 15.65 MB / 0.8336 GB, free: 129.6 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001243/1.604, allocations: 56 kB / 0.8336 GB, free: 129.6 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1343) (initialization): time 0.02899/1.633, allocations: 16.47 MB / 0.8497 GB, free: 124 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.000148/1.634, allocations: 88 kB / 0.8498 GB, free: 124 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003083/1.634, allocations: 198 kB / 0.85 GB, free: 124 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005961/1.64, allocations: 2.319 MB / 0.8523 GB, free: 123.6 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009157/1.649, allocations: 2.437 MB / 0.8546 GB, free: 123.3 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01789/1.667, allocations: 14.45 MB / 0.8688 GB, free: 116 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009296/1.676, allocations: 0.5869 MB / 0.8693 GB, free: 115.9 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002332/1.679, allocations: 0.5858 MB / 0.8699 GB, free: 115.8 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 890 * Number of states: 0 () * Number of discrete variables: 69 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1261): * Single equations (assignments): 1254 * 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.007055/1.686, allocations: 3.622 MB / 0.8734 GB, free: 114.2 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001243/1.687, allocations: 0.6362 MB / 0.8741 GB, free: 114.2 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01532/1.702, allocations: 9.195 MB / 0.883 GB, free: 110.9 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.306e-05/1.702, allocations: 43.06 kB / 0.8831 GB, free: 110.9 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.548e-05/1.702, allocations: 8.609 kB / 0.8831 GB, free: 110.9 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-05/1.703, allocations: 24.83 kB / 0.8831 GB, free: 110.9 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02978/1.732, allocations: 19.37 MB / 0.902 GB, free: 99.62 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.059e-05/1.732, allocations: 11.36 kB / 0.902 GB, free: 99.62 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003403/1.736, allocations: 0.7029 MB / 0.9027 GB, free: 99.06 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004595/1.74, allocations: 2.05 MB / 0.9047 GB, free: 97.26 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006201/1.741, allocations: 79.92 kB / 0.9048 GB, free: 97.18 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01372/1.755, allocations: 13.67 MB / 0.9182 GB, free: 83.35 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.755, allocations: 11.94 kB / 0.9182 GB, free: 83.34 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01881/1.774, allocations: 14.32 MB / 0.9322 GB, free: 69 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002882/1.777, allocations: 1.34 MB / 0.9335 GB, free: 67.63 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00142/1.778, allocations: 79.98 kB / 0.9335 GB, free: 67.55 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003355/1.781, allocations: 267.2 kB / 0.9338 GB, free: 67.29 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007135/1.782, allocations: 246.8 kB / 0.934 GB, free: 67.05 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002744/1.782, allocations: 107.4 kB / 0.9341 GB, free: 66.95 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.007036/1.789, allocations: 4.786 MB / 0.9388 GB, free: 62.2 MB / 0.4982 GB Notification: Performance of sort global known variables: time 3.21e-07/1.789, allocations: 4 kB / 0.9388 GB, free: 62.19 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.009949/1.799, allocations: 1.938 MB / 0.9407 GB, free: 60.26 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (329): * Single equations (assignments): 324 * 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.0009776/1.8, allocations: 232.1 kB / 0.9409 GB, free: 60.03 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.02013/1.821, allocations: 13.95 MB / 0.9545 GB, free: 46.14 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-05/1.821, allocations: 0 / 0.9545 GB, free: 46.14 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.006292/1.827, allocations: 4.321 MB / 0.9588 GB, free: 41.79 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007325/1.834, allocations: 0.8378 MB / 0.9596 GB, free: 41 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02734/1.862, allocations: 22.1 MB / 0.9812 GB, free: 18.81 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006303/1.868, allocations: 5.484 MB / 0.9865 GB, free: 13.29 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.008082/1.876, allocations: 3.322 MB / 0.9898 GB, free: 9.965 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001772/1.878, allocations: 455.3 kB / 0.9902 GB, free: 9.52 MB / 0.4982 GB Notification: Performance of SimCode: time 8.22e-07/1.878, allocations: 0 / 0.9902 GB, free: 9.52 MB / 0.4982 GB Notification: Performance of Templates: time 0.3261/2.204, allocations: 79.37 MB / 1.068 GB, free: 129.4 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1)