Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.WorldForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.00132/0.00132, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.001664/0.001664, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.581/1.581, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.3654/0.3654, allocations: 38.04 MB / 308.4 MB, free: 10.43 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.000541/0.0005412, allocations: 16 kB / 376.4 MB, free: 15.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.124, allocations: 57.52 MB / 433.9 MB, free: 5.598 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.2977/0.4218, allocations: 97.08 MB / 0.5186 GB, free: 8.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05967/0.4815, allocations: 21.47 MB / 0.5395 GB, free: 9.48 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03464/0.5161, allocations: 480.2 kB / 0.54 GB, free: 9.41 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02616/0.5424, allocations: 4.905 MB / 0.5448 GB, free: 7.805 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.07032/0.6127, allocations: 13.78 MB / 0.5582 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01063/0.6234, allocations: 1.06 MB / 0.5593 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.08699/0.7104, allocations: 39.95 MB / 0.5983 GB, free: 3.617 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01962/0.7301, allocations: 8.073 MB / 0.6061 GB, free: 11.5 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006433/0.7366, allocations: 1.88 MB / 0.608 GB, free: 9.617 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006955/0.7436, allocations: 2.632 MB / 0.6106 GB, free: 6.977 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003219/0.7469, allocations: 276 kB / 0.6108 GB, free: 6.707 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005566/0.7525, allocations: 1.011 MB / 0.6118 GB, free: 5.695 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007323/0.7599, allocations: 3.059 MB / 0.6148 GB, free: 2.629 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004714/0.7646, allocations: 1.544 MB / 0.6163 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01883/0.7835, allocations: 10.4 MB / 0.6265 GB, free: 6.645 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/0.7835, allocations: 4 kB / 0.6265 GB, free: 6.641 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.7836, allocations: 0 / 0.6265 GB, free: 6.641 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0006178/0.7842, allocations: 0 / 0.6265 GB, free: 6.641 MB / 494.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.5068/1.291, allocations: 7.847 MB / 0.6341 GB, free: 148.7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/1.291, allocations: 6.469 kB / 0.6341 GB, free: 148.7 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06198/1.353, allocations: 11.31 MB / 0.6452 GB, free: 148.1 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0175/1.371, allocations: 5.9 MB / 0.6509 GB, free: 146.3 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004773/1.371, allocations: 444 kB / 0.6514 GB, free: 146.2 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003591/1.375, allocations: 0.5827 MB / 0.6519 GB, free: 146 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04812/1.423, allocations: 17.74 MB / 0.6693 GB, free: 138 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000637/1.424, allocations: 86.98 kB / 0.6693 GB, free: 137.9 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00217/1.426, allocations: 275.9 kB / 0.6696 GB, free: 137.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008449/1.434, allocations: 3.425 MB / 0.673 GB, free: 137.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03574/1.47, allocations: 14.7 MB / 0.6873 GB, free: 128.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0937/1.564, allocations: 68.59 MB / 0.7543 GB, free: 58.33 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01621/1.58, allocations: 7.287 MB / 0.7614 GB, free: 50.89 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003559/1.581, allocations: 59.31 kB / 0.7615 GB, free: 50.85 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.203e-05/1.581, allocations: 64.69 kB / 0.7615 GB, free: 50.78 MB / 494.1 MB Notification: Performance of pre-optimization done (n=307): time 6.442e-06/1.581, allocations: 3.938 kB / 0.7615 GB, free: 50.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=340): time 0.07329/1.654, allocations: 33.21 MB / 0.794 GB, free: 17.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/1.654, allocations: 299.4 kB / 0.7942 GB, free: 16.86 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009741/1.664, allocations: 7.83 MB / 0.8019 GB, free: 9.051 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009615/1.665, allocations: 74.88 kB / 0.802 GB, free: 8.973 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003242/1.668, allocations: 5.352 MB / 0.8072 GB, free: 3.621 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001815/1.67, allocations: 1.275 MB / 0.8084 GB, free: 2.355 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004678/1.67, allocations: 196 kB / 0.8086 GB, free: 2.164 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000434/1.671, allocations: 0.7071 MB / 0.8093 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006048/1.677, allocations: 3.788 MB / 0.813 GB, free: 13.66 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0113/1.688, allocations: 9.367 MB / 0.8222 GB, free: 1.523 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3337/2.022, allocations: 5.822 MB / 0.8278 GB, free: 139.1 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001736/2.022, allocations: 59.02 kB / 0.8279 GB, free: 139.1 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1244) (initialization): time 0.03031/2.052, allocations: 14.22 MB / 0.8418 GB, free: 135.8 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001453/2.053, allocations: 90.47 kB / 0.8419 GB, free: 135.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002713/2.053, allocations: 195.6 kB / 0.8421 GB, free: 135.8 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00389/2.057, allocations: 1.573 MB / 0.8436 GB, free: 135.5 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008603/2.065, allocations: 2.279 MB / 0.8458 GB, free: 135.3 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01594/2.081, allocations: 12.66 MB / 0.8582 GB, free: 127.9 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01191/2.093, allocations: 0.5448 MB / 0.8587 GB, free: 127.8 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003425/2.097, allocations: 0.5638 MB / 0.8593 GB, free: 127.7 MB / 0.4982 GB 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 (1169): * Single equations (assignments): 1163 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 14,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01136/2.108, allocations: 3.589 MB / 0.8628 GB, free: 126.1 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001947/2.11, allocations: 0.6482 MB / 0.8634 GB, free: 126.1 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01444/2.125, allocations: 7.004 MB / 0.8702 GB, free: 123.5 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.431e-05/2.125, allocations: 36.03 kB / 0.8703 GB, free: 123.5 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.198e-05/2.125, allocations: 10.47 kB / 0.8703 GB, free: 123.5 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.195e-05/2.125, allocations: 17.06 kB / 0.8703 GB, free: 123.5 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03777/2.163, allocations: 16.08 MB / 0.886 GB, free: 117.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-05/2.163, allocations: 0 / 0.886 GB, free: 117.7 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003734/2.167, allocations: 0.6246 MB / 0.8866 GB, free: 117.6 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00361/2.17, allocations: 1.25 MB / 0.8878 GB, free: 117.3 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001173/2.171, allocations: 61.73 kB / 0.8879 GB, free: 117.3 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01408/2.186, allocations: 11.66 MB / 0.8993 GB, free: 108.6 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/2.186, allocations: 5.359 kB / 0.8993 GB, free: 108.6 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01943/2.205, allocations: 11.75 MB / 0.9108 GB, free: 98.43 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005992/2.211, allocations: 1.263 MB / 0.912 GB, free: 97.26 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002467/2.214, allocations: 55.2 kB / 0.9121 GB, free: 97.21 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004128/2.218, allocations: 216.2 kB / 0.9123 GB, free: 97.07 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005887/2.218, allocations: 192.4 kB / 0.9124 GB, free: 96.95 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002758/2.219, allocations: 95.92 kB / 0.9125 GB, free: 96.86 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.008895/2.228, allocations: 5.047 MB / 0.9175 GB, free: 92.02 MB / 0.4982 GB Notification: Performance of sort global known variables: time 7.31e-07/2.228, allocations: 0 / 0.9175 GB, free: 92.02 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01128/2.239, allocations: 1.829 MB / 0.9193 GB, free: 90.19 MB / 0.4982 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001055/2.24, allocations: 227.4 kB / 0.9195 GB, free: 89.96 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01427/2.254, allocations: 9.479 MB / 0.9287 GB, free: 80.5 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/2.254, allocations: 0 / 0.9287 GB, free: 80.5 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.004874/2.259, allocations: 3.667 MB / 0.9323 GB, free: 76.79 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005314/2.265, allocations: 0.8161 MB / 0.9331 GB, free: 75.99 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03219/2.297, allocations: 20.24 MB / 0.9529 GB, free: 55.72 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006787/2.304, allocations: 5.624 MB / 0.9584 GB, free: 50.07 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.008463/2.312, allocations: 3.177 MB / 0.9615 GB, free: 46.89 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001626/2.314, allocations: 447.4 kB / 0.9619 GB, free: 46.45 MB / 0.4982 GB Notification: Performance of SimCode: time 1.743e-06/2.314, allocations: 0 / 0.9619 GB, free: 46.45 MB / 0.4982 GB Notification: Performance of Templates: time 0.3841/2.698, allocations: 69.07 MB / 1.029 GB, free: 140.7 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) Environment - environmentSimulation: