Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.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.WorldForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, 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.001666/0.001666, allocations: 194.8 kB / 16.14 MB, free: 6.703 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.472/1.472, allocations: 205.1 MB / 222 MB, free: 4.766 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.3316/0.3316, allocations: 37.98 MB / 307.3 MB, free: 10.02 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.001542/0.001542, allocations: 63.91 kB / 374.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1194, allocations: 56.47 MB / 431 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.333/0.4524, allocations: 100.9 MB / 0.5194 GB, free: 5.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05469/0.5072, allocations: 19.24 MB / 0.5382 GB, free: 9.023 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03389/0.5411, allocations: 438 kB / 0.5387 GB, free: 8.957 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0111/0.5523, allocations: 5.066 MB / 0.5436 GB, free: 6.598 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008724/0.5611, allocations: 2.623 MB / 0.5462 GB, free: 5.375 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003714/0.5648, allocations: 1.154 MB / 0.5473 GB, free: 4.871 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01517/0.58, allocations: 11.21 MB / 0.5582 GB, free: 10.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01066/0.5908, allocations: 6.048 MB / 0.5641 GB, free: 4.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005759/0.5966, allocations: 2.378 MB / 0.5665 GB, free: 2.344 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007085/0.6037, allocations: 3.992 MB / 0.5704 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002486/0.6062, allocations: 416 kB / 0.5708 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005789/0.612, allocations: 1.494 MB / 0.5722 GB, free: 12.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005475/0.6176, allocations: 3.277 MB / 0.5754 GB, free: 9.152 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007815/0.6254, allocations: 3.631 MB / 0.579 GB, free: 5.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01513/0.6406, allocations: 11.4 MB / 0.5901 GB, free: 10.06 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.6406, allocations: 0 / 0.5901 GB, free: 10.06 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.6406, allocations: 0 / 0.5901 GB, free: 10.06 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005303/0.6412, allocations: 0 / 0.5901 GB, free: 10.06 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.02775/0.6689, allocations: 8.055 MB / 0.598 GB, free: 1.922 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.669, allocations: 12.03 kB / 0.598 GB, free: 1.91 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01528/0.6843, allocations: 3.174 MB / 0.6011 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01249/0.6968, allocations: 5.15 MB / 0.6061 GB, free: 9.492 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003959/0.6973, allocations: 390.4 kB / 0.6065 GB, free: 9.109 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002358/0.6996, allocations: 0.5194 MB / 0.607 GB, free: 8.59 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03075/0.7304, allocations: 15.79 MB / 0.6224 GB, free: 7.754 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002947/0.7307, allocations: 75.36 kB / 0.6225 GB, free: 7.68 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009417/0.7317, allocations: 239.8 kB / 0.6227 GB, free: 7.445 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00467/0.7364, allocations: 2.931 MB / 0.6256 GB, free: 4.508 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4926/1.229, allocations: 13.15 MB / 0.6384 GB, free: 142.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07756/1.307, allocations: 60.39 MB / 0.6974 GB, free: 101.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01642/1.323, allocations: 6.091 MB / 0.7033 GB, free: 99.37 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00574/1.329, allocations: 3.378 MB / 0.7066 GB, free: 97.94 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002462/1.329, allocations: 50.59 kB / 0.7067 GB, free: 97.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.993e-05/1.329, allocations: 64.44 kB / 0.7067 GB, free: 97.87 MB / 494.1 MB Notification: Performance of pre-optimization done (n=242): time 5.109e-06/1.329, allocations: 0 / 0.7067 GB, free: 97.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=260): time 0.06388/1.393, allocations: 25.86 MB / 0.732 GB, free: 78.45 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.463e-05/1.393, allocations: 269.1 kB / 0.7322 GB, free: 78.13 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01027/1.403, allocations: 6.973 MB / 0.7391 GB, free: 71.17 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009317/1.404, allocations: 61.7 kB / 0.7391 GB, free: 71.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002708/1.407, allocations: 4.794 MB / 0.7438 GB, free: 66.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001413/1.409, allocations: 1.011 MB / 0.7448 GB, free: 65.31 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002545/1.411, allocations: 1.806 MB / 0.7465 GB, free: 63.49 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.797e-05/1.411, allocations: 305.1 kB / 0.7468 GB, free: 63.19 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00429/1.416, allocations: 3.316 MB / 0.7501 GB, free: 59.87 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006646/1.422, allocations: 8.49 MB / 0.7584 GB, free: 48.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01183/1.434, allocations: 12.65 MB / 0.7707 GB, free: 33.62 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001686/1.434, allocations: 52 kB / 0.7708 GB, free: 33.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.02416/1.458, allocations: 13.08 MB / 0.7835 GB, free: 20.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/1.459, allocations: 84.06 kB / 0.7836 GB, free: 20.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001865/1.459, allocations: 180 kB / 0.7838 GB, free: 20.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004239/1.463, allocations: 1.784 MB / 0.7855 GB, free: 18.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007184/1.47, allocations: 2.109 MB / 0.7876 GB, free: 16.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01235/1.483, allocations: 11.54 MB / 0.7989 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009998/1.493, allocations: 499.1 kB / 0.7993 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00236/1.495, allocations: 0.5235 MB / 0.7999 GB, free: 3.383 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 57 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.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 (1087): * Single equations (assignments): 1081 * 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,12,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006994/1.502, allocations: 3.202 MB / 0.803 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001733/1.504, allocations: 0.5825 MB / 0.8036 GB, free: 15.57 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01145/1.515, allocations: 5.799 MB / 0.8092 GB, free: 9.746 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.016e-05/1.515, allocations: 28 kB / 0.8092 GB, free: 9.719 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.476e-05/1.515, allocations: 11.94 kB / 0.8093 GB, free: 9.707 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-05/1.515, allocations: 19.94 kB / 0.8093 GB, free: 9.688 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3286/1.844, allocations: 12.92 MB / 0.8219 GB, free: 146.4 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.684e-05/1.844, allocations: 3.938 kB / 0.8219 GB, free: 146.4 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002625/1.847, allocations: 0.5035 MB / 0.8224 GB, free: 146.4 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003906/1.851, allocations: 1.479 MB / 0.8238 GB, free: 146.4 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005401/1.851, allocations: 49.86 kB / 0.8239 GB, free: 146.4 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01084/1.862, allocations: 10.62 MB / 0.8342 GB, free: 140.9 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/1.862, allocations: 10.22 kB / 0.8343 GB, free: 140.9 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01483/1.877, allocations: 9.435 MB / 0.8435 GB, free: 137.6 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003687/1.881, allocations: 1.048 MB / 0.8445 GB, free: 137.3 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001809/1.883, allocations: 47.89 kB / 0.8445 GB, free: 137.3 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003622/1.886, allocations: 174.1 kB / 0.8447 GB, free: 137.2 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006462/1.887, allocations: 147.3 kB / 0.8448 GB, free: 137.2 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002084/1.887, allocations: 68.95 kB / 0.8449 GB, free: 137.2 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.01088/1.898, allocations: 4.449 MB / 0.8493 GB, free: 135.7 MB / 0.4982 GB Notification: Performance of sort global known variables: time 7.01e-07/1.898, allocations: 3.125 kB / 0.8493 GB, free: 135.7 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01322/1.911, allocations: 1.624 MB / 0.8508 GB, free: 135.6 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (215): * Single equations (assignments): 209 * 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 {(1,10,100.0%), (1,10,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.001023/1.912, allocations: 195.1 kB / 0.851 GB, free: 135.4 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01674/1.929, allocations: 8.082 MB / 0.8589 GB, free: 132.6 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/1.929, allocations: 2.812 kB / 0.8589 GB, free: 132.6 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.005952/1.935, allocations: 2.736 MB / 0.8616 GB, free: 131.4 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006889/1.942, allocations: 0.7493 MB / 0.8623 GB, free: 131 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03983/1.982, allocations: 18.36 MB / 0.8803 GB, free: 121.7 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008934/1.991, allocations: 4.891 MB / 0.885 GB, free: 119.9 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.00758/1.999, allocations: 2.751 MB / 0.8877 GB, free: 119.2 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001305/2, allocations: 390.7 kB / 0.8881 GB, free: 118.9 MB / 0.4982 GB Notification: Performance of SimCode: time 1.553e-06/2, allocations: 0 / 0.8881 GB, free: 118.9 MB / 0.4982 GB Notification: Performance of Templates: time 0.1134/2.113, allocations: 61.56 MB / 0.9482 GB, free: 58.76 MB / 0.4982 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1)