Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Worldtorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque") translateModel(ModelicaTest.MultiBody.Forces.Worldtorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009848/0.0009848, allocations: 170.5 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.24/1.24, allocations: 170.6 MB / 183.8 MB, free: 11.47 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001586/0.001586, allocations: 107.4 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.179/0.179, allocations: 38 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.966e-05/2.968e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09718/0.09723, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3747/0.472, allocations: 92.86 MB / 498.6 MB, free: 17.8 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/0.4723, allocations: 74.28 kB / 498.6 MB, free: 17.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6153/1.088, allocations: 142.8 MB / 0.6264 GB, free: 62.37 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.408e-06/1.088, allocations: 3.422 kB / 0.6264 GB, free: 62.37 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004527/1.088, allocations: 138.8 kB / 0.6265 GB, free: 62.36 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2467 * Number of variables: 2467 Notification: Performance of Generate backend data structure: time 0.02616/1.114, allocations: 6.843 MB / 0.6332 GB, free: 59.76 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.26e-05/1.114, allocations: 10.34 kB / 0.6332 GB, free: 59.76 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03926/1.154, allocations: 9.53 MB / 0.6425 GB, free: 59.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02199/1.176, allocations: 8.834 MB / 0.6512 GB, free: 58.35 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005819/1.176, allocations: 0.534 MB / 0.6517 GB, free: 58.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004098/1.18, allocations: 0.7022 MB / 0.6524 GB, free: 58.33 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0416/1.222, allocations: 16.52 MB / 0.6685 GB, free: 54.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005896/1.223, allocations: 98.8 kB / 0.6686 GB, free: 54.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003678/1.226, allocations: 345.2 kB / 0.6689 GB, free: 54.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002613/1.229, allocations: 1.524 MB / 0.6704 GB, free: 54.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02894/1.258, allocations: 13.09 MB / 0.6832 GB, free: 54.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08087/1.339, allocations: 72.57 MB / 0.7541 GB, free: 32.39 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01307/1.352, allocations: 5.845 MB / 0.7598 GB, free: 27.36 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004267/1.356, allocations: 3.067 MB / 0.7628 GB, free: 24.54 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001757/1.356, allocations: 50.25 kB / 0.7628 GB, free: 24.51 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.302e-05/1.357, allocations: 63.53 kB / 0.7629 GB, free: 24.45 MB / 458.7 MB Notification: Performance of pre-optimization done (n=249): time 5.791e-06/1.357, allocations: 0 / 0.7629 GB, free: 24.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=267): time 0.04712/1.404, allocations: 19.5 MB / 0.7819 GB, free: 7.344 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/1.404, allocations: 257.2 kB / 0.7822 GB, free: 7.039 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01084/1.415, allocations: 6.141 MB / 0.7882 GB, free: 1.621 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006124/1.415, allocations: 65.7 kB / 0.7882 GB, free: 1.551 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2473/1.663, allocations: 5.043 MB / 0.7932 GB, free: 88.23 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001551/1.664, allocations: 1.029 MB / 0.7942 GB, free: 87.77 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007161/1.665, allocations: 176.8 kB / 0.7943 GB, free: 87.77 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004181/1.665, allocations: 0.668 MB / 0.795 GB, free: 87.45 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004295/1.67, allocations: 2.88 MB / 0.7978 GB, free: 87.42 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007537/1.677, allocations: 8.127 MB / 0.8057 GB, free: 80.64 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/1.688, allocations: 4.809 MB / 0.8104 GB, free: 80.59 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003057/1.688, allocations: 53.06 kB / 0.8105 GB, free: 80.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.02243/1.71, allocations: 11.38 MB / 0.8216 GB, free: 79.84 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001297/1.711, allocations: 85.16 kB / 0.8217 GB, free: 79.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002518/1.711, allocations: 186.3 kB / 0.8219 GB, free: 79.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001767/1.713, allocations: 0.8414 MB / 0.8227 GB, free: 79.81 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00652/1.719, allocations: 1.982 MB / 0.8246 GB, free: 79.63 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008339/1.727, allocations: 8.495 MB / 0.8329 GB, free: 75.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008167/1.736, allocations: 467.1 kB / 0.8334 GB, free: 75.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00196/1.738, allocations: 0.5246 MB / 0.8339 GB, free: 75.46 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 849 * Number of states: 0 () * Number of discrete variables: 54 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.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],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1056): * Single equations (assignments): 1050 * 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%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00151/1.739, allocations: 0.7719 MB / 0.8346 GB, free: 75.17 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001223/1.74, allocations: 0.5931 MB / 0.8352 GB, free: 74.84 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007172/1.748, allocations: 4.456 MB / 0.8395 GB, free: 74.62 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.895e-05/1.748, allocations: 28.72 kB / 0.8396 GB, free: 74.62 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/1.748, allocations: 6.938 kB / 0.8396 GB, free: 74.62 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.597e-05/1.748, allocations: 18.81 kB / 0.8396 GB, free: 74.62 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01987/1.768, allocations: 11.6 MB / 0.8509 GB, free: 73.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/1.768, allocations: 0 / 0.8509 GB, free: 73.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002116/1.77, allocations: 440.1 kB / 0.8513 GB, free: 73.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001353/1.771, allocations: 0.5337 MB / 0.8519 GB, free: 73.77 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000217/1.771, allocations: 43.7 kB / 0.8519 GB, free: 73.74 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006784/1.778, allocations: 7.573 MB / 0.8593 GB, free: 68.23 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.778, allocations: 7.688 kB / 0.8593 GB, free: 68.22 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01062/1.789, allocations: 7.878 MB / 0.867 GB, free: 64.77 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004046/1.793, allocations: 1.012 MB / 0.868 GB, free: 64.18 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001357/1.794, allocations: 45.22 kB / 0.868 GB, free: 64.14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002514/1.797, allocations: 148.8 kB / 0.8682 GB, free: 64.11 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004103/1.797, allocations: 162.6 kB / 0.8683 GB, free: 64.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000179/1.797, allocations: 72.09 kB / 0.8684 GB, free: 64.07 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.008167/1.806, allocations: 4.367 MB / 0.8727 GB, free: 62.58 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.01e-07/1.806, allocations: 0 / 0.8727 GB, free: 62.58 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01034/1.816, allocations: 1.556 MB / 0.8742 GB, free: 62.41 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 213 * 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%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007054/1.817, allocations: 196.4 kB / 0.8744 GB, free: 62.27 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01122/1.828, allocations: 7.325 MB / 0.8815 GB, free: 59.51 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.828, allocations: 0 / 0.8815 GB, free: 59.51 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003015/1.831, allocations: 2.502 MB / 0.884 GB, free: 58.36 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005181/1.836, allocations: 0.7588 MB / 0.8847 GB, free: 58.04 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0249/1.861, allocations: 12.38 MB / 0.8968 GB, free: 48.64 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007318/1.869, allocations: 5.204 MB / 0.9019 GB, free: 44.82 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007727/1.876, allocations: 2.802 MB / 0.9046 GB, free: 43.02 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001286/1.878, allocations: 400.2 kB / 0.905 GB, free: 42.65 MB / 458.7 MB Notification: Performance of SimCode: time 1.864e-06/1.878, allocations: 0 / 0.905 GB, free: 42.65 MB / 458.7 MB Notification: Performance of Templates: time 0.3526/2.23, allocations: 55.68 MB / 0.9594 GB, free: 72.12 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.pipe 2>&1)