Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.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.WorldForceAndTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") translateModel(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005665/0.005665, allocations: 176.2 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.464/1.464, allocations: 194.5 MB / 210.3 MB, free: 8.703 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.001677/0.001677, allocations: 108.7 kB / 255.6 MB, free: 11.32 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.2252/0.2252, allocations: 40 MB / 340.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000435/0.000435, allocations: 11.66 kB / 406.1 MB, free: 52.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1219, allocations: 54.88 MB / 461 MB, free: 3.438 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4489/0.5708, allocations: 101.6 MB / 0.5494 GB, free: 26.36 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003253/0.5713, allocations: 79.75 kB / 0.5495 GB, free: 26.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7956/1.367, allocations: 178.6 MB / 0.724 GB, free: 55.96 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.783e-06/1.367, allocations: 0 / 0.724 GB, free: 55.96 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0008118/1.368, allocations: 179.1 kB / 0.7241 GB, free: 55.96 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3268 * Number of variables: 3268 Notification: Performance of Generate backend data structure: time 0.04273/1.411, allocations: 9.455 MB / 0.7334 GB, free: 52.38 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/1.411, allocations: 7.594 kB / 0.7334 GB, free: 52.38 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04036/1.451, allocations: 9.87 MB / 0.743 GB, free: 51.75 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03311/1.484, allocations: 9.877 MB / 0.7527 GB, free: 50.73 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001304/1.485, allocations: 0.6909 MB / 0.7533 GB, free: 50.71 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00688/1.492, allocations: 0.9229 MB / 0.7542 GB, free: 50.7 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06781/1.56, allocations: 22.33 MB / 0.776 GB, free: 46.18 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001174/1.561, allocations: 116.3 kB / 0.7761 GB, free: 46.16 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006405/1.568, allocations: 441.3 kB / 0.7766 GB, free: 46.16 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003691/1.572, allocations: 2.081 MB / 0.7786 GB, free: 46.14 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0468/1.618, allocations: 18.69 MB / 0.7969 GB, free: 45.74 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.127/1.746, allocations: 91.49 MB / 0.8862 GB, free: 2.039 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3264/2.072, allocations: 10.33 MB / 0.8963 GB, free: 81.54 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005071/2.073, allocations: 87.64 kB / 0.8964 GB, free: 81.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.777e-05/2.073, allocations: 79.22 kB / 0.8964 GB, free: 81.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=412): time 7.935e-06/2.073, allocations: 0 / 0.8964 GB, free: 81.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=475): time 0.1244/2.197, allocations: 45.16 MB / 0.9405 GB, free: 74.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/2.197, allocations: 283 kB / 0.9408 GB, free: 74.01 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01763/2.215, allocations: 7.385 MB / 0.948 GB, free: 73.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001674/2.217, allocations: 99.45 kB / 0.9481 GB, free: 73.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.006024/2.223, allocations: 6.109 MB / 0.9541 GB, free: 70.86 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003294/2.226, allocations: 1.741 MB / 0.9558 GB, free: 69.83 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001414/2.227, allocations: 223.1 kB / 0.956 GB, free: 69.83 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006273/2.228, allocations: 0.7863 MB / 0.9568 GB, free: 69.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007701/2.236, allocations: 5.037 MB / 0.9617 GB, free: 69.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01207/2.248, allocations: 11.09 MB / 0.9725 GB, free: 61.39 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01128/2.259, allocations: 7.34 MB / 0.9797 GB, free: 58.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002047/2.259, allocations: 62 kB / 0.9797 GB, free: 58.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1458) (initialization): time 0.0388/2.298, allocations: 18.28 MB / 0.9976 GB, free: 53.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001593/2.298, allocations: 97.28 kB / 0.9977 GB, free: 53.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003371/2.299, allocations: 212.1 kB / 0.9979 GB, free: 53.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005767/2.305, allocations: 2.479 MB / 1 GB, free: 52.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01055/2.315, allocations: 2.677 MB / 1.003 GB, free: 52.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01842/2.334, allocations: 17.4 MB / 1.02 GB, free: 37.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01414/2.348, allocations: 0.6697 MB / 1.021 GB, free: 37.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002739/2.351, allocations: 0.641 MB / 1.021 GB, free: 36.76 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 963 * Number of states: 0 () * Number of discrete variables: 72 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.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],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],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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1362): * Single equations (assignments): 1356 * 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 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01248/2.363, allocations: 4.186 MB / 1.025 GB, free: 33.08 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002552/2.366, allocations: 0.7479 MB / 1.026 GB, free: 32.33 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01801/2.384, allocations: 10.8 MB / 1.037 GB, free: 23.56 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.963e-05/2.384, allocations: 52 kB / 1.037 GB, free: 23.51 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.599e-05/2.384, allocations: 12 kB / 1.037 GB, free: 23.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.626e-05/2.384, allocations: 22.59 kB / 1.037 GB, free: 23.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04716/2.431, allocations: 22.97 MB / 1.059 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.797e-05/2.431, allocations: 4 kB / 1.059 GB, free: 4.957 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004355/2.435, allocations: 0.8754 MB / 1.06 GB, free: 4.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005193/2.441, allocations: 2.129 MB / 1.062 GB, free: 2.801 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009669/2.442, allocations: 90.95 kB / 1.062 GB, free: 2.715 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3126/2.754, allocations: 16.22 MB / 1.078 GB, free: 82.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/2.754, allocations: 3.969 kB / 1.078 GB, free: 82.56 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03059/2.785, allocations: 17.79 MB / 1.095 GB, free: 80.97 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005482/2.79, allocations: 1.604 MB / 1.097 GB, free: 80.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003363/2.794, allocations: 80.77 kB / 1.097 GB, free: 80.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00635/2.8, allocations: 362.1 kB / 1.097 GB, free: 80.88 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001245/2.801, allocations: 288.7 kB / 1.098 GB, free: 80.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004263/2.802, allocations: 122 kB / 1.098 GB, free: 80.88 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01084/2.813, allocations: 5.269 MB / 1.103 GB, free: 80.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.51e-07/2.813, allocations: 0 / 1.103 GB, free: 80.62 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01224/2.825, allocations: 2.268 MB / 1.105 GB, free: 80.62 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (406): * Single equations (assignments): 400 * 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,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00105/2.826, allocations: 249.2 kB / 1.105 GB, free: 80.54 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01917/2.845, allocations: 12.56 MB / 1.118 GB, free: 80.08 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.396e-05/2.845, allocations: 0 / 1.118 GB, free: 80.08 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008969/2.854, allocations: 5.353 MB / 1.123 GB, free: 79.66 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007367/2.862, allocations: 0.9432 MB / 1.124 GB, free: 79.62 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04486/2.907, allocations: 25.37 MB / 1.148 GB, free: 70.64 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01451/2.921, allocations: 6.59 MB / 1.155 GB, free: 69.69 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0126/2.934, allocations: 3.777 MB / 1.159 GB, free: 69.41 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002709/2.937, allocations: 0.5213 MB / 1.159 GB, free: 69.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.583e-06/2.937, allocations: 0 / 1.159 GB, free: 69.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.147/3.084, allocations: 88.26 MB / 1.245 GB, free: 16.88 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1)