Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005694/0.005694, allocations: 175.6 kB / 7.451 MB, free: 2.504 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.294/1.294, allocations: 170.6 MB / 178.4 MB, free: 15.45 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.001664/0.001665, allocations: 111.8 kB / 217.7 MB, free: 8.215 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.1646/0.1646, allocations: 37.97 MB / 294.8 MB, free: 9.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.187e-06/9.217e-06, allocations: 1.219 kB / 349.5 MB, free: 37.08 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1016, allocations: 48.71 MB / 398.2 MB, free: 5.68 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2884/0.39, allocations: 93.21 MB / 491.4 MB, free: 13.58 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.3903, allocations: 72.95 kB / 491.5 MB, free: 13.58 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.3085/0.6988, allocations: 110.7 MB / 0.588 GB, free: 12.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004567/0.6993, allocations: 108 kB / 0.5881 GB, free: 12.52 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1954 * Number of variables: 1954 Notification: Performance of Generate backend data structure: time 0.02133/0.7207, allocations: 5.404 MB / 0.5934 GB, free: 7.055 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.7207, allocations: 12.03 kB / 0.5934 GB, free: 7.043 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02916/0.7499, allocations: 6.582 MB / 0.5999 GB, free: 452 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02033/0.7703, allocations: 6.92 MB / 0.6066 GB, free: 9.527 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003848/0.7707, allocations: 176 kB / 0.6068 GB, free: 9.355 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003152/0.7739, allocations: 323.9 kB / 0.6071 GB, free: 9.039 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01786/0.7917, allocations: 7.694 MB / 0.6146 GB, free: 1.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1962/0.988, allocations: 11.96 MB / 0.6263 GB, free: 111.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003564/0.9884, allocations: 76.31 kB / 0.6264 GB, free: 111.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001377/0.9898, allocations: 41.34 kB / 0.6264 GB, free: 111.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001712/0.9915, allocations: 1.339 MB / 0.6277 GB, free: 111.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06469/1.056, allocations: 58.66 MB / 0.685 GB, free: 76.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005227/1.062, allocations: 3.743 MB / 0.6886 GB, free: 76.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002574/1.064, allocations: 2.384 MB / 0.691 GB, free: 75.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01141/1.076, allocations: 6.972 MB / 0.6978 GB, free: 71.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/1.076, allocations: 56.84 kB / 0.6978 GB, free: 71.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=174): time 3.977e-06/1.076, allocations: 0 / 0.6978 GB, free: 71.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=188): time 0.03191/1.108, allocations: 16.9 MB / 0.7143 GB, free: 64.15 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/1.108, allocations: 227.8 kB / 0.7146 GB, free: 63.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007355/1.115, allocations: 4.224 MB / 0.7187 GB, free: 62.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004773/1.116, allocations: 25.7 kB / 0.7187 GB, free: 62.37 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002177/1.118, allocations: 3.845 MB / 0.7225 GB, free: 59.49 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001039/1.119, allocations: 0.7396 MB / 0.7232 GB, free: 58.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000317/1.119, allocations: 0 / 0.7232 GB, free: 58.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003468/1.12, allocations: 0.6123 MB / 0.7238 GB, free: 58.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003205/1.123, allocations: 2.249 MB / 0.726 GB, free: 57.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005089/1.128, allocations: 6.902 MB / 0.7327 GB, free: 50.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007448/1.135, allocations: 3.948 MB / 0.7366 GB, free: 49.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003331/1.136, allocations: 46.25 kB / 0.7366 GB, free: 49.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=972) (initialization): time 0.01856/1.154, allocations: 8.429 MB / 0.7449 GB, free: 46.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/1.154, allocations: 3.875 kB / 0.7449 GB, free: 46.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002474/1.155, allocations: 173.1 kB / 0.745 GB, free: 46.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001437/1.156, allocations: 0.6167 MB / 0.7456 GB, free: 46.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006429/1.162, allocations: 1.693 MB / 0.7473 GB, free: 46.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006323/1.169, allocations: 5.461 MB / 0.7526 GB, free: 41.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007603/1.177, allocations: 222.7 kB / 0.7528 GB, free: 40.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001976/1.179, allocations: 467.6 kB / 0.7533 GB, free: 40.51 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 764 * Number of states: 0 () * Number of discrete variables: 42 (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],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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 (920): * Single equations (assignments): 915 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001639/1.18, allocations: 0.5008 MB / 0.7538 GB, free: 40 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001063/1.181, allocations: 425.7 kB / 0.7542 GB, free: 39.58 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00491/1.186, allocations: 2.885 MB / 0.757 GB, free: 37.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-05/1.186, allocations: 23.91 kB / 0.757 GB, free: 37.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/1.186, allocations: 4 kB / 0.757 GB, free: 37.15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/1.186, allocations: 6.984 kB / 0.757 GB, free: 37.15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01501/1.201, allocations: 7.215 MB / 0.7641 GB, free: 31.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/1.201, allocations: 4 kB / 0.7641 GB, free: 31.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/1.203, allocations: 265.2 kB / 0.7643 GB, free: 31.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001032/1.204, allocations: 360.7 kB / 0.7647 GB, free: 30.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001577/1.204, allocations: 4 kB / 0.7647 GB, free: 30.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004471/1.209, allocations: 4.767 MB / 0.7693 GB, free: 26.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.209, allocations: 0 / 0.7693 GB, free: 26.18 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00713/1.216, allocations: 5.61 MB / 0.7748 GB, free: 21.13 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002011/1.218, allocations: 0.7006 MB / 0.7755 GB, free: 20.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007921/1.219, allocations: 4 kB / 0.7755 GB, free: 20.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001692/1.22, allocations: 47.36 kB / 0.7755 GB, free: 20.42 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/1.221, allocations: 83.7 kB / 0.7756 GB, free: 20.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001386/1.221, allocations: 51.61 kB / 0.7757 GB, free: 20.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.005333/1.226, allocations: 2.86 MB / 0.7785 GB, free: 17.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008655/1.235, allocations: 1.045 MB / 0.7795 GB, free: 16.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (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 (147): * Single equations (assignments): 142 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.0006271/1.235, allocations: 127.6 kB / 0.7796 GB, free: 16.67 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009432/1.245, allocations: 5.477 MB / 0.7849 GB, free: 11.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/1.245, allocations: 384 / 0.7849 GB, free: 11.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002107/1.247, allocations: 1.63 MB / 0.7865 GB, free: 10.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003114/1.25, allocations: 470.6 kB / 0.787 GB, free: 9.789 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02324/1.273, allocations: 9.553 MB / 0.7963 GB, free: 1.211 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1768/1.45, allocations: 4.58 MB / 0.8008 GB, free: 101.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.433e-06/1.45, allocations: 0 / 0.8008 GB, free: 101.9 MB / 426.7 MB Notification: Performance of Templates: time 0.08461/1.535, allocations: 42.08 MB / 0.8419 GB, free: 100 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1)