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.001478/0.001478, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001358, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.754/1.754, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.3676/0.3676, allocations: 39.94 MB / 309.7 MB, free: 9.297 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.00176/0.00176, allocations: 78.53 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1439, allocations: 56.88 MB / 434.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.02075/0.1647, allocations: 18.84 MB / 453.3 MB, free: 0.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2401/0.4048, allocations: 5.608 MB / 458.9 MB, free: 36.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003994/0.4089, allocations: 120.6 kB / 459.1 MB, free: 36.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009155/0.4181, allocations: 5.621 MB / 464.7 MB, free: 35.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007657/0.4258, allocations: 3.003 MB / 467.7 MB, free: 34.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002809/0.4286, allocations: 1.184 MB / 468.9 MB, free: 33.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01009/0.4387, allocations: 8.303 MB / 477.2 MB, free: 31.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008678/0.4474, allocations: 7.224 MB / 484.4 MB, free: 28.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006437/0.4539, allocations: 2.939 MB / 487.3 MB, free: 27.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008382/0.4623, allocations: 4.133 MB / 491.5 MB, free: 25.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003823/0.4662, allocations: 0.6578 MB / 492.1 MB, free: 25.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006689/0.4729, allocations: 1.52 MB / 493.6 MB, free: 25.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007284/0.4802, allocations: 3.775 MB / 497.4 MB, free: 24.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01346/0.4937, allocations: 4.244 MB / 0.4899 GB, free: 21.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02246/0.5162, allocations: 12.82 MB / 0.5024 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.5163, allocations: 3.938 kB / 0.5024 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.5163, allocations: 0 / 0.5024 GB, free: 14.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007798/0.5171, allocations: 1.219 kB / 0.5024 GB, free: 14.21 MB / 382.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.02894/0.546, allocations: 8.93 MB / 0.5112 GB, free: 7.816 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.5461, allocations: 15.89 kB / 0.5112 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01728/0.5634, allocations: 3.303 MB / 0.5144 GB, free: 4.484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0162/0.5796, allocations: 5.46 MB / 0.5197 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005383/0.5802, allocations: 447.3 kB / 0.5202 GB, free: 14.63 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003241/0.5834, allocations: 0.5857 MB / 0.5207 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04219/0.6256, allocations: 17.78 MB / 0.5381 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006857/0.6264, allocations: 87.14 kB / 0.5382 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003697/0.6301, allocations: 275.2 kB / 0.5384 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006804/0.6369, allocations: 3.424 MB / 0.5418 GB, free: 7.656 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03713/0.6741, allocations: 14.89 MB / 0.5563 GB, free: 8.738 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1185/0.7926, allocations: 69.03 MB / 0.6237 GB, free: 2.383 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2786/1.071, allocations: 7.377 MB / 0.6309 GB, free: 138.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005281/1.077, allocations: 4.434 MB / 0.6353 GB, free: 137.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002437/1.077, allocations: 66.02 kB / 0.6353 GB, free: 137.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.513e-05/1.077, allocations: 73.91 kB / 0.6354 GB, free: 137.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=307): time 5.35e-06/1.077, allocations: 0 / 0.6354 GB, free: 137.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=340): time 0.1002/1.177, allocations: 35.32 MB / 0.6699 GB, free: 124.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001469/1.177, allocations: 299.1 kB / 0.6702 GB, free: 123.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01518/1.193, allocations: 7.464 MB / 0.6775 GB, free: 121.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001011/1.194, allocations: 73.83 kB / 0.6775 GB, free: 121.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004046/1.198, allocations: 5.285 MB / 0.6827 GB, free: 117.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002015/1.2, allocations: 1.287 MB / 0.684 GB, free: 116.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006161/1.206, allocations: 2.042 MB / 0.6859 GB, free: 115.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.905e-05/1.206, allocations: 305.1 kB / 0.6862 GB, free: 114.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00761/1.214, allocations: 4.156 MB / 0.6903 GB, free: 113.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01097/1.225, allocations: 9.792 MB / 0.6999 GB, free: 102.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01644/1.241, allocations: 14.94 MB / 0.7144 GB, free: 86.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001929/1.241, allocations: 56 kB / 0.7145 GB, free: 85.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=1301) (initialization): time 0.02953/1.271, allocations: 15.77 MB / 0.7299 GB, free: 71.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002228/1.271, allocations: 100 kB / 0.73 GB, free: 71.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003277/1.271, allocations: 196 kB / 0.7302 GB, free: 71.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005726/1.277, allocations: 2.31 MB / 0.7324 GB, free: 68.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008587/1.286, allocations: 2.363 MB / 0.7348 GB, free: 66.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01715/1.303, allocations: 15.58 MB / 0.75 GB, free: 50.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01057/1.314, allocations: 0.5736 MB / 0.7505 GB, free: 50.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001888/1.315, allocations: 0.5742 MB / 0.7511 GB, free: 49.46 MB / 494.1 MB 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.007619/1.323, allocations: 3.585 MB / 0.7546 GB, free: 45.86 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001768/1.325, allocations: 0.6362 MB / 0.7552 GB, free: 45.22 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01443/1.339, allocations: 8.129 MB / 0.7631 GB, free: 37.05 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.849e-05/1.339, allocations: 39.36 kB / 0.7632 GB, free: 37.02 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.097e-05/1.339, allocations: 12 kB / 0.7632 GB, free: 37.01 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-05/1.339, allocations: 15.94 kB / 0.7632 GB, free: 36.99 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03655/1.376, allocations: 17.15 MB / 0.78 GB, free: 19.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.484e-05/1.376, allocations: 3.562 kB / 0.78 GB, free: 19.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00336/1.379, allocations: 0.624 MB / 0.7806 GB, free: 19.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005154/1.385, allocations: 2.015 MB / 0.7825 GB, free: 17.19 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007167/1.385, allocations: 60 kB / 0.7826 GB, free: 17.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0151/1.401, allocations: 14.6 MB / 0.7969 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.401, allocations: 1.406 kB / 0.7969 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02438/1.425, allocations: 12.95 MB / 0.8095 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2227/1.648, allocations: 1.271 MB / 0.8107 GB, free: 137.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002107/1.65, allocations: 54.09 kB / 0.8108 GB, free: 137.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0039/1.654, allocations: 235.7 kB / 0.811 GB, free: 137.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006834/1.654, allocations: 194.1 kB / 0.8112 GB, free: 137.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002597/1.655, allocations: 89.83 kB / 0.8113 GB, free: 137.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.008224/1.663, allocations: 4.753 MB / 0.8159 GB, free: 137.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.11e-07/1.663, allocations: 0.9062 kB / 0.8159 GB, free: 137.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0123/1.675, allocations: 1.903 MB / 0.8178 GB, free: 137.2 MB / 0.4981 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.001042/1.676, allocations: 202.5 kB / 0.818 GB, free: 137.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01987/1.696, allocations: 12.22 MB / 0.8299 GB, free: 134.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.696, allocations: 1.062 kB / 0.8299 GB, free: 134.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006691/1.703, allocations: 3.896 MB / 0.8337 GB, free: 132.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007028/1.71, allocations: 0.8716 MB / 0.8346 GB, free: 132.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04154/1.752, allocations: 17.89 MB / 0.8521 GB, free: 124.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01707/1.769, allocations: 5.456 MB / 0.8574 GB, free: 122.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.01208/1.781, allocations: 3.173 MB / 0.8605 GB, free: 122.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002433/1.783, allocations: 447.5 kB / 0.8609 GB, free: 122.5 MB / 0.4981 GB Notification: Performance of SimCode: time 9.62e-07/1.783, allocations: 0 / 0.8609 GB, free: 122.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.1264/1.91, allocations: 76.69 MB / 0.9358 GB, free: 57.65 MB / 0.4981 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)