Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.ForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0007622/0.0007622, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.005576/0.005576, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.419/1.419, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.2976/0.2976, allocations: 38.04 MB / 308.8 MB, free: 10.18 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.0006285/0.0006284, allocations: 12 kB / 377 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1053, allocations: 57.53 MB / 434.6 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForcesAndTorques): time 0.2883/0.3936, allocations: 103.7 MB / 0.5257 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04887/0.4425, allocations: 19.92 MB / 0.5451 GB, free: 4.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02416/0.4668, allocations: 447 kB / 0.5456 GB, free: 4.668 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002699/0.4695, allocations: 0.7069 MB / 0.5463 GB, free: 4.379 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008461/0.478, allocations: 2.801 MB / 0.549 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002875/0.4809, allocations: 1.005 MB / 0.55 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01378/0.4947, allocations: 11.14 MB / 0.5608 GB, free: 10.65 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01546/0.5102, allocations: 10.31 MB / 0.5709 GB, free: 240 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004585/0.5148, allocations: 2.097 MB / 0.573 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006196/0.521, allocations: 3.632 MB / 0.5765 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001605/0.5227, allocations: 272 kB / 0.5768 GB, free: 10.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004179/0.5268, allocations: 1.201 MB / 0.5779 GB, free: 9.016 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004828/0.5317, allocations: 3.276 MB / 0.5811 GB, free: 5.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007608/0.5393, allocations: 3.689 MB / 0.5847 GB, free: 2.012 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01679/0.5562, allocations: 12.23 MB / 0.5967 GB, free: 5.742 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.5562, allocations: 0 / 0.5967 GB, free: 5.742 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.699e-06/0.5563, allocations: 0 / 0.5967 GB, free: 5.742 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005003/0.5568, allocations: 3.938 kB / 0.5967 GB, free: 5.738 MB / 462.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.01786/0.5746, allocations: 7.216 MB / 0.6037 GB, free: 14.44 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.5747, allocations: 15.97 kB / 0.6038 GB, free: 14.42 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01488/0.5896, allocations: 3.048 MB / 0.6067 GB, free: 11.36 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01143/0.6011, allocations: 4.872 MB / 0.6115 GB, free: 6.406 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004649/0.6016, allocations: 456 kB / 0.6119 GB, free: 5.961 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002309/0.6039, allocations: 0.5932 MB / 0.6125 GB, free: 5.367 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03697/0.6409, allocations: 18.52 MB / 0.6306 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002512/0.6412, allocations: 63.47 kB / 0.6306 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001411/0.6426, allocations: 283.7 kB / 0.6309 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3641/1.007, allocations: 3.544 MB / 0.6344 GB, free: 142.6 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02964/1.036, allocations: 15.7 MB / 0.6497 GB, free: 139.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08038/1.117, allocations: 70.28 MB / 0.7183 GB, free: 92.64 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01875/1.136, allocations: 8.474 MB / 0.7266 GB, free: 84.01 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005161/1.141, allocations: 4.993 MB / 0.7315 GB, free: 79.01 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01538/1.156, allocations: 11.86 MB / 0.7431 GB, free: 67.03 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.01e-05/1.156, allocations: 77.11 kB / 0.7431 GB, free: 66.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=347): time 8.606e-06/1.156, allocations: 3.984 kB / 0.7432 GB, free: 66.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=389): time 0.08499/1.241, allocations: 38.91 MB / 0.7812 GB, free: 27.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.871e-05/1.241, allocations: 248.9 kB / 0.7814 GB, free: 27.49 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008242/1.25, allocations: 7.43 MB / 0.7886 GB, free: 20.08 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009299/1.251, allocations: 87.27 kB / 0.7887 GB, free: 19.99 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002403/1.253, allocations: 5.207 MB / 0.7938 GB, free: 14.79 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00135/1.254, allocations: 1.449 MB / 0.7952 GB, free: 13.35 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000994/1.255, allocations: 0.8765 MB / 0.7961 GB, free: 12.47 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.632e-05/1.255, allocations: 305.1 kB / 0.7964 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005547/1.261, allocations: 4.475 MB / 0.8007 GB, free: 7.688 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008569/1.27, allocations: 10.09 MB / 0.8106 GB, free: 10.86 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2456/1.515, allocations: 15.64 MB / 0.8259 GB, free: 136.1 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001624/1.515, allocations: 54.47 kB / 0.8259 GB, free: 136.1 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1343) (initialization): time 0.02909/1.545, allocations: 16.46 MB / 0.842 GB, free: 132.7 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 9.829e-05/1.545, allocations: 90.94 kB / 0.8421 GB, free: 132.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002146/1.545, allocations: 193.7 kB / 0.8423 GB, free: 132.7 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005375/1.55, allocations: 2.319 MB / 0.8445 GB, free: 132.2 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008565/1.559, allocations: 2.433 MB / 0.8469 GB, free: 132 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01735/1.576, allocations: 13.52 MB / 0.8601 GB, free: 125.3 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009291/1.586, allocations: 0.5865 MB / 0.8607 GB, free: 125.1 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002192/1.588, allocations: 0.5905 MB / 0.8613 GB, free: 125.1 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.007248/1.595, allocations: 3.623 MB / 0.8648 GB, free: 123.5 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001375/1.596, allocations: 0.6394 MB / 0.8654 GB, free: 123.5 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01919/1.616, allocations: 9.192 MB / 0.8744 GB, free: 120.2 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.39e-05/1.616, allocations: 41.66 kB / 0.8744 GB, free: 120.2 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.835e-05/1.616, allocations: 11.48 kB / 0.8745 GB, free: 120.2 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.162e-05/1.616, allocations: 22.22 kB / 0.8745 GB, free: 120.2 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03533/1.651, allocations: 19.37 MB / 0.8934 GB, free: 111.5 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.233e-05/1.651, allocations: 8 kB / 0.8934 GB, free: 111.5 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003472/1.655, allocations: 0.7024 MB / 0.8941 GB, free: 110.9 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005617/1.66, allocations: 2.043 MB / 0.8961 GB, free: 109.1 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008986/1.661, allocations: 75.98 kB / 0.8962 GB, free: 109.1 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01449/1.676, allocations: 12.75 MB / 0.9086 GB, free: 96.15 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/1.676, allocations: 11.94 kB / 0.9086 GB, free: 96.14 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02039/1.696, allocations: 14.32 MB / 0.9226 GB, free: 81.83 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003733/1.7, allocations: 1.372 MB / 0.9239 GB, free: 80.43 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001308/1.701, allocations: 79.98 kB / 0.924 GB, free: 80.36 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00339/1.705, allocations: 263.6 kB / 0.9243 GB, free: 80.1 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006878/1.706, allocations: 242.8 kB / 0.9245 GB, free: 79.86 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002629/1.706, allocations: 111.4 kB / 0.9246 GB, free: 79.76 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.007607/1.713, allocations: 4.79 MB / 0.9293 GB, free: 75 MB / 0.4982 GB Notification: Performance of sort global known variables: time 6.61e-07/1.713, allocations: 0 / 0.9293 GB, free: 75 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.009872/1.723, allocations: 1.937 MB / 0.9312 GB, free: 73.06 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.001008/1.724, allocations: 228.2 kB / 0.9314 GB, free: 72.84 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01503/1.739, allocations: 10.76 MB / 0.9419 GB, free: 62.09 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/1.739, allocations: 9.047 kB / 0.9419 GB, free: 62.09 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.006322/1.746, allocations: 4.335 MB / 0.9461 GB, free: 57.73 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01527/1.761, allocations: 0.7995 MB / 0.9469 GB, free: 56.95 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.036/1.797, allocations: 22.23 MB / 0.9686 GB, free: 34.61 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007855/1.805, allocations: 5.5 MB / 0.974 GB, free: 29.08 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.00879/1.814, allocations: 3.314 MB / 0.9772 GB, free: 25.76 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002364/1.816, allocations: 459.3 kB / 0.9777 GB, free: 25.31 MB / 0.4982 GB Notification: Performance of SimCode: time 2.044e-06/1.816, allocations: 3.938 kB / 0.9777 GB, free: 25.3 MB / 0.4982 GB Notification: Performance of Templates: time 0.3257/2.142, allocations: 74.88 MB / 1.051 GB, free: 138.7 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1) Environment - environmentSimulation: