Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.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.WorldForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001259, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.0017/0.0017, allocations: 195.7 kB / 16.25 MB, free: 6.629 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.507/1.507, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.29/0.29, allocations: 37.98 MB / 307.4 MB, free: 10.08 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.001363/0.001363, allocations: 78.61 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1093, allocations: 56.46 MB / 431.2 MB, free: 6.973 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.2942/0.4035, allocations: 113.3 MB / 0.5317 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05207/0.4556, allocations: 21.24 MB / 0.5524 GB, free: 14.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02494/0.4806, allocations: 484.7 kB / 0.5529 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01072/0.4914, allocations: 5.416 MB / 0.5582 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01101/0.5024, allocations: 2.783 MB / 0.5609 GB, free: 8.133 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003608/0.5061, allocations: 1.11 MB / 0.562 GB, free: 7.023 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01133/0.5175, allocations: 8.647 MB / 0.5704 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008564/0.5261, allocations: 7.563 MB / 0.5778 GB, free: 6.766 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004845/0.531, allocations: 3.006 MB / 0.5808 GB, free: 3.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006323/0.5373, allocations: 4.576 MB / 0.5852 GB, free: 15.16 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002915/0.5403, allocations: 0.6602 MB / 0.5859 GB, free: 14.5 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004742/0.545, allocations: 1.522 MB / 0.5874 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005663/0.5507, allocations: 3.834 MB / 0.5911 GB, free: 9.133 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01015/0.5609, allocations: 4.288 MB / 0.5953 GB, free: 4.82 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01749/0.5785, allocations: 12.88 MB / 0.6079 GB, free: 7.898 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.5785, allocations: 0 / 0.6079 GB, free: 7.898 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5785, allocations: 0 / 0.6079 GB, free: 7.898 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004561/0.579, allocations: 0 / 0.6079 GB, free: 7.898 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2705 * Number of variables: 2705 Notification: Performance of Generate backend data structure: time 0.02563/0.6046, allocations: 8.941 MB / 0.6166 GB, free: 14.87 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.6047, allocations: 15.89 kB / 0.6166 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02604/0.6308, allocations: 3.297 MB / 0.6198 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01684/0.6477, allocations: 5.451 MB / 0.6252 GB, free: 6.012 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006465/0.6483, allocations: 443.7 kB / 0.6256 GB, free: 5.578 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002847/0.6512, allocations: 0.5854 MB / 0.6262 GB, free: 4.992 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4363/1.087, allocations: 17.77 MB / 0.6435 GB, free: 142.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002826/1.088, allocations: 85.59 kB / 0.6436 GB, free: 142.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009192/1.089, allocations: 280.7 kB / 0.6439 GB, free: 142.1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005154/1.094, allocations: 3.421 MB / 0.6472 GB, free: 141.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02757/1.122, allocations: 14.9 MB / 0.6618 GB, free: 136.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08723/1.209, allocations: 69.02 MB / 0.7292 GB, free: 83.86 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01595/1.225, allocations: 7.374 MB / 0.7364 GB, free: 76.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005467/1.23, allocations: 4.436 MB / 0.7407 GB, free: 71.86 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000305/1.231, allocations: 62.03 kB / 0.7408 GB, free: 71.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.802e-05/1.231, allocations: 72.62 kB / 0.7408 GB, free: 71.72 MB / 494.1 MB Notification: Performance of pre-optimization done (n=307): time 6.152e-06/1.231, allocations: 0 / 0.7408 GB, free: 71.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=340): time 0.08115/1.312, allocations: 35.33 MB / 0.7753 GB, free: 36.05 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/1.312, allocations: 291.5 kB / 0.7756 GB, free: 35.71 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0102/1.322, allocations: 7.467 MB / 0.7829 GB, free: 28.26 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008476/1.323, allocations: 77.7 kB / 0.783 GB, free: 28.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002658/1.326, allocations: 5.286 MB / 0.7881 GB, free: 22.83 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001394/1.327, allocations: 1.284 MB / 0.7894 GB, free: 21.53 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002406/1.33, allocations: 2.042 MB / 0.7914 GB, free: 19.47 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.924e-05/1.33, allocations: 301.1 kB / 0.7917 GB, free: 19.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004941/1.335, allocations: 4.158 MB / 0.7957 GB, free: 15.01 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007033/1.342, allocations: 9.79 MB / 0.8053 GB, free: 2.457 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01959/1.361, allocations: 14.95 MB / 0.8199 GB, free: 0.75 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002116/1.362, allocations: 59.94 kB / 0.8199 GB, free: 0.6914 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1301) (initialization): time 0.252/1.614, allocations: 15.77 MB / 0.8353 GB, free: 140.7 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/1.614, allocations: 88.62 kB / 0.8354 GB, free: 140.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000329/1.614, allocations: 200.1 kB / 0.8356 GB, free: 140.7 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005571/1.62, allocations: 2.322 MB / 0.8379 GB, free: 140.3 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008421/1.628, allocations: 2.362 MB / 0.8402 GB, free: 140.1 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01898/1.647, allocations: 15.57 MB / 0.8554 GB, free: 131.5 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01048/1.658, allocations: 0.571 MB / 0.856 GB, free: 131.3 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002652/1.66, allocations: 0.5747 MB / 0.8565 GB, free: 131.3 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 896 * Number of states: 0 () * Number of discrete variables: 63 (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.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 (1226): * Single equations (assignments): 1220 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,23,100.0%), (1,14,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009102/1.67, allocations: 3.596 MB / 0.86 GB, free: 129.7 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001673/1.671, allocations: 0.6362 MB / 0.8606 GB, free: 129.7 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01536/1.687, allocations: 8.126 MB / 0.8686 GB, free: 126.9 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-05/1.687, allocations: 35.12 kB / 0.8686 GB, free: 126.9 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-05/1.687, allocations: 11.78 kB / 0.8686 GB, free: 126.9 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.495e-05/1.687, allocations: 16.97 kB / 0.8686 GB, free: 126.9 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04392/1.731, allocations: 17.14 MB / 0.8854 GB, free: 120.9 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.296e-05/1.731, allocations: 3.094 kB / 0.8854 GB, free: 120.9 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003725/1.735, allocations: 0.6252 MB / 0.886 GB, free: 120.8 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005213/1.74, allocations: 2.009 MB / 0.888 GB, free: 119.6 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001005/1.741, allocations: 57.97 kB / 0.888 GB, free: 119.6 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01533/1.756, allocations: 14.62 MB / 0.9023 GB, free: 106 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.756, allocations: 4 kB / 0.9023 GB, free: 106 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01814/1.775, allocations: 12.96 MB / 0.9149 GB, free: 93.15 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004199/1.779, allocations: 1.262 MB / 0.9162 GB, free: 91.86 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002096/1.781, allocations: 60 kB / 0.9162 GB, free: 91.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00386/1.785, allocations: 235.7 kB / 0.9165 GB, free: 91.58 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006787/1.785, allocations: 194.3 kB / 0.9166 GB, free: 91.39 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002476/1.786, allocations: 91.92 kB / 0.9167 GB, free: 91.3 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.00764/1.793, allocations: 4.755 MB / 0.9214 GB, free: 86.57 MB / 0.4982 GB Notification: Performance of sort global known variables: time 3.3e-07/1.793, allocations: 0 / 0.9214 GB, free: 86.57 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01014/1.804, allocations: 1.901 MB / 0.9232 GB, free: 84.67 MB / 0.4982 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(4,18,75.0%), (1,11,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000857/1.804, allocations: 205.2 kB / 0.9234 GB, free: 84.47 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01763/1.822, allocations: 12.22 MB / 0.9354 GB, free: 72.31 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/1.822, allocations: 0 / 0.9354 GB, free: 72.31 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.005202/1.827, allocations: 3.888 MB / 0.9392 GB, free: 68.39 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008392/1.836, allocations: 0.8724 MB / 0.94 GB, free: 67.55 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03428/1.87, allocations: 21.44 MB / 0.961 GB, free: 46.1 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008728/1.879, allocations: 5.447 MB / 0.9663 GB, free: 40.62 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.009685/1.889, allocations: 3.177 MB / 0.9694 GB, free: 37.44 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002686/1.891, allocations: 443.4 kB / 0.9698 GB, free: 37.01 MB / 0.4982 GB Notification: Performance of SimCode: time 1.172e-06/1.891, allocations: 0 / 0.9698 GB, free: 37.01 MB / 0.4982 GB Notification: Performance of Templates: time 0.3737/2.265, allocations: 76.67 MB / 1.045 GB, free: 138 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1)