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.001242/0.001242, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001339/0.001339, allocations: 194.2 kB / 16.13 MB, free: 6.707 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.73/1.73, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3994/0.3994, allocations: 39.94 MB / 309.3 MB, free: 9.371 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.0016/0.0016, allocations: 66.42 kB / 376.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.147, allocations: 56.89 MB / 433.8 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.3294/0.4764, allocations: 113.3 MB / 0.5343 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.06042/0.5369, allocations: 21.32 MB / 0.5551 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03074/0.5677, allocations: 490.8 kB / 0.5555 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01135/0.5791, allocations: 5.621 MB / 0.561 GB, free: 6.578 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01306/0.5922, allocations: 2.822 MB / 0.5638 GB, free: 3.746 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004594/0.5969, allocations: 1.096 MB / 0.5649 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01837/0.6153, allocations: 12.08 MB / 0.5767 GB, free: 6.547 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01139/0.6267, allocations: 7.087 MB / 0.5836 GB, free: 15.43 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006564/0.6333, allocations: 2.6 MB / 0.5861 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00774/0.6411, allocations: 4.385 MB / 0.5904 GB, free: 8.422 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002676/0.6438, allocations: 460 kB / 0.5908 GB, free: 7.973 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00495/0.6488, allocations: 1.373 MB / 0.5922 GB, free: 6.598 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006123/0.6549, allocations: 3.615 MB / 0.5957 GB, free: 2.973 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009656/0.6646, allocations: 4.054 MB / 0.5997 GB, free: 14.89 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02027/0.6849, allocations: 12.63 MB / 0.612 GB, free: 2.223 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.6849, allocations: 0 / 0.612 GB, free: 2.223 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.6849, allocations: 3.938 kB / 0.612 GB, free: 2.219 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005669/0.6855, allocations: 4 kB / 0.612 GB, free: 2.215 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.02777/0.7133, allocations: 8.923 MB / 0.6207 GB, free: 9.203 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.7134, allocations: 8.031 kB / 0.6207 GB, free: 9.195 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01716/0.7305, allocations: 3.301 MB / 0.624 GB, free: 5.879 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01491/0.7455, allocations: 5.459 MB / 0.6293 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.3839/1.129, allocations: 448.4 kB / 0.6297 GB, free: 147.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002593/1.132, allocations: 0.5777 MB / 0.6303 GB, free: 147.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03329/1.165, allocations: 17.77 MB / 0.6476 GB, free: 140.4 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004611/1.166, allocations: 83.66 kB / 0.6477 GB, free: 140.4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003062/1.169, allocations: 280 kB / 0.648 GB, free: 140.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006122/1.175, allocations: 3.425 MB / 0.6513 GB, free: 139.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03288/1.208, allocations: 14.89 MB / 0.6659 GB, free: 135 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08099/1.289, allocations: 69.02 MB / 0.7333 GB, free: 76.12 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01582/1.305, allocations: 7.381 MB / 0.7405 GB, free: 68.58 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005422/1.31, allocations: 4.432 MB / 0.7448 GB, free: 64.14 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004605/1.311, allocations: 62.03 kB / 0.7449 GB, free: 64.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.302e-05/1.311, allocations: 76.56 kB / 0.7449 GB, free: 63.99 MB / 494.1 MB Notification: Performance of pre-optimization done (n=307): time 6.141e-06/1.311, allocations: 0 / 0.7449 GB, free: 63.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=340): time 0.08969/1.401, allocations: 35.32 MB / 0.7794 GB, free: 28.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.936e-05/1.401, allocations: 303.4 kB / 0.7797 GB, free: 27.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01267/1.413, allocations: 7.463 MB / 0.787 GB, free: 20.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009825/1.415, allocations: 73.7 kB / 0.7871 GB, free: 20.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003381/1.418, allocations: 5.282 MB / 0.7922 GB, free: 15.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00177/1.42, allocations: 1.292 MB / 0.7935 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00562/1.425, allocations: 2.038 MB / 0.7955 GB, free: 11.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.247e-05/1.425, allocations: 305.1 kB / 0.7958 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006709/1.432, allocations: 4.166 MB / 0.7999 GB, free: 7.277 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01112/1.443, allocations: 9.786 MB / 0.8094 GB, free: 10.73 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2574/1.701, allocations: 14.95 MB / 0.824 GB, free: 132.7 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002158/1.701, allocations: 55.59 kB / 0.8241 GB, free: 132.7 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1301) (initialization): time 0.02962/1.731, allocations: 15.77 MB / 0.8395 GB, free: 128.7 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.000144/1.731, allocations: 89.56 kB / 0.8395 GB, free: 128.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002908/1.731, allocations: 196.9 kB / 0.8397 GB, free: 128.7 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008497/1.74, allocations: 2.317 MB / 0.842 GB, free: 128.3 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01291/1.753, allocations: 2.364 MB / 0.8443 GB, free: 128 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02709/1.78, allocations: 14.52 MB / 0.8585 GB, free: 120.1 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01164/1.791, allocations: 0.5689 MB / 0.859 GB, free: 120 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003374/1.795, allocations: 0.5755 MB / 0.8596 GB, free: 119.9 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.01015/1.805, allocations: 3.586 MB / 0.8631 GB, free: 118.3 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002493/1.808, allocations: 0.6397 MB / 0.8637 GB, free: 118.3 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01858/1.826, allocations: 8.122 MB / 0.8717 GB, free: 115.5 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.853e-05/1.826, allocations: 36.12 kB / 0.8717 GB, free: 115.5 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.627e-05/1.826, allocations: 10.3 kB / 0.8717 GB, free: 115.5 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.063e-05/1.826, allocations: 22.23 kB / 0.8717 GB, free: 115.5 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03822/1.865, allocations: 17.14 MB / 0.8885 GB, free: 109.5 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-05/1.865, allocations: 2.938 kB / 0.8885 GB, free: 109.5 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003355/1.868, allocations: 0.627 MB / 0.8891 GB, free: 109.4 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005292/1.873, allocations: 2.007 MB / 0.891 GB, free: 109 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008591/1.874, allocations: 66.42 kB / 0.8911 GB, free: 109 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0167/1.891, allocations: 13.55 MB / 0.9043 GB, free: 97.81 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.891, allocations: 0 / 0.9043 GB, free: 97.81 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02129/1.912, allocations: 12.96 MB / 0.917 GB, free: 84.96 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004104/1.917, allocations: 1.274 MB / 0.9182 GB, free: 83.66 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002304/1.919, allocations: 52 kB / 0.9183 GB, free: 83.61 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004421/1.923, allocations: 235.7 kB / 0.9185 GB, free: 83.38 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001177/1.924, allocations: 198.3 kB / 0.9187 GB, free: 83.19 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007896/1.925, allocations: 83.98 kB / 0.9188 GB, free: 83.11 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.01048/1.936, allocations: 4.755 MB / 0.9234 GB, free: 78.38 MB / 0.4982 GB Notification: Performance of sort global known variables: time 2.1e-07/1.936, allocations: 0 / 0.9234 GB, free: 78.38 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01256/1.948, allocations: 1.904 MB / 0.9253 GB, free: 76.48 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.001287/1.95, allocations: 216.1 kB / 0.9255 GB, free: 76.27 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01602/1.966, allocations: 10.16 MB / 0.9354 GB, free: 66.12 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.966, allocations: 0 / 0.9354 GB, free: 66.12 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.006131/1.972, allocations: 3.89 MB / 0.9392 GB, free: 62.2 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007613/1.98, allocations: 0.8189 MB / 0.94 GB, free: 61.4 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03168/2.011, allocations: 21.44 MB / 0.9609 GB, free: 39.95 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009196/2.021, allocations: 5.465 MB / 0.9663 GB, free: 34.46 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.008857/2.029, allocations: 3.165 MB / 0.9694 GB, free: 31.29 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002347/2.032, allocations: 447.3 kB / 0.9698 GB, free: 30.85 MB / 0.4982 GB Notification: Performance of SimCode: time 1.684e-06/2.032, allocations: 0 / 0.9698 GB, free: 30.85 MB / 0.4982 GB Notification: Performance of Templates: time 0.3849/2.417, allocations: 73.76 MB / 1.042 GB, free: 132.3 MB / 0.5138 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)