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.01129/0.01129, allocations: 165.6 kB / 15.11 MB, free: 5.969 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.207/1.207, allocations: 170.8 MB / 186.6 MB, free: 1.141 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.00161/0.00161, allocations: 105.6 kB / 226.2 MB, free: 10.11 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.2761/0.2761, allocations: 38.04 MB / 303.7 MB, free: 42.33 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003198, allocations: 12 kB / 362.9 MB, free: 5.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1054, allocations: 48.7 MB / 411.6 MB, free: 4.832 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3613/0.4667, allocations: 92.97 MB / 0.4927 GB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/0.4671, allocations: 76.2 kB / 0.4928 GB, free: 11.06 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6513/1.118, allocations: 142.7 MB / 0.6321 GB, free: 69.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.3e-06/1.118, allocations: 0 / 0.6321 GB, free: 69.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006152/1.119, allocations: 144.3 kB / 0.6322 GB, free: 69.89 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.03199/1.151, allocations: 7.478 MB / 0.6395 GB, free: 66.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/1.151, allocations: 7.938 kB / 0.6396 GB, free: 66.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03787/1.189, allocations: 9.524 MB / 0.6489 GB, free: 66.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02516/1.214, allocations: 8.877 MB / 0.6575 GB, free: 65.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007325/1.215, allocations: 0.5246 MB / 0.658 GB, free: 65.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0048/1.22, allocations: 0.7032 MB / 0.6587 GB, free: 65.29 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04348/1.263, allocations: 16.67 MB / 0.675 GB, free: 56.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003706/1.264, allocations: 97.06 kB / 0.6751 GB, free: 56.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002174/1.266, allocations: 339.2 kB / 0.6754 GB, free: 56.56 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002083/1.268, allocations: 1.526 MB / 0.6769 GB, free: 56.28 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02776/1.296, allocations: 13.34 MB / 0.6899 GB, free: 52.01 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4362/1.732, allocations: 72.55 MB / 0.7608 GB, free: 33.87 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01609/1.748, allocations: 5.939 MB / 0.7666 GB, free: 33.18 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003475/1.749, allocations: 48.8 kB / 0.7666 GB, free: 33.18 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.792e-05/1.749, allocations: 71.05 kB / 0.7667 GB, free: 33.14 MB / 442.7 MB Notification: Performance of pre-optimization done (n=249): time 8.596e-06/1.749, allocations: 0 / 0.7667 GB, free: 33.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=267): time 0.08489/1.834, allocations: 22.86 MB / 0.789 GB, free: 27.74 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001619/1.834, allocations: 258 kB / 0.7893 GB, free: 27.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01963/1.854, allocations: 6.212 MB / 0.7953 GB, free: 26.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009908/1.855, allocations: 68.27 kB / 0.7954 GB, free: 26.95 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007277/1.862, allocations: 5.044 MB / 0.8003 GB, free: 24.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002454/1.864, allocations: 1.029 MB / 0.8013 GB, free: 23.9 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001075/1.866, allocations: 172.9 kB / 0.8015 GB, free: 23.9 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0008003/1.866, allocations: 0.6683 MB / 0.8021 GB, free: 23.57 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007697/1.874, allocations: 2.965 MB / 0.805 GB, free: 23.55 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0129/1.887, allocations: 8.219 MB / 0.8131 GB, free: 16.76 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01136/1.898, allocations: 4.829 MB / 0.8178 GB, free: 16.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004377/1.899, allocations: 52.88 kB / 0.8178 GB, free: 16.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.03521/1.934, allocations: 11.57 MB / 0.8291 GB, free: 14.01 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005587/1.935, allocations: 83.88 kB / 0.8292 GB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006132/1.935, allocations: 184.3 kB / 0.8294 GB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002584/1.938, allocations: 0.8478 MB / 0.8302 GB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00779/1.946, allocations: 1.991 MB / 0.8322 GB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01211/1.958, allocations: 8.646 MB / 0.8406 GB, free: 23.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01118/1.969, allocations: 469.6 kB / 0.841 GB, free: 23.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002559/1.972, allocations: 0.5128 MB / 0.8415 GB, free: 23.44 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 () * Number of clocked 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.01119/1.983, allocations: 3.326 MB / 0.8448 GB, free: 21.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00253/1.986, allocations: 0.5899 MB / 0.8454 GB, free: 21.58 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01329/1.999, allocations: 4.553 MB / 0.8498 GB, free: 19.82 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.014e-05/1.999, allocations: 30.44 kB / 0.8498 GB, free: 19.82 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.158e-05/1.999, allocations: 7.25 kB / 0.8499 GB, free: 19.82 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.313e-05/1.999, allocations: 14.33 kB / 0.8499 GB, free: 19.82 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0376/2.037, allocations: 11.7 MB / 0.8613 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-05/2.037, allocations: 0 / 0.8613 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002519/2.039, allocations: 442.3 kB / 0.8617 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001588/2.041, allocations: 0.5193 MB / 0.8622 GB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005173/2.042, allocations: 51.69 kB / 0.8623 GB, free: 15.28 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009824/2.051, allocations: 7.738 MB / 0.8698 GB, free: 9.191 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/2.051, allocations: 0 / 0.8698 GB, free: 9.191 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01602/2.067, allocations: 8.035 MB / 0.8777 GB, free: 2.07 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005049/2.073, allocations: 1.013 MB / 0.8787 GB, free: 1.117 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002826/2.075, allocations: 47.95 kB / 0.8787 GB, free: 1.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004248/2.08, allocations: 151.9 kB / 0.8789 GB, free: 0.9727 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005752/2.08, allocations: 162.1 kB / 0.879 GB, free: 0.8711 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002701/2.081, allocations: 67.05 kB / 0.8791 GB, free: 0.8086 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.02249/2.103, allocations: 5.241 MB / 0.8842 GB, free: 15.15 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.202e-06/2.103, allocations: 0 / 0.8842 GB, free: 15.15 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01352/2.117, allocations: 1.557 MB / 0.8857 GB, free: 13.6 MB / 474.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 () * Number of clocked 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.00166/2.118, allocations: 189.5 kB / 0.8859 GB, free: 13.42 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01814/2.137, allocations: 7.484 MB / 0.8932 GB, free: 6.883 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/2.137, allocations: 0 / 0.8932 GB, free: 6.883 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005066/2.142, allocations: 2.551 MB / 0.8957 GB, free: 4.598 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007296/2.149, allocations: 0.7651 MB / 0.8964 GB, free: 3.957 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04687/2.196, allocations: 17.67 MB / 0.9137 GB, free: 3.766 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01493/2.211, allocations: 5.221 MB / 0.9188 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01228/2.223, allocations: 2.802 MB / 0.9215 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002721/2.226, allocations: 400 kB / 0.9219 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of SimCode: time 2.234e-06/2.226, allocations: 7 kB / 0.9219 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of Templates: time 0.433/2.659, allocations: 55.66 MB / 0.9763 GB, free: 130.7 MB / 0.5105 GB 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)