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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00747/0.007471, allocations: 102 kB / 15.73 MB, free: 6.039 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.00139/0.00139, allocations: 194.5 kB / 16.67 MB, free: 5.961 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.606/1.606, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2068/0.2068, allocations: 39.98 MB / 309.9 MB, free: 4 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.2. 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.001575/0.001575, allocations: 69.78 kB / 435.8 MB, free: 11.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1217, allocations: 56.87 MB / 492.7 MB, free: 2.707 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.01924/0.141, allocations: 18.85 MB / 0.4996 GB, free: 15.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01341/0.1545, allocations: 5.623 MB / 0.505 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005618/0.1602, allocations: 123.6 kB / 0.5052 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01039/0.1706, allocations: 5.611 MB / 0.5106 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009487/0.1802, allocations: 2.999 MB / 0.5136 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003369/0.1836, allocations: 1.186 MB / 0.5147 GB, free: 196 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.3231/0.5067, allocations: 8.297 MB / 0.5228 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01173/0.5185, allocations: 7.218 MB / 0.5299 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008009/0.5266, allocations: 2.962 MB / 0.5328 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008562/0.5352, allocations: 4.133 MB / 0.5368 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003195/0.5384, allocations: 0.6606 MB / 0.5375 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004575/0.543, allocations: 1.515 MB / 0.5389 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004847/0.5479, allocations: 3.803 MB / 0.5426 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008005/0.5559, allocations: 4.251 MB / 0.5468 GB, free: 14.1 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01538/0.5713, allocations: 13.22 MB / 0.5597 GB, free: 3.613 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.5713, allocations: 0 / 0.5597 GB, free: 3.613 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5713, allocations: 0 / 0.5597 GB, free: 3.613 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004488/0.5718, allocations: 0 / 0.5597 GB, free: 3.613 MB / 414.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.02431/0.5961, allocations: 8.939 MB / 0.5684 GB, free: 10.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.5962, allocations: 11.89 kB / 0.5685 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01898/0.6152, allocations: 3.296 MB / 0.5717 GB, free: 7.445 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01539/0.6306, allocations: 5.542 MB / 0.5771 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004572/0.6311, allocations: 439 kB / 0.5775 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001817/0.6329, allocations: 0.5866 MB / 0.5781 GB, free: 1.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0365/0.6694, allocations: 17.77 MB / 0.5954 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003423/0.6698, allocations: 90.02 kB / 0.5955 GB, free: 14.59 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001348/0.6712, allocations: 275.4 kB / 0.5958 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006101/0.6773, allocations: 3.43 MB / 0.5991 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03079/0.7081, allocations: 14.91 MB / 0.6137 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08931/0.7975, allocations: 68.68 MB / 0.6808 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01774/0.8153, allocations: 7.39 MB / 0.688 GB, free: 14.67 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006146/0.8214, allocations: 4.442 MB / 0.6923 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000275/0.8217, allocations: 57.89 kB / 0.6924 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.959e-05/0.8218, allocations: 76.38 kB / 0.6924 GB, free: 10.11 MB / 0.545 GB Notification: Performance of pre-optimization done (n=307): time 6.012e-06/0.8218, allocations: 0 / 0.6924 GB, free: 10.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=340): time 0.08564/0.9075, allocations: 35.33 MB / 0.7269 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001786/0.9077, allocations: 291.5 kB / 0.7272 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.471/1.379, allocations: 7.459 MB / 0.7345 GB, free: 191.4 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0013/1.38, allocations: 77.53 kB / 0.7346 GB, free: 191.3 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004303/1.384, allocations: 5.285 MB / 0.7397 GB, free: 188.7 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002045/1.386, allocations: 1.288 MB / 0.741 GB, free: 187.8 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004119/1.391, allocations: 2.041 MB / 0.743 GB, free: 186.8 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 6.543e-05/1.391, allocations: 305.5 kB / 0.7433 GB, free: 186.5 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007611/1.398, allocations: 4.151 MB / 0.7473 GB, free: 185.1 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01196/1.41, allocations: 9.802 MB / 0.7569 GB, free: 176.2 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01754/1.428, allocations: 14.94 MB / 0.7715 GB, free: 164.4 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003852/1.428, allocations: 59 kB / 0.7716 GB, free: 164.4 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1301) (initialization): time 0.03095/1.459, allocations: 15.76 MB / 0.787 GB, free: 158.6 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001621/1.459, allocations: 90.84 kB / 0.787 GB, free: 158.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002547/1.46, allocations: 195.6 kB / 0.7872 GB, free: 158.6 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005742/1.465, allocations: 2.318 MB / 0.7895 GB, free: 158.2 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008546/1.474, allocations: 2.37 MB / 0.7918 GB, free: 158 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0157/1.49, allocations: 15.55 MB / 0.807 GB, free: 143.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009489/1.499, allocations: 0.5736 MB / 0.8076 GB, free: 143.3 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001923/1.501, allocations: 0.5738 MB / 0.8081 GB, free: 142.7 MB / 0.5763 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.006806/1.508, allocations: 3.602 MB / 0.8116 GB, free: 139.1 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001562/1.51, allocations: 0.6325 MB / 0.8122 GB, free: 138.5 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01302/1.523, allocations: 8.125 MB / 0.8202 GB, free: 130.3 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.526e-05/1.523, allocations: 36 kB / 0.8202 GB, free: 130.3 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.618e-05/1.523, allocations: 18.06 kB / 0.8202 GB, free: 130.3 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.311e-05/1.523, allocations: 15.94 kB / 0.8202 GB, free: 130.2 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03088/1.554, allocations: 17.03 MB / 0.8369 GB, free: 113.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.631e-05/1.554, allocations: 0 / 0.8369 GB, free: 113.2 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003089/1.557, allocations: 0.628 MB / 0.8375 GB, free: 112.6 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004824/1.562, allocations: 2.008 MB / 0.8395 GB, free: 110.6 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005669/1.562, allocations: 63.98 kB / 0.8395 GB, free: 110.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01411/1.577, allocations: 14.63 MB / 0.8538 GB, free: 95.47 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.577, allocations: 4 kB / 0.8538 GB, free: 95.47 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01784/1.594, allocations: 12.97 MB / 0.8665 GB, free: 82.42 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004677/1.599, allocations: 1.274 MB / 0.8677 GB, free: 81.12 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001685/1.601, allocations: 59.94 kB / 0.8678 GB, free: 81.06 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003887/1.605, allocations: 231.7 kB / 0.868 GB, free: 80.83 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009035/1.606, allocations: 194.3 kB / 0.8682 GB, free: 80.64 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002912/1.606, allocations: 95.42 kB / 0.8683 GB, free: 80.55 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.008735/1.615, allocations: 4.747 MB / 0.8729 GB, free: 75.83 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.4e-07/1.615, allocations: 4 kB / 0.8729 GB, free: 75.83 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01338/1.628, allocations: 1.901 MB / 0.8748 GB, free: 73.93 MB / 0.5763 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.000914/1.629, allocations: 208.6 kB / 0.875 GB, free: 73.72 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01413/1.643, allocations: 10.18 MB / 0.8849 GB, free: 63.55 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/1.643, allocations: 4.438 kB / 0.8849 GB, free: 63.55 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.005037/1.648, allocations: 3.894 MB / 0.8887 GB, free: 59.61 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005486/1.654, allocations: 0.8725 MB / 0.8896 GB, free: 58.76 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02785/1.682, allocations: 17.7 MB / 0.9069 GB, free: 41.03 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006959/1.689, allocations: 5.461 MB / 0.9122 GB, free: 35.54 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007004/1.696, allocations: 3.173 MB / 0.9153 GB, free: 32.36 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001544/1.697, allocations: 443.4 kB / 0.9157 GB, free: 31.92 MB / 0.5763 GB Notification: Performance of SimCode: time 1.613e-06/1.697, allocations: 0 / 0.9157 GB, free: 31.92 MB / 0.5763 GB Notification: Performance of Templates: time 0.3838/2.081, allocations: 71.13 MB / 0.9852 GB, free: 180 MB / 0.5919 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)