Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00125/0.001251, allocations: 177.5 kB / 7.652 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.407/1.407, allocations: 194.4 MB / 202.4 MB, free: 12.95 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.0017/0.0017, allocations: 115.1 kB / 247.4 MB, free: 15.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1701/0.1701, allocations: 39.95 MB / 332.2 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.652e-05/1.664e-05, allocations: 4 kB / 393.3 MB, free: 3.445 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2389, allocations: 54.88 MB / 448.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3237/0.5626, allocations: 101.8 MB / 0.5372 GB, free: 88.23 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.5629, allocations: 80.33 kB / 0.5372 GB, free: 88.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3444/0.9073, allocations: 148.6 MB / 0.6823 GB, free: 4.418 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.9073, allocations: 0 / 0.6823 GB, free: 4.418 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005435/0.9079, allocations: 152 kB / 0.6825 GB, free: 4.27 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2702 * Number of variables: 2702 Notification: Performance of Generate backend data structure: time 0.02496/0.9329, allocations: 7.368 MB / 0.6897 GB, free: 12.82 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.933, allocations: 16.03 kB / 0.6897 GB, free: 12.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03941/0.9724, allocations: 9.627 MB / 0.6991 GB, free: 3.152 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3033/1.276, allocations: 9.12 MB / 0.708 GB, free: 63.55 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002565/1.276, allocations: 249.9 kB / 0.7082 GB, free: 63.55 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00187/1.278, allocations: 464.5 kB / 0.7087 GB, free: 63.54 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0201/1.298, allocations: 10.43 MB / 0.7189 GB, free: 63.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03085/1.329, allocations: 16.11 MB / 0.7346 GB, free: 59.12 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005924/1.33, allocations: 106 kB / 0.7347 GB, free: 59.12 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002917/1.332, allocations: 48.97 kB / 0.7347 GB, free: 59.12 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00235/1.335, allocations: 1.692 MB / 0.7364 GB, free: 59.1 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08886/1.424, allocations: 77.62 MB / 0.8122 GB, free: 24.58 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007488/1.431, allocations: 5.851 MB / 0.8179 GB, free: 21.8 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004678/1.436, allocations: 3.977 MB / 0.8218 GB, free: 20.08 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002873/1.436, allocations: 66.69 kB / 0.8219 GB, free: 20.07 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.543e-05/1.436, allocations: 77.11 kB / 0.8219 GB, free: 20.01 MB / 474.7 MB Notification: Performance of pre-optimization done (n=307): time 6.933e-06/1.436, allocations: 0 / 0.8219 GB, free: 20.01 MB / 474.7 MB Notification: Performance of matching and sorting (n=340): time 0.07099/1.507, allocations: 30.43 MB / 0.8517 GB, free: 15.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001524/1.508, allocations: 295.3 kB / 0.8519 GB, free: 15.17 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009709/1.517, allocations: 5.111 MB / 0.8569 GB, free: 10.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000951/1.518, allocations: 25.7 kB / 0.857 GB, free: 10.65 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004427/1.523, allocations: 5.439 MB / 0.8623 GB, free: 5.715 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001957/1.525, allocations: 1.247 MB / 0.8635 GB, free: 4.594 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004703/1.525, allocations: 7.844 kB / 0.8635 GB, free: 4.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005518/1.526, allocations: 0.7194 MB / 0.8642 GB, free: 3.984 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005084/1.531, allocations: 3.481 MB / 0.8676 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02185/1.553, allocations: 10.16 MB / 0.8775 GB, free: 7.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009447/1.562, allocations: 5.603 MB / 0.883 GB, free: 2.926 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001809/1.562, allocations: 60 kB / 0.883 GB, free: 2.867 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1289) (initialization): time 0.3709/1.933, allocations: 12.62 MB / 0.8954 GB, free: 96.89 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001785/1.934, allocations: 94.72 kB / 0.8955 GB, free: 96.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003601/1.934, allocations: 205.2 kB / 0.8957 GB, free: 96.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003479/1.937, allocations: 1.384 MB / 0.897 GB, free: 96.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009186/1.947, allocations: 2.318 MB / 0.8993 GB, free: 96.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01188/1.958, allocations: 10.67 MB / 0.9097 GB, free: 93.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008782/1.967, allocations: 359.4 kB / 0.91 GB, free: 93.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00247/1.97, allocations: 0.5905 MB / 0.9106 GB, free: 93.09 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 941 * Number of states: 0 () * Number of discrete variables: 60 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1214): * Single equations (assignments): 1208 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 14,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002379/1.972, allocations: 0.6286 MB / 0.9112 GB, free: 92.97 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001143/1.973, allocations: 0.5526 MB / 0.9118 GB, free: 92.97 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009946/1.983, allocations: 6.255 MB / 0.9179 GB, free: 92.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.27e-05/1.983, allocations: 35.38 kB / 0.9179 GB, free: 92.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.724e-05/1.983, allocations: 11.03 kB / 0.9179 GB, free: 92.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.261e-05/1.983, allocations: 17.2 kB / 0.9179 GB, free: 92.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03181/2.015, allocations: 13.92 MB / 0.9315 GB, free: 92.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.241e-05/2.015, allocations: 0 / 0.9315 GB, free: 92.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00305/2.018, allocations: 0.5808 MB / 0.9321 GB, free: 92.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002734/2.021, allocations: 1.04 MB / 0.9331 GB, free: 92 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004356/2.022, allocations: 14.11 kB / 0.9331 GB, free: 92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01077/2.032, allocations: 9.74 MB / 0.9426 GB, free: 88.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/2.032, allocations: 7.453 kB / 0.9426 GB, free: 88.17 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01515/2.048, allocations: 10.75 MB / 0.9531 GB, free: 85.54 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003686/2.051, allocations: 1.079 MB / 0.9542 GB, free: 84.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001713/2.053, allocations: 7.062 kB / 0.9542 GB, free: 84.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003679/2.057, allocations: 153 kB / 0.9543 GB, free: 84.93 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005368/2.057, allocations: 198.4 kB / 0.9545 GB, free: 84.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002724/2.058, allocations: 85.36 kB / 0.9546 GB, free: 84.88 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008195/2.066, allocations: 3.445 MB / 0.958 GB, free: 83.61 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.61e-07/2.066, allocations: 0 / 0.958 GB, free: 83.61 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01117/2.077, allocations: 1.541 MB / 0.9595 GB, free: 83.61 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 280 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006815/2.078, allocations: 159.5 kB / 0.9596 GB, free: 83.49 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01433/2.092, allocations: 8.759 MB / 0.9682 GB, free: 80.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.321e-06/2.092, allocations: 3.219 kB / 0.9682 GB, free: 80.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004659/2.097, allocations: 3.387 MB / 0.9715 GB, free: 78.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004766/2.102, allocations: 0.6256 MB / 0.9721 GB, free: 78.49 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03802/2.14, allocations: 14.06 MB / 0.9858 GB, free: 69.71 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01131/2.151, allocations: 5.609 MB / 0.9913 GB, free: 65.63 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01034/2.161, allocations: 3.142 MB / 0.9944 GB, free: 63.69 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002245/2.164, allocations: 407.1 kB / 0.9948 GB, free: 63.31 MB / 0.4948 GB Notification: Performance of SimCode: time 1.002e-06/2.164, allocations: 0 / 0.9948 GB, free: 63.31 MB / 0.4948 GB Notification: Performance of Templates: time 0.1115/2.275, allocations: 55.39 MB / 1.049 GB, free: 20.2 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1)