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.001221/0.001221, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001664/0.001664, allocations: 192.6 kB / 16.14 MB, free: 6.711 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.641/1.641, allocations: 205.1 MB / 222 MB, free: 4.734 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.333/0.333, allocations: 37.98 MB / 307.3 MB, free: 10.16 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.001305/0.001305, allocations: 55.92 kB / 374.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1166, allocations: 56.47 MB / 431 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.2943/0.4109, allocations: 113.3 MB / 0.5315 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05262/0.4636, allocations: 21.34 MB / 0.5524 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0288/0.4925, allocations: 486.8 kB / 0.5528 GB, free: 14.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01028/0.5028, allocations: 5.618 MB / 0.5583 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007777/0.5106, allocations: 2.826 MB / 0.5611 GB, free: 7.871 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003231/0.5139, allocations: 1.092 MB / 0.5621 GB, free: 6.777 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01449/0.5284, allocations: 12.09 MB / 0.5739 GB, free: 10.67 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00949/0.538, allocations: 7.075 MB / 0.5809 GB, free: 3.555 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00525/0.5433, allocations: 2.6 MB / 0.5834 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006647/0.55, allocations: 4.393 MB / 0.5877 GB, free: 12.54 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002048/0.552, allocations: 464 kB / 0.5881 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004315/0.5564, allocations: 1.369 MB / 0.5895 GB, free: 10.71 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004792/0.5612, allocations: 3.616 MB / 0.593 GB, free: 7.09 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006965/0.5682, allocations: 4.046 MB / 0.5969 GB, free: 3.02 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01529/0.5835, allocations: 12.63 MB / 0.6093 GB, free: 6.348 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.5836, allocations: 0 / 0.6093 GB, free: 6.348 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5836, allocations: 0 / 0.6093 GB, free: 6.348 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005183/0.5841, allocations: 0 / 0.6093 GB, free: 6.348 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.02178/0.6059, allocations: 8.931 MB / 0.618 GB, free: 13.33 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.606, allocations: 12.03 kB / 0.618 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01572/0.6217, allocations: 3.289 MB / 0.6212 GB, free: 10.01 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01187/0.6336, allocations: 5.463 MB / 0.6266 GB, free: 4.469 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003679/0.634, allocations: 435.7 kB / 0.627 GB, free: 4.043 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002381/0.6364, allocations: 0.5893 MB / 0.6276 GB, free: 3.453 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4668/1.103, allocations: 17.77 MB / 0.6449 GB, free: 142 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002696/1.104, allocations: 85.27 kB / 0.645 GB, free: 142 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008545/1.104, allocations: 273 kB / 0.6453 GB, free: 141.9 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004938/1.109, allocations: 3.425 MB / 0.6486 GB, free: 141.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02776/1.137, allocations: 14.9 MB / 0.6631 GB, free: 136.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0871/1.224, allocations: 69.02 MB / 0.7306 GB, free: 82.28 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01599/1.24, allocations: 7.38 MB / 0.7378 GB, free: 74.74 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005486/1.246, allocations: 4.422 MB / 0.7421 GB, free: 70.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004185/1.246, allocations: 70.03 kB / 0.7421 GB, free: 70.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.638e-05/1.246, allocations: 68.62 kB / 0.7422 GB, free: 70.15 MB / 494.1 MB Notification: Performance of pre-optimization done (n=307): time 8.756e-06/1.246, allocations: 0 / 0.7422 GB, free: 70.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=340): time 0.08904/1.336, allocations: 35.33 MB / 0.7767 GB, free: 34.49 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.307e-05/1.336, allocations: 295.5 kB / 0.777 GB, free: 34.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01201/1.348, allocations: 7.467 MB / 0.7843 GB, free: 26.69 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001031/1.349, allocations: 77.7 kB / 0.7844 GB, free: 26.61 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003299/1.352, allocations: 5.278 MB / 0.7895 GB, free: 21.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002069/1.354, allocations: 1.288 MB / 0.7908 GB, free: 19.96 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005051/1.359, allocations: 2.05 MB / 0.7928 GB, free: 17.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.886e-05/1.359, allocations: 301.1 kB / 0.7931 GB, free: 17.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00565/1.365, allocations: 4.154 MB / 0.7971 GB, free: 13.44 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008313/1.373, allocations: 9.79 MB / 0.8067 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3441/1.717, allocations: 14.95 MB / 0.8213 GB, free: 138.6 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002517/1.718, allocations: 60.56 kB / 0.8213 GB, free: 138.6 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1301) (initialization): time 0.03443/1.752, allocations: 15.77 MB / 0.8367 GB, free: 135.4 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002697/1.752, allocations: 90.09 kB / 0.8368 GB, free: 135.4 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005216/1.753, allocations: 196.5 kB / 0.837 GB, free: 135.4 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00721/1.76, allocations: 2.321 MB / 0.8393 GB, free: 135 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01013/1.77, allocations: 2.362 MB / 0.8416 GB, free: 134.8 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0202/1.791, allocations: 14.51 MB / 0.8558 GB, free: 126.9 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009463/1.8, allocations: 0.5672 MB / 0.8563 GB, free: 126.8 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002565/1.803, allocations: 0.5752 MB / 0.8569 GB, free: 126.7 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.00883/1.812, allocations: 3.593 MB / 0.8604 GB, free: 125.1 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002064/1.814, allocations: 0.6364 MB / 0.861 GB, free: 125.1 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01977/1.834, allocations: 8.119 MB / 0.8689 GB, free: 122.3 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.923e-05/1.834, allocations: 39.19 kB / 0.869 GB, free: 122.3 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.063e-05/1.834, allocations: 12.73 kB / 0.869 GB, free: 122.3 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001371/1.834, allocations: 15.42 kB / 0.869 GB, free: 122.3 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04456/1.878, allocations: 17.15 MB / 0.8857 GB, free: 116.3 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-05/1.879, allocations: 4.406 kB / 0.8857 GB, free: 116.3 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003719/1.882, allocations: 0.6212 MB / 0.8863 GB, free: 116.2 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005581/1.888, allocations: 2.008 MB / 0.8883 GB, free: 115.8 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00105/1.889, allocations: 62.03 kB / 0.8884 GB, free: 115.8 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01571/1.905, allocations: 13.55 MB / 0.9016 GB, free: 106.3 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.301e-05/1.905, allocations: 4 kB / 0.9016 GB, free: 106.2 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02165/1.926, allocations: 12.95 MB / 0.9143 GB, free: 93.41 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004876/1.931, allocations: 1.271 MB / 0.9155 GB, free: 92.11 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002767/1.934, allocations: 59.94 kB / 0.9156 GB, free: 92.05 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004912/1.939, allocations: 237.7 kB / 0.9158 GB, free: 91.83 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001183/1.94, allocations: 194.3 kB / 0.916 GB, free: 91.64 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007279/1.941, allocations: 87.92 kB / 0.916 GB, free: 91.55 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.009369/1.95, allocations: 4.755 MB / 0.9207 GB, free: 86.82 MB / 0.4982 GB Notification: Performance of sort global known variables: time 4.31e-07/1.951, allocations: 4 kB / 0.9207 GB, free: 86.82 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01285/1.963, allocations: 1.897 MB / 0.9225 GB, free: 84.93 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.001792/1.965, allocations: 205.6 kB / 0.9227 GB, free: 84.72 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.02494/1.99, allocations: 10.18 MB / 0.9327 GB, free: 74.57 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/1.99, allocations: 0 / 0.9327 GB, free: 74.57 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.01074/2.001, allocations: 3.882 MB / 0.9365 GB, free: 70.65 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01299/2.014, allocations: 0.824 MB / 0.9373 GB, free: 69.85 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05489/2.069, allocations: 21.44 MB / 0.9582 GB, free: 48.39 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01413/2.083, allocations: 5.463 MB / 0.9635 GB, free: 42.9 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.01077/2.094, allocations: 3.165 MB / 0.9666 GB, free: 39.73 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002797/2.097, allocations: 443.4 kB / 0.9671 GB, free: 39.3 MB / 0.4982 GB Notification: Performance of SimCode: time 1.873e-06/2.097, allocations: 0 / 0.9671 GB, free: 39.3 MB / 0.4982 GB Notification: Performance of Templates: time 0.3975/2.494, allocations: 73.77 MB / 1.039 GB, free: 132.4 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)