Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2.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.Force2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2") translateModel(ModelicaTest.MultiBody.Forces.Force2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001256/0.001256, allocations: 181.4 kB / 12.74 MB, free: 2.582 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.639/1.639, allocations: 194.3 MB / 207.5 MB, free: 3.461 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.001668/0.001667, allocations: 117.5 kB / 252.6 MB, free: 4.773 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2194/0.2194, allocations: 39.94 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.203e-05/4.205e-05, allocations: 4 kB / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1148, allocations: 54.86 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4379/0.5527, allocations: 105.4 MB / 0.5474 GB, free: 2.574 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.553, allocations: 81.33 kB / 0.5474 GB, free: 2.535 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7922/1.345, allocations: 237.2 MB / 0.779 GB, free: 60.26 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.254e-06/1.345, allocations: 0 / 0.779 GB, free: 60.26 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0008419/1.346, allocations: 252 kB / 0.7793 GB, free: 60.02 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: 4386 * Number of variables: 4386 Notification: Performance of Generate backend data structure: time 0.03731/1.383, allocations: 12.24 MB / 0.7912 GB, free: 47.67 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/1.384, allocations: 8.031 kB / 0.7912 GB, free: 47.66 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05556/1.439, allocations: 12.79 MB / 0.8037 GB, free: 34.84 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0333/1.473, allocations: 13.24 MB / 0.8167 GB, free: 21.5 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009198/1.473, allocations: 0.9466 MB / 0.8176 GB, free: 20.55 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006215/1.48, allocations: 1.253 MB / 0.8188 GB, free: 19.29 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07991/1.56, allocations: 30.04 MB / 0.8482 GB, free: 3.008 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009934/1.561, allocations: 146.6 kB / 0.8483 GB, free: 2.863 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006578/1.567, allocations: 0.5817 MB / 0.8489 GB, free: 2.281 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.5326/2.1, allocations: 2.85 MB / 0.8516 GB, free: 67.91 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05623/2.156, allocations: 24.52 MB / 0.8756 GB, free: 67.77 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1518/2.308, allocations: 127.3 MB / 0.9999 GB, free: 5.602 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04861/2.357, allocations: 15.58 MB / 1.015 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01237/2.369, allocations: 8.111 MB / 1.023 GB, free: 4.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04268/2.412, allocations: 20.23 MB / 1.043 GB, free: 3.863 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001082/2.412, allocations: 95.92 kB / 1.043 GB, free: 3.762 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=566): time 1.249e-05/2.412, allocations: 0 / 1.043 GB, free: 3.762 MB / 0.5262 GB Notification: Performance of matching and sorting (n=650): time 0.4696/2.882, allocations: 61.45 MB / 1.103 GB, free: 109.7 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000164/2.882, allocations: 378.2 kB / 1.103 GB, free: 109.3 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02121/2.903, allocations: 10.52 MB / 1.114 GB, free: 108.4 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.001577/2.905, allocations: 126 kB / 1.114 GB, free: 108.4 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.005959/2.911, allocations: 8.42 MB / 1.122 GB, free: 104.2 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.003621/2.914, allocations: 2.385 MB / 1.124 GB, free: 102.8 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001683/2.916, allocations: 310.2 kB / 1.124 GB, free: 102.8 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0008637/2.917, allocations: 0.9551 MB / 1.125 GB, free: 102.5 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009354/2.926, allocations: 6.605 MB / 1.132 GB, free: 100.9 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01387/2.94, allocations: 14.89 MB / 1.146 GB, free: 87.66 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01525/2.955, allocations: 9.822 MB / 1.156 GB, free: 82.57 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005989/2.956, allocations: 86.5 kB / 1.156 GB, free: 82.49 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1995) (initialization): time 0.04626/3.002, allocations: 24.37 MB / 1.18 GB, free: 62.08 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006874/3.003, allocations: 128 kB / 1.18 GB, free: 61.96 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006621/3.004, allocations: 288 kB / 1.18 GB, free: 61.68 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008262/3.012, allocations: 3.272 MB / 1.183 GB, free: 59.25 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01467/3.027, allocations: 3.739 MB / 1.187 GB, free: 56.11 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02414/3.051, allocations: 22.46 MB / 1.209 GB, free: 35.88 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01839/3.069, allocations: 0.9323 MB / 1.21 GB, free: 35.12 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004332/3.074, allocations: 0.8687 MB / 1.211 GB, free: 34.29 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1317 * Number of states: 0 () * Number of discrete variables: 117 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1877): * Single equations (assignments): 1870 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 23,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006394/3.08, allocations: 1.262 MB / 1.212 GB, free: 33.02 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003481/3.084, allocations: 1.068 MB / 1.213 GB, free: 31.94 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02631/3.11, allocations: 14.63 MB / 1.227 GB, free: 20.08 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001184/3.11, allocations: 69.64 kB / 1.227 GB, free: 20.01 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.712e-05/3.11, allocations: 23.66 kB / 1.227 GB, free: 19.99 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001986/3.11, allocations: 29.48 kB / 1.227 GB, free: 19.99 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4396/3.55, allocations: 32.42 MB / 1.259 GB, free: 98.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.211e-05/3.55, allocations: 11.53 kB / 1.259 GB, free: 98.9 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007225/3.557, allocations: 1.304 MB / 1.26 GB, free: 98.9 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007471/3.565, allocations: 2.815 MB / 1.263 GB, free: 98.86 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001857/3.567, allocations: 128.4 kB / 1.263 GB, free: 98.86 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02501/3.592, allocations: 21.01 MB / 1.284 GB, free: 93.52 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.306e-05/3.592, allocations: 19.5 kB / 1.284 GB, free: 93.52 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04577/3.638, allocations: 26.12 MB / 1.309 GB, free: 86.43 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008596/3.646, allocations: 2.182 MB / 1.311 GB, free: 85.88 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004774/3.651, allocations: 120.8 kB / 1.312 GB, free: 85.8 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008342/3.66, allocations: 452.2 kB / 1.312 GB, free: 85.72 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002334/3.662, allocations: 422.5 kB / 1.312 GB, free: 85.65 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001677/3.664, allocations: 168.2 kB / 1.313 GB, free: 85.61 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.01904/3.683, allocations: 7.59 MB / 1.32 GB, free: 83.04 MB / 0.5262 GB Notification: Performance of sort global known variables: time 7.01e-07/3.683, allocations: 0 / 1.32 GB, free: 83.04 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.02116/3.704, allocations: 3.079 MB / 1.323 GB, free: 82.71 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (559): * Single equations (assignments): 552 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 17,(4,75.0%) 17,(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.002283/3.706, allocations: 297.3 kB / 1.323 GB, free: 82.54 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.02863/3.735, allocations: 16.52 MB / 1.339 GB, free: 77.1 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.609e-05/3.735, allocations: 0 / 1.339 GB, free: 77.1 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.01231/3.747, allocations: 7.088 MB / 1.346 GB, free: 70.82 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009642/3.757, allocations: 1.334 MB / 1.348 GB, free: 69.71 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06541/3.822, allocations: 25.55 MB / 1.373 GB, free: 47.21 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02078/3.843, allocations: 8.781 MB / 1.381 GB, free: 40.93 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.01683/3.86, allocations: 5.128 MB / 1.386 GB, free: 37.57 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004905/3.865, allocations: 0.7316 MB / 1.387 GB, free: 36.88 MB / 0.5262 GB Notification: Performance of SimCode: time 2.995e-06/3.865, allocations: 0 / 1.387 GB, free: 36.88 MB / 0.5262 GB Notification: Performance of Templates: time 0.5715/4.437, allocations: 115 MB / 1.499 GB, free: 103.5 MB / 0.5418 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2.pipe 2>&1)