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") [: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.004839/0.004839, allocations: 177.9 kB / 7.448 MB, free: 2.523 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.347/1.347, allocations: 170.6 MB / 178.4 MB, free: 15.43 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.001665/0.001665, allocations: 111.9 kB / 217.7 MB, free: 8.203 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.1577/0.1577, allocations: 37.98 MB / 294.8 MB, free: 9.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.116e-06/8.235e-06, allocations: 1.594 kB / 349.5 MB, free: 37.12 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09272/0.09274, allocations: 48.71 MB / 398.2 MB, free: 5.684 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.323/0.4158, allocations: 92.01 MB / 490.2 MB, free: 13.72 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002066/0.4161, allocations: 72.06 kB / 490.3 MB, free: 13.72 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.6309/1.047, allocations: 164.3 MB / 0.6393 GB, free: 62.21 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0009802/1.048, allocations: 171 kB / 0.6394 GB, free: 62.21 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.03263/1.081, allocations: 8.173 MB / 0.6474 GB, free: 59.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/1.081, allocations: 10.34 kB / 0.6474 GB, free: 59.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04777/1.129, allocations: 11.65 MB / 0.6588 GB, free: 58.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02914/1.158, allocations: 11.05 MB / 0.6696 GB, free: 57.39 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006186/1.158, allocations: 277 kB / 0.6699 GB, free: 57.39 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004691/1.163, allocations: 0.4982 MB / 0.6703 GB, free: 57.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02251/1.186, allocations: 11.86 MB / 0.6819 GB, free: 57.33 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04113/1.227, allocations: 17.59 MB / 0.6991 GB, free: 52.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001188/1.228, allocations: 113.1 kB / 0.6992 GB, free: 52.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005657/1.234, allocations: 49.12 kB / 0.6993 GB, free: 52.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004887/1.239, allocations: 1.953 MB / 0.7012 GB, free: 51.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2984/1.537, allocations: 80.87 MB / 0.7801 GB, free: 62.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008411/1.546, allocations: 6.396 MB / 0.7864 GB, free: 62.19 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005555/1.551, allocations: 4.537 MB / 0.7908 GB, free: 62.14 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02526/1.577, allocations: 13.99 MB / 0.8045 GB, free: 58.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.52e-05/1.577, allocations: 73.88 kB / 0.8046 GB, free: 58.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=300): time 7.083e-06/1.577, allocations: 2.531 kB / 0.8046 GB, free: 58.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=327): time 0.0719/1.649, allocations: 30.88 MB / 0.8347 GB, free: 53.07 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/1.649, allocations: 290.2 kB / 0.835 GB, free: 52.76 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01374/1.662, allocations: 5.63 MB / 0.8405 GB, free: 52.26 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008766/1.663, allocations: 29.45 kB / 0.8405 GB, free: 52.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003911/1.667, allocations: 5.333 MB / 0.8457 GB, free: 49.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00203/1.669, allocations: 1.201 MB / 0.8469 GB, free: 48.3 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001777/1.671, allocations: 1.859 kB / 0.8469 GB, free: 48.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001113/1.672, allocations: 0.7286 MB / 0.8476 GB, free: 47.81 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006007/1.678, allocations: 3.439 MB / 0.851 GB, free: 46.62 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009205/1.688, allocations: 9.34 MB / 0.8601 GB, free: 37.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/1.698, allocations: 5.643 MB / 0.8656 GB, free: 35.81 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003223/1.699, allocations: 58.94 kB / 0.8657 GB, free: 35.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=1304) (initialization): time 0.02874/1.727, allocations: 12.26 MB / 0.8776 GB, free: 32.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/1.727, allocations: 10.42 kB / 0.8776 GB, free: 32.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005559/1.728, allocations: 213.4 kB / 0.8778 GB, free: 32.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002989/1.731, allocations: 1.061 MB / 0.8789 GB, free: 32.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008661/1.74, allocations: 2.296 MB / 0.8811 GB, free: 32.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/1.751, allocations: 10.63 MB / 0.8915 GB, free: 24.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008942/1.76, allocations: 318.4 kB / 0.8918 GB, free: 24.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002274/1.762, allocations: 0.5925 MB / 0.8924 GB, free: 24.08 MB / 442.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 (1224): * Single equations (assignments): 1217 * 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.003169/1.765, allocations: 0.627 MB / 0.893 GB, free: 23.45 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001659/1.767, allocations: 0.6017 MB / 0.8936 GB, free: 22.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/1.778, allocations: 5.714 MB / 0.8992 GB, free: 18.11 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.179e-05/1.778, allocations: 31.39 kB / 0.8992 GB, free: 18.08 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.627e-05/1.778, allocations: 12 kB / 0.8992 GB, free: 18.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.852e-05/1.778, allocations: 17.91 kB / 0.8992 GB, free: 18.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02946/1.807, allocations: 13.19 MB / 0.9121 GB, free: 7.383 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-05/1.807, allocations: 0 / 0.9121 GB, free: 7.383 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003342/1.811, allocations: 0.5203 MB / 0.9126 GB, free: 6.957 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002242/1.813, allocations: 0.6983 MB / 0.9133 GB, free: 6.414 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007016/1.814, allocations: 14.81 kB / 0.9133 GB, free: 6.402 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01018/1.824, allocations: 9.507 MB / 0.9226 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/1.824, allocations: 0 / 0.9226 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01795/1.842, allocations: 9.86 MB / 0.9322 GB, free: 4.434 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004011/1.846, allocations: 1.065 MB / 0.9333 GB, free: 3.434 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002105/1.848, allocations: 4 kB / 0.9333 GB, free: 3.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003964/1.852, allocations: 115.2 kB / 0.9334 GB, free: 3.363 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007022/1.853, allocations: 146.2 kB / 0.9335 GB, free: 3.281 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004459/1.853, allocations: 91.25 kB / 0.9336 GB, free: 3.199 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.01062/1.864, allocations: 3.904 MB / 0.9374 GB, free: 0 / 458.7 MB Notification: Performance of remove unused functions: time 0.1722/2.036, allocations: 1.649 MB / 0.939 GB, free: 109.1 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 263 * 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.0006695/2.037, allocations: 154.8 kB / 0.9392 GB, free: 109 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01193/2.049, allocations: 8.549 MB / 0.9475 GB, free: 108.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/2.049, allocations: 2.625 kB / 0.9475 GB, free: 108.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004015/2.053, allocations: 3.057 MB / 0.9505 GB, free: 108.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004188/2.057, allocations: 0.7113 MB / 0.9512 GB, free: 108.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03114/2.088, allocations: 14.96 MB / 0.9658 GB, free: 105.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01057/2.099, allocations: 6.589 MB / 0.9722 GB, free: 104.4 MB / 458.7 MB Notification: Performance of SimCode: time 1.282e-06/2.099, allocations: 0 / 0.9722 GB, free: 104.4 MB / 458.7 MB Notification: Performance of Templates: time 0.1466/2.246, allocations: 67.45 MB / 1.038 GB, free: 94.04 MB / 458.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)