Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.WorldForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.00125/0.00125, 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.001738/0.001738, 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.694/1.694, allocations: 205.1 MB / 222 MB, free: 4.773 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.4135/0.4135, allocations: 39.93 MB / 309.3 MB, free: 9.352 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.001554/0.001554, allocations: 59.92 kB / 376.9 MB, free: 13.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1253, allocations: 56.89 MB / 433.8 MB, free: 4.137 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.2959/0.4211, allocations: 100.9 MB / 0.5222 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0541/0.4753, allocations: 19.25 MB / 0.541 GB, free: 6.547 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02737/0.5027, allocations: 436.8 kB / 0.5414 GB, free: 6.48 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009999/0.5128, allocations: 5.06 MB / 0.5463 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007802/0.5206, allocations: 2.617 MB / 0.5489 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003357/0.524, allocations: 1.158 MB / 0.55 GB, free: 1.871 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01543/0.5395, allocations: 11.22 MB / 0.561 GB, free: 6.641 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008875/0.5484, allocations: 6.034 MB / 0.5669 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005929/0.5544, allocations: 2.374 MB / 0.5692 GB, free: 14.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007221/0.5616, allocations: 3.996 MB / 0.5731 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002095/0.5638, allocations: 416 kB / 0.5735 GB, free: 9.777 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004298/0.5681, allocations: 1.494 MB / 0.5749 GB, free: 8.281 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004548/0.5727, allocations: 3.28 MB / 0.5781 GB, free: 4.992 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006634/0.5793, allocations: 3.627 MB / 0.5817 GB, free: 1.344 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01446/0.5938, allocations: 11.39 MB / 0.5928 GB, free: 5.918 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.5939, allocations: 0 / 0.5928 GB, free: 5.918 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.5939, allocations: 0 / 0.5928 GB, free: 5.918 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004964/0.5944, allocations: 4 kB / 0.5928 GB, free: 5.914 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.02508/0.6195, allocations: 8.063 MB / 0.6007 GB, free: 13.77 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.215e-05/0.6196, allocations: 12.03 kB / 0.6007 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01627/0.6359, allocations: 3.178 MB / 0.6038 GB, free: 10.56 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01169/0.6476, allocations: 5.15 MB / 0.6088 GB, free: 5.332 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003961/0.648, allocations: 394.4 kB / 0.6092 GB, free: 4.945 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002261/0.6503, allocations: 0.5195 MB / 0.6097 GB, free: 4.426 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03757/0.6879, allocations: 15.79 MB / 0.6251 GB, free: 3.582 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004733/0.6885, allocations: 75.36 kB / 0.6252 GB, free: 3.508 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002114/0.6906, allocations: 247.8 kB / 0.6254 GB, free: 3.266 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005353/0.696, allocations: 2.927 MB / 0.6283 GB, free: 340 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4032/1.099, allocations: 13.15 MB / 0.6411 GB, free: 140.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07568/1.175, allocations: 60.38 MB / 0.7001 GB, free: 99.74 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01404/1.189, allocations: 6.091 MB / 0.7061 GB, free: 97.42 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004359/1.193, allocations: 3.379 MB / 0.7094 GB, free: 95.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002071/1.194, allocations: 50.66 kB / 0.7094 GB, free: 95.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/1.194, allocations: 63.92 kB / 0.7095 GB, free: 95.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=242): time 3.917e-06/1.194, allocations: 0 / 0.7095 GB, free: 95.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=260): time 0.07337/1.267, allocations: 25.86 MB / 0.7347 GB, free: 72.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.255e-05/1.267, allocations: 261.2 kB / 0.735 GB, free: 71.71 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007787/1.275, allocations: 6.977 MB / 0.7418 GB, free: 64.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006084/1.276, allocations: 69.3 kB / 0.7418 GB, free: 64.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002398/1.278, allocations: 4.793 MB / 0.7465 GB, free: 59.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001241/1.279, allocations: 1.007 MB / 0.7475 GB, free: 58.89 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002396/1.282, allocations: 1.804 MB / 0.7493 GB, free: 57.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.649e-05/1.282, allocations: 305.1 kB / 0.7496 GB, free: 56.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004823/1.287, allocations: 3.32 MB / 0.7528 GB, free: 53.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006142/1.293, allocations: 8.486 MB / 0.7611 GB, free: 42.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0109/1.304, allocations: 12.64 MB / 0.7734 GB, free: 27.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001192/1.304, allocations: 52 kB / 0.7735 GB, free: 27.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.02302/1.327, allocations: 13.08 MB / 0.7863 GB, free: 14.06 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.698e-05/1.327, allocations: 80.66 kB / 0.7863 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001465/1.327, allocations: 188.2 kB / 0.7865 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004088/1.331, allocations: 1.783 MB / 0.7883 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006784/1.338, allocations: 2.113 MB / 0.7903 GB, free: 9.898 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01239/1.35, allocations: 11.55 MB / 0.8016 GB, free: 13.97 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008045/1.358, allocations: 499.2 kB / 0.8021 GB, free: 13.48 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001984/1.361, allocations: 0.5124 MB / 0.8026 GB, free: 12.97 MB / 0.4982 GB 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.007214/1.368, allocations: 3.212 MB / 0.8057 GB, free: 9.746 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002383/1.37, allocations: 0.5746 MB / 0.8063 GB, free: 9.164 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01413/1.384, allocations: 5.804 MB / 0.8119 GB, free: 3.332 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.376e-05/1.384, allocations: 32 kB / 0.812 GB, free: 3.301 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.443e-05/1.384, allocations: 11.94 kB / 0.812 GB, free: 3.289 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.714e-05/1.385, allocations: 15.94 kB / 0.812 GB, free: 3.273 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2895/1.674, allocations: 12.92 MB / 0.8246 GB, free: 144.5 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.162e-05/1.674, allocations: 1.656 kB / 0.8246 GB, free: 144.5 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002454/1.677, allocations: 0.5088 MB / 0.8251 GB, free: 144.5 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003829/1.68, allocations: 1.483 MB / 0.8266 GB, free: 144.2 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000322/1.681, allocations: 43.52 kB / 0.8266 GB, free: 144.2 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01052/1.691, allocations: 10.61 MB / 0.837 GB, free: 137.8 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.691, allocations: 3.844 kB / 0.837 GB, free: 137.8 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01437/1.706, allocations: 9.436 MB / 0.8462 GB, free: 134.4 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003086/1.709, allocations: 1.05 MB / 0.8472 GB, free: 134.1 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001422/1.71, allocations: 45.3 kB / 0.8473 GB, free: 134.1 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002938/1.713, allocations: 171.9 kB / 0.8474 GB, free: 134.1 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005094/1.714, allocations: 154.8 kB / 0.8476 GB, free: 134.1 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001977/1.714, allocations: 68.73 kB / 0.8476 GB, free: 134 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.008933/1.723, allocations: 4.448 MB / 0.852 GB, free: 132.6 MB / 0.4982 GB Notification: Performance of sort global known variables: time 4.5e-07/1.723, allocations: 2.734 kB / 0.852 GB, free: 132.6 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.009756/1.733, allocations: 1.625 MB / 0.8536 GB, free: 132.4 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.0007933/1.733, allocations: 186.5 kB / 0.8537 GB, free: 132.3 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01252/1.746, allocations: 8.087 MB / 0.8616 GB, free: 129.4 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/1.746, allocations: 1.406 kB / 0.8616 GB, free: 129.4 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.004334/1.75, allocations: 2.733 MB / 0.8643 GB, free: 128.2 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005647/1.756, allocations: 0.7496 MB / 0.865 GB, free: 127.9 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03005/1.786, allocations: 18.37 MB / 0.883 GB, free: 117.7 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006444/1.793, allocations: 4.894 MB / 0.8878 GB, free: 114 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.006628/1.799, allocations: 2.749 MB / 0.8904 GB, free: 112.2 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/1.801, allocations: 390.6 kB / 0.8908 GB, free: 111.9 MB / 0.4982 GB Notification: Performance of SimCode: time 9.12e-07/1.801, allocations: 0 / 0.8908 GB, free: 111.9 MB / 0.4982 GB Notification: Performance of Templates: time 0.09519/1.896, allocations: 61.56 MB / 0.9509 GB, free: 50.43 MB / 0.4982 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1)