Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") translateModel(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009807/0.0009807, allocations: 170.4 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.221/1.221, allocations: 170.6 MB / 183.8 MB, free: 11.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001582/0.001582, allocations: 105.2 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1769/0.1769, allocations: 37.99 MB / 300.4 MB, free: 5.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.431e-05/3.431e-05, allocations: 8 kB / 357 MB, free: 32.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09755/0.09761, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3745/0.4722, allocations: 94.67 MB / 0.4886 GB, free: 16.87 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001794/0.4724, allocations: 70.59 kB / 0.4887 GB, free: 16.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6852/1.158, allocations: 178.5 MB / 0.6631 GB, free: 60.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.715e-06/1.158, allocations: 4 kB / 0.6631 GB, free: 60.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006852/1.158, allocations: 179.9 kB / 0.6633 GB, free: 60.58 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3262 * Number of variables: 3262 Notification: Performance of Generate backend data structure: time 0.04457/1.203, allocations: 8.78 MB / 0.6718 GB, free: 57.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/1.203, allocations: 11.03 kB / 0.6718 GB, free: 57.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07336/1.276, allocations: 9.868 MB / 0.6815 GB, free: 56.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03887/1.315, allocations: 9.84 MB / 0.6911 GB, free: 55.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001015/1.316, allocations: 0.6876 MB / 0.6918 GB, free: 55.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006239/1.323, allocations: 0.9179 MB / 0.6927 GB, free: 55.45 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0595/1.382, allocations: 22.13 MB / 0.7143 GB, free: 47.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000567/1.383, allocations: 115.5 kB / 0.7144 GB, free: 47.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002744/1.386, allocations: 440.3 kB / 0.7148 GB, free: 47.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002496/1.388, allocations: 2.087 MB / 0.7168 GB, free: 46.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03418/1.422, allocations: 18.39 MB / 0.7348 GB, free: 30.51 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4056/1.828, allocations: 91.42 MB / 0.8241 GB, free: 26.36 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02235/1.85, allocations: 9.327 MB / 0.8332 GB, free: 25.66 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006937/1.857, allocations: 5.615 MB / 0.8387 GB, free: 25.61 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000377/1.858, allocations: 83.44 kB / 0.8387 GB, free: 25.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.134e-05/1.858, allocations: 79.78 kB / 0.8388 GB, free: 25.56 MB / 458.7 MB Notification: Performance of pre-optimization done (n=412): time 8.055e-06/1.858, allocations: 2.719 kB / 0.8388 GB, free: 25.56 MB / 458.7 MB Notification: Performance of matching and sorting (n=475): time 0.1077/1.966, allocations: 38.52 MB / 0.8764 GB, free: 18.65 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/1.966, allocations: 286.1 kB / 0.8767 GB, free: 18.36 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0153/1.981, allocations: 7.308 MB / 0.8838 GB, free: 17.75 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001344/1.982, allocations: 105.7 kB / 0.884 GB, free: 17.72 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005087/1.987, allocations: 6.097 MB / 0.8899 GB, free: 13.57 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002789/1.99, allocations: 1.741 MB / 0.8916 GB, free: 12.28 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001441/1.992, allocations: 223.2 kB / 0.8918 GB, free: 12.1 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0008512/1.993, allocations: 0.7867 MB / 0.8926 GB, free: 11.59 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007561/2, allocations: 4.925 MB / 0.8974 GB, free: 9.879 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01142/2.012, allocations: 10.97 MB / 0.9081 GB, free: 144 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01296/2.025, allocations: 7.371 MB / 0.9153 GB, free: 14.21 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003215/2.025, allocations: 59.41 kB / 0.9154 GB, free: 14.21 MB / 474.7 MB Notification: Performance of matching and sorting (n=1458) (initialization): time 0.04283/2.068, allocations: 18.06 MB / 0.933 GB, free: 2.59 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000231/2.068, allocations: 96.19 kB / 0.9331 GB, free: 2.496 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004002/2.069, allocations: 216 kB / 0.9333 GB, free: 2.285 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006241/2.075, allocations: 2.469 MB / 0.9357 GB, free: 468 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01116/2.086, allocations: 2.724 MB / 0.9384 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02276/2.109, allocations: 16.94 MB / 0.9549 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0111/2.12, allocations: 0.6737 MB / 0.9556 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003126/2.123, allocations: 0.6408 MB / 0.9562 GB, free: 14.01 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 () * 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.004605/2.128, allocations: 0.9419 MB / 0.9571 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002359/2.13, allocations: 0.7482 MB / 0.9578 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0229/2.153, allocations: 10.66 MB / 0.9683 GB, free: 3.633 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.957e-05/2.153, allocations: 51.05 kB / 0.9683 GB, free: 3.586 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.363e-05/2.153, allocations: 15.95 kB / 0.9683 GB, free: 3.57 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001018/2.153, allocations: 29.03 kB / 0.9684 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2828/2.436, allocations: 22.88 MB / 0.9907 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.76e-05/2.436, allocations: 3.531 kB / 0.9907 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00456/2.441, allocations: 0.876 MB / 0.9916 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005114/2.446, allocations: 2.13 MB / 0.9936 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008098/2.447, allocations: 92.27 kB / 0.9937 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01724/2.464, allocations: 15.69 MB / 1.009 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/2.464, allocations: 3.562 kB / 1.009 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02463/2.489, allocations: 17.59 MB / 1.026 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005119/2.494, allocations: 1.61 MB / 1.028 GB, free: 110.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001643/2.495, allocations: 79.47 kB / 1.028 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004258/2.5, allocations: 360.4 kB / 1.028 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008442/2.501, allocations: 294.6 kB / 1.028 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003641/2.501, allocations: 117.4 kB / 1.029 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008716/2.51, allocations: 5.199 MB / 1.034 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.8e-07/2.51, allocations: 3.5 kB / 1.034 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01024/2.52, allocations: 2.264 MB / 1.036 GB, free: 108.3 MB / 0.4948 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 () * 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.0008198/2.521, allocations: 249.5 kB / 1.036 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01772/2.539, allocations: 12.34 MB / 1.048 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/2.539, allocations: 0 / 1.048 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007831/2.546, allocations: 5.267 MB / 1.053 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005079/2.552, allocations: 0.9317 MB / 1.054 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03055/2.582, allocations: 18.44 MB / 1.072 GB, free: 92.24 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008326/2.59, allocations: 6.587 MB / 1.079 GB, free: 87.48 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.009873/2.6, allocations: 3.77 MB / 1.082 GB, free: 85.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00218/2.603, allocations: 0.5182 MB / 1.083 GB, free: 84.57 MB / 0.4948 GB Notification: Performance of SimCode: time 9.31e-07/2.603, allocations: 0 / 1.083 GB, free: 84.57 MB / 0.4948 GB Notification: Performance of Templates: time 0.3872/2.99, allocations: 88.25 MB / 1.169 GB, free: 106.8 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForceAndTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1)