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.0008756/0.0008756, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005139/0.005139, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.458/1.458, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.3112/0.3112, allocations: 38.03 MB / 308.8 MB, free: 10.32 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.0006076/0.0006076, allocations: 16.22 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1216, allocations: 57.51 MB / 434.6 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.3066/0.4283, allocations: 98.58 MB / 0.5207 GB, free: 6.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05845/0.4868, allocations: 19.19 MB / 0.5394 GB, free: 9.168 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02834/0.5152, allocations: 429.5 kB / 0.5398 GB, free: 9.105 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004152/0.5194, allocations: 0.636 MB / 0.5404 GB, free: 8.848 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01171/0.5311, allocations: 2.623 MB / 0.543 GB, free: 7.629 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004222/0.5354, allocations: 1.034 MB / 0.544 GB, free: 7.184 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02004/0.5554, allocations: 11.22 MB / 0.5549 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01195/0.5674, allocations: 8.234 MB / 0.563 GB, free: 8.371 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004038/0.5715, allocations: 1.961 MB / 0.5649 GB, free: 6.402 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004926/0.5765, allocations: 3.48 MB / 0.5683 GB, free: 2.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000879/0.5774, allocations: 240 kB / 0.5685 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002918/0.5803, allocations: 1.326 MB / 0.5698 GB, free: 1.348 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002989/0.5833, allocations: 3.031 MB / 0.5728 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004044/0.5873, allocations: 3.344 MB / 0.5761 GB, free: 10.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01196/0.5993, allocations: 11.05 MB / 0.5868 GB, free: 15.85 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.5994, allocations: 4 kB / 0.5868 GB, free: 15.84 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.5994, allocations: 4 kB / 0.5868 GB, free: 15.84 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004087/0.5998, allocations: 0 / 0.5868 GB, free: 15.84 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.01534/0.6151, allocations: 6.601 MB / 0.5933 GB, free: 9.16 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.6152, allocations: 8.031 kB / 0.5933 GB, free: 9.152 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01598/0.6312, allocations: 3.244 MB / 0.5965 GB, free: 5.895 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01136/0.6426, allocations: 5.153 MB / 0.6015 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002878/0.6429, allocations: 394.4 kB / 0.6019 GB, free: 280 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001413/0.6443, allocations: 0.5155 MB / 0.6024 GB, free: 15.76 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02543/0.6698, allocations: 15.81 MB / 0.6178 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001909/0.67, allocations: 79.27 kB / 0.6179 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006164/0.6706, allocations: 247.8 kB / 0.6181 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004676/0.6753, allocations: 2.934 MB / 0.621 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2661/0.9414, allocations: 13.18 MB / 0.6339 GB, free: 139.1 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07197/1.013, allocations: 60.42 MB / 0.6929 GB, free: 100.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01528/1.029, allocations: 6.094 MB / 0.6988 GB, free: 98.04 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005229/1.034, allocations: 3.375 MB / 0.7021 GB, free: 96.61 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000188/1.034, allocations: 45.59 kB / 0.7022 GB, free: 96.61 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.36e-05/1.034, allocations: 69.8 kB / 0.7022 GB, free: 96.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=242): time 5.641e-06/1.034, allocations: 1.531 kB / 0.7022 GB, free: 96.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=260): time 0.0659/1.1, allocations: 25.84 MB / 0.7275 GB, free: 83.63 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.826e-05/1.1, allocations: 261.1 kB / 0.7277 GB, free: 83.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007799/1.108, allocations: 6.977 MB / 0.7345 GB, free: 76.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005593/1.109, allocations: 64.67 kB / 0.7346 GB, free: 76.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002604/1.111, allocations: 4.797 MB / 0.7393 GB, free: 71.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009363/1.112, allocations: 1.015 MB / 0.7403 GB, free: 70.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007353/1.113, allocations: 0.7626 MB / 0.741 GB, free: 69.73 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.454e-05/1.113, allocations: 309 kB / 0.7413 GB, free: 69.42 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003957/1.117, allocations: 3.316 MB / 0.7446 GB, free: 66.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005893/1.123, allocations: 8.486 MB / 0.7528 GB, free: 55.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01142/1.134, allocations: 12.65 MB / 0.7652 GB, free: 39.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001016/1.135, allocations: 52 kB / 0.7652 GB, free: 39.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.02049/1.155, allocations: 13.09 MB / 0.778 GB, free: 26.71 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.703e-05/1.155, allocations: 84.06 kB / 0.7781 GB, free: 26.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001644/1.155, allocations: 184 kB / 0.7783 GB, free: 26.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004081/1.159, allocations: 1.776 MB / 0.78 GB, free: 24.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006474/1.166, allocations: 2.113 MB / 0.7821 GB, free: 22.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/1.177, allocations: 11.56 MB / 0.7934 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008259/1.186, allocations: 0.4914 MB / 0.7938 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00162/1.187, allocations: 0.5117 MB / 0.7943 GB, free: 9.609 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.006191/1.194, allocations: 3.205 MB / 0.7975 GB, free: 6.391 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001338/1.195, allocations: 0.5862 MB / 0.798 GB, free: 5.797 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/1.206, allocations: 5.808 MB / 0.8037 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-05/1.206, allocations: 28 kB / 0.8037 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.026e-05/1.206, allocations: 4 kB / 0.8037 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.289e-05/1.206, allocations: 26.33 kB / 0.8038 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03003/1.236, allocations: 12.92 MB / 0.8164 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.33e-05/1.236, allocations: 3.984 kB / 0.8164 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002603/1.238, allocations: 0.507 MB / 0.8169 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004259/1.243, allocations: 1.476 MB / 0.8183 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003488/1.243, allocations: 43.98 kB / 0.8184 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2638/1.507, allocations: 10.62 MB / 0.8288 GB, free: 141.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/1.507, allocations: 3.406 kB / 0.8288 GB, free: 141.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01429/1.521, allocations: 9.437 MB / 0.838 GB, free: 139 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002837/1.524, allocations: 1.066 MB / 0.839 GB, free: 138.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001064/1.525, allocations: 47.3 kB / 0.8391 GB, free: 138.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002664/1.528, allocations: 179.6 kB / 0.8392 GB, free: 138.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005309/1.529, allocations: 145.2 kB / 0.8394 GB, free: 138.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001811/1.529, allocations: 71.45 kB / 0.8394 GB, free: 138.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006765/1.535, allocations: 4.447 MB / 0.8438 GB, free: 137.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.11e-07/1.536, allocations: 0 / 0.8438 GB, free: 137.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00741/1.543, allocations: 1.629 MB / 0.8454 GB, free: 137 MB / 0.4981 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.0004865/1.543, allocations: 182.5 kB / 0.8455 GB, free: 136.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01256/1.556, allocations: 8.111 MB / 0.8535 GB, free: 134 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/1.556, allocations: 3.781 kB / 0.8535 GB, free: 134 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003937/1.56, allocations: 2.725 MB / 0.8561 GB, free: 132.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006182/1.566, allocations: 0.7488 MB / 0.8569 GB, free: 132.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03076/1.597, allocations: 18.47 MB / 0.8749 GB, free: 123 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007503/1.605, allocations: 4.9 MB / 0.8797 GB, free: 121.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.008316/1.613, allocations: 2.745 MB / 0.8824 GB, free: 121.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/1.614, allocations: 390.9 kB / 0.8827 GB, free: 121 MB / 0.4981 GB Notification: Performance of SimCode: time 1.092e-06/1.614, allocations: 4 kB / 0.8827 GB, free: 121 MB / 0.4981 GB Notification: Performance of Templates: time 0.1013/1.715, allocations: 60.61 MB / 0.9419 GB, free: 64.1 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: