Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001016/0.001016, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.35/1.35, allocations: 170.6 MB / 178.7 MB, free: 15.66 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.001604/0.001604, allocations: 107.5 kB / 218 MB, free: 8.41 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.1817/0.1817, allocations: 37.97 MB / 295.1 MB, free: 9.508 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.055e-05/2.049e-05, allocations: 3.906 kB / 350 MB, free: 37.05 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1417, allocations: 48.72 MB / 398.7 MB, free: 5.348 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3843/0.526, allocations: 92.09 MB / 490.8 MB, free: 17.81 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000195/0.5263, allocations: 70.69 kB / 490.9 MB, free: 17.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6523/1.179, allocations: 166.2 MB / 0.6417 GB, free: 56.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.236e-06/1.179, allocations: 3.469 kB / 0.6417 GB, free: 56.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005282/1.179, allocations: 170.2 kB / 0.6419 GB, free: 56.75 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: 2944 * Number of variables: 2944 Notification: Performance of Generate backend data structure: time 0.03045/1.21, allocations: 8.248 MB / 0.6499 GB, free: 53.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/1.21, allocations: 10.16 kB / 0.6499 GB, free: 53.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0457/1.255, allocations: 12.08 MB / 0.6617 GB, free: 53.01 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0266/1.282, allocations: 10.93 MB / 0.6724 GB, free: 51.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005412/1.283, allocations: 277.2 kB / 0.6727 GB, free: 51.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004972/1.288, allocations: 0.5069 MB / 0.6732 GB, free: 51.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02472/1.312, allocations: 11.42 MB / 0.6843 GB, free: 51.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03754/1.35, allocations: 17.18 MB / 0.7011 GB, free: 47.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007599/1.351, allocations: 109 kB / 0.7012 GB, free: 47.53 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003853/1.355, allocations: 46.44 kB / 0.7012 GB, free: 47.53 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002719/1.357, allocations: 1.819 MB / 0.703 GB, free: 47.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09865/1.456, allocations: 78.65 MB / 0.7798 GB, free: 14.9 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007466/1.464, allocations: 5.846 MB / 0.7855 GB, free: 9.461 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005491/1.469, allocations: 3.996 MB / 0.7894 GB, free: 5.797 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008487/1.47, allocations: 0.6643 MB / 0.7901 GB, free: 5.074 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.271e-05/1.47, allocations: 65.19 kB / 0.7901 GB, free: 5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=311): time 6.312e-06/1.47, allocations: 0 / 0.7901 GB, free: 5 MB / 458.7 MB Notification: Performance of matching and sorting (n=338): time 0.3381/1.808, allocations: 33.81 MB / 0.8232 GB, free: 77.45 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.452e-05/1.808, allocations: 297.4 kB / 0.8234 GB, free: 77.14 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008816/1.817, allocations: 5.514 MB / 0.8288 GB, free: 76.64 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000872/1.818, allocations: 33.33 kB / 0.8289 GB, free: 76.61 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003834/1.822, allocations: 5.956 MB / 0.8347 GB, free: 73.77 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001727/1.824, allocations: 1.247 MB / 0.8359 GB, free: 73.04 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006217/1.824, allocations: 4.484 kB / 0.8359 GB, free: 73.04 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000473/1.825, allocations: 0.7238 MB / 0.8366 GB, free: 72.71 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004285/1.829, allocations: 3.336 MB / 0.8399 GB, free: 72.69 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007033/1.836, allocations: 9.237 MB / 0.8489 GB, free: 65.05 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007339/1.843, allocations: 5.471 MB / 0.8542 GB, free: 65 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001398/1.844, allocations: 60.22 kB / 0.8543 GB, free: 65 MB / 458.7 MB Notification: Performance of matching and sorting (n=1310) (initialization): time 0.02219/1.866, allocations: 12.13 MB / 0.8661 GB, free: 64.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004091/1.866, allocations: 96.59 kB / 0.8662 GB, free: 64.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004762/1.867, allocations: 212.2 kB / 0.8664 GB, free: 64.33 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002848/1.87, allocations: 1.049 MB / 0.8674 GB, free: 64.29 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00892/1.879, allocations: 2.346 MB / 0.8697 GB, free: 64.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01074/1.889, allocations: 10.84 MB / 0.8803 GB, free: 56.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00901/1.898, allocations: 354.2 kB / 0.8807 GB, free: 56.61 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002447/1.901, allocations: 0.5917 MB / 0.8812 GB, free: 56.53 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 960 * Number of states: 0 () * Number of discrete variables: 63 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1230): * Single equations (assignments): 1223 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003737/1.905, allocations: 0.6338 MB / 0.8819 GB, free: 56.02 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002031/1.907, allocations: 0.5991 MB / 0.8824 GB, free: 55.69 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/1.918, allocations: 5.688 MB / 0.888 GB, free: 53.58 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-05/1.918, allocations: 37.06 kB / 0.888 GB, free: 53.58 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.633e-05/1.918, allocations: 7.781 kB / 0.888 GB, free: 53.58 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.323e-05/1.918, allocations: 22.45 kB / 0.8881 GB, free: 53.58 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03117/1.949, allocations: 13.37 MB / 0.9011 GB, free: 48.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.636e-05/1.95, allocations: 8.344 kB / 0.9011 GB, free: 48.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003005/1.953, allocations: 0.5658 MB / 0.9017 GB, free: 48.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001809/1.954, allocations: 0.6908 MB / 0.9024 GB, free: 48.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004147/1.955, allocations: 15.47 kB / 0.9024 GB, free: 48.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008898/1.964, allocations: 9.703 MB / 0.9119 GB, free: 41.43 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/1.964, allocations: 0 / 0.9119 GB, free: 41.43 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01509/1.979, allocations: 9.763 MB / 0.9214 GB, free: 32.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003009/1.982, allocations: 1.084 MB / 0.9224 GB, free: 31.68 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001841/1.984, allocations: 4 kB / 0.9224 GB, free: 31.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003649/1.987, allocations: 146.7 kB / 0.9226 GB, free: 31.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004926/1.988, allocations: 191.5 kB / 0.9228 GB, free: 31.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002637/1.988, allocations: 92.72 kB / 0.9229 GB, free: 31.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007655/1.996, allocations: 3.759 MB / 0.9265 GB, free: 28.14 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.42e-07/1.996, allocations: 0 / 0.9265 GB, free: 28.14 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01184/2.008, allocations: 1.617 MB / 0.9281 GB, free: 26.53 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 272 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(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.0009375/2.009, allocations: 160 kB / 0.9283 GB, free: 26.38 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01295/2.022, allocations: 8.469 MB / 0.9365 GB, free: 18.73 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/2.022, allocations: 10.84 kB / 0.9365 GB, free: 18.72 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004136/2.026, allocations: 3.105 MB / 0.9396 GB, free: 15.88 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0052/2.031, allocations: 0.7493 MB / 0.9403 GB, free: 15.27 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03324/2.064, allocations: 14.78 MB / 0.9547 GB, free: 2.129 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3395/2.404, allocations: 6.638 MB / 0.9612 GB, free: 79.99 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009927/2.414, allocations: 3.099 MB / 0.9642 GB, free: 79.93 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00191/2.416, allocations: 423.1 kB / 0.9647 GB, free: 79.93 MB / 474.7 MB Notification: Performance of SimCode: time 9.82e-07/2.416, allocations: 4.281 kB / 0.9647 GB, free: 79.93 MB / 474.7 MB Notification: Performance of Templates: time 0.1178/2.534, allocations: 58.53 MB / 1.022 GB, free: 77.32 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1)