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.00123/0.00123, allocations: 108 kB / 15.6 MB, free: 132 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.001907/0.001907, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.756/1.756, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.3241/0.3241, allocations: 39.94 MB / 309.7 MB, free: 9.34 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.002911/0.002911, allocations: 74.39 kB / 377.6 MB, free: 12.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1696, allocations: 56.88 MB / 434.5 MB, free: 3.715 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01801/0.1877, allocations: 16.95 MB / 451.4 MB, free: 2.684 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2485/0.4363, allocations: 5.282 MB / 456.7 MB, free: 36.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004326/0.4407, allocations: 111.8 kB / 456.8 MB, free: 36.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008346/0.4491, allocations: 5.074 MB / 461.9 MB, free: 36.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007392/0.4565, allocations: 2.779 MB / 464.7 MB, free: 35.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003062/0.4596, allocations: 1.24 MB / 465.9 MB, free: 35.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0109/0.4705, allocations: 7.735 MB / 473.7 MB, free: 33.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006544/0.4771, allocations: 6.156 MB / 479.8 MB, free: 30.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004315/0.4814, allocations: 2.695 MB / 482.5 MB, free: 29.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005495/0.4869, allocations: 3.734 MB / 486.2 MB, free: 28.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002129/0.4891, allocations: 0.5877 MB / 486.8 MB, free: 28.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00431/0.4934, allocations: 1.612 MB / 488.4 MB, free: 28.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004302/0.4977, allocations: 3.417 MB / 491.9 MB, free: 26.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00752/0.5053, allocations: 3.803 MB / 495.7 MB, free: 24.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01607/0.5214, allocations: 11.55 MB / 0.4953 GB, free: 18.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/0.5214, allocations: 7.938 kB / 0.4953 GB, free: 18.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5214, allocations: 0 / 0.4953 GB, free: 18.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000529/0.5219, allocations: 0 / 0.4953 GB, free: 18.6 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: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.03192/0.5539, allocations: 8.055 MB / 0.5032 GB, free: 13.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.479e-05/0.554, allocations: 17.81 kB / 0.5032 GB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01892/0.5729, allocations: 3.177 MB / 0.5063 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01352/0.5865, allocations: 5.157 MB / 0.5114 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003479/0.5869, allocations: 392.8 kB / 0.5117 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002765/0.5896, allocations: 0.5155 MB / 0.5122 GB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0392/0.6288, allocations: 15.78 MB / 0.5276 GB, free: 5.688 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004605/0.6293, allocations: 71.38 kB / 0.5277 GB, free: 5.617 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002668/0.632, allocations: 248.2 kB / 0.528 GB, free: 5.426 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006611/0.6387, allocations: 2.929 MB / 0.5308 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02977/0.6685, allocations: 13.16 MB / 0.5437 GB, free: 5.332 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09261/0.7611, allocations: 60.38 MB / 0.6026 GB, free: 7.754 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01629/0.7775, allocations: 6.088 MB / 0.6086 GB, free: 1.508 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005428/0.7829, allocations: 3.378 MB / 0.6119 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002668/0.7832, allocations: 45.34 kB / 0.6119 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.417e-05/0.7833, allocations: 64.05 kB / 0.612 GB, free: 14.01 MB / 494.1 MB Notification: Performance of pre-optimization done (n=242): time 5.08e-06/0.7834, allocations: 0 / 0.612 GB, free: 14.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=260): time 0.2727/1.056, allocations: 25.87 MB / 0.6372 GB, free: 138.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.994e-05/1.056, allocations: 255.3 kB / 0.6375 GB, free: 138.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01075/1.067, allocations: 6.974 MB / 0.6443 GB, free: 135.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001045/1.068, allocations: 70.92 kB / 0.6444 GB, free: 135.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004537/1.073, allocations: 4.802 MB / 0.6491 GB, free: 131.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002278/1.075, allocations: 1.006 MB / 0.65 GB, free: 131.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003846/1.079, allocations: 1.801 MB / 0.6518 GB, free: 130.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.891e-05/1.079, allocations: 301.1 kB / 0.6521 GB, free: 130 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006428/1.085, allocations: 3.318 MB / 0.6553 GB, free: 128.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01036/1.096, allocations: 8.483 MB / 0.6636 GB, free: 121 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01506/1.111, allocations: 12.65 MB / 0.676 GB, free: 110.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002719/1.111, allocations: 55.53 kB / 0.676 GB, free: 110.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.02622/1.137, allocations: 13.09 MB / 0.6888 GB, free: 105.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003291/1.138, allocations: 79.38 kB / 0.6889 GB, free: 105.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004853/1.138, allocations: 181.7 kB / 0.689 GB, free: 105.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005607/1.144, allocations: 1.785 MB / 0.6908 GB, free: 105.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008889/1.153, allocations: 2.105 MB / 0.6928 GB, free: 105.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0141/1.167, allocations: 12.43 MB / 0.705 GB, free: 95.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009968/1.177, allocations: 0.4909 MB / 0.7055 GB, free: 94.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002777/1.18, allocations: 0.5188 MB / 0.706 GB, free: 94.39 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.008894/1.189, allocations: 3.208 MB / 0.7091 GB, free: 91.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001728/1.19, allocations: 0.5707 MB / 0.7097 GB, free: 90.99 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0111/1.201, allocations: 5.811 MB / 0.7153 GB, free: 86.36 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.705e-05/1.202, allocations: 28 kB / 0.7154 GB, free: 86.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.634e-05/1.202, allocations: 11.94 kB / 0.7154 GB, free: 86.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.024e-05/1.202, allocations: 15.23 kB / 0.7154 GB, free: 86.32 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02708/1.229, allocations: 12.93 MB / 0.728 GB, free: 74.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.293e-05/1.229, allocations: 0 / 0.728 GB, free: 74.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002552/1.231, allocations: 0.5031 MB / 0.7285 GB, free: 74.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004013/1.235, allocations: 1.481 MB / 0.73 GB, free: 72.56 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005723/1.236, allocations: 51.92 kB / 0.73 GB, free: 72.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01118/1.247, allocations: 11.49 MB / 0.7412 GB, free: 60.61 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/1.247, allocations: 0 / 0.7412 GB, free: 60.61 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01539/1.263, allocations: 9.44 MB / 0.7504 GB, free: 51.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003433/1.266, allocations: 1.048 MB / 0.7515 GB, free: 50.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002528/1.269, allocations: 43.94 kB / 0.7515 GB, free: 49.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004103/1.273, allocations: 171.8 kB / 0.7517 GB, free: 49.81 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009401/1.274, allocations: 154.6 kB / 0.7518 GB, free: 49.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004953/1.274, allocations: 71.98 kB / 0.7519 GB, free: 49.59 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.009715/1.284, allocations: 4.447 MB / 0.7562 GB, free: 45.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.21e-07/1.284, allocations: 0 / 0.7562 GB, free: 45.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01212/1.296, allocations: 1.626 MB / 0.7578 GB, free: 43.54 MB / 494.1 MB 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.001313/1.297, allocations: 185.1 kB / 0.758 GB, free: 43.35 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01757/1.315, allocations: 9.571 MB / 0.7673 GB, free: 33.81 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/1.315, allocations: 0 / 0.7673 GB, free: 33.81 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004148/1.319, allocations: 2.73 MB / 0.77 GB, free: 31.04 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00775/1.327, allocations: 0.8016 MB / 0.7708 GB, free: 30.28 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03213/1.359, allocations: 15.26 MB / 0.7857 GB, free: 15 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01175/1.371, allocations: 4.904 MB / 0.7905 GB, free: 10.06 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.009176/1.38, allocations: 2.739 MB / 0.7932 GB, free: 7.312 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002206/1.382, allocations: 391.4 kB / 0.7935 GB, free: 6.93 MB / 494.1 MB Notification: Performance of SimCode: time 2.244e-06/1.383, allocations: 0 / 0.7935 GB, free: 6.93 MB / 494.1 MB Notification: Performance of Templates: time 0.3327/1.715, allocations: 64.03 MB / 0.8561 GB, free: 127.5 MB / 0.4981 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)