Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force") [: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.2+maint.om/package.mo): time 0.004901/0.004901, allocations: 187.2 kB / 7.46 MB, free: 2.242 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.223/1.223, allocations: 194.2 MB / 202.1 MB, free: 8.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001694/0.001694, allocations: 121.7 kB / 247.1 MB, free: 6.367 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1634/0.1634, allocations: 39.94 MB / 331.9 MB, free: 4.945 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.981e-06/6.021e-06, allocations: 0 / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08484/0.08487, allocations: 54.87 MB / 447.6 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3004/0.3853, allocations: 100.7 MB / 0.5355 GB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/0.3856, allocations: 78.45 kB / 0.5355 GB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.3325/0.7181, allocations: 124.5 MB / 0.6571 GB, free: 11.01 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004488/0.7186, allocations: 124 kB / 0.6572 GB, free: 10.89 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2320 * Number of variables: 2320 Notification: Performance of Generate backend data structure: time 0.01998/0.7386, allocations: 6.508 MB / 0.6636 GB, free: 4.301 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.7387, allocations: 16.03 kB / 0.6636 GB, free: 4.285 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1894/0.928, allocations: 6.729 MB / 0.6702 GB, free: 141.1 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01868/0.9468, allocations: 7.446 MB / 0.6774 GB, free: 140.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003712/0.9472, allocations: 214 kB / 0.6776 GB, free: 140.7 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003033/0.9502, allocations: 394.8 kB / 0.678 GB, free: 140.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01994/0.9702, allocations: 9.437 MB / 0.6872 GB, free: 140.6 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02832/0.9985, allocations: 14.36 MB / 0.7013 GB, free: 136.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002977/0.9989, allocations: 92.5 kB / 0.7013 GB, free: 136.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001307/1, allocations: 42.53 kB / 0.7014 GB, free: 136.8 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001704/1.002, allocations: 1.645 MB / 0.703 GB, free: 136.8 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06939/1.071, allocations: 70.41 MB / 0.7717 GB, free: 91.32 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00664/1.078, allocations: 5.687 MB / 0.7773 GB, free: 88.74 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003939/1.082, allocations: 3.956 MB / 0.7812 GB, free: 87.12 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01535/1.097, allocations: 10.57 MB / 0.7915 GB, free: 78.88 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/1.097, allocations: 66.97 kB / 0.7916 GB, free: 78.8 MB / 474.7 MB Notification: Performance of pre-optimization done (n=258): time 6.713e-06/1.097, allocations: 0 / 0.7916 GB, free: 78.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=300): time 0.05191/1.149, allocations: 26.3 MB / 0.8172 GB, free: 56.21 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.212e-05/1.15, allocations: 235.9 kB / 0.8175 GB, free: 55.93 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006284/1.156, allocations: 4.774 MB / 0.8221 GB, free: 51.75 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006814/1.157, allocations: 29.42 kB / 0.8222 GB, free: 51.72 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001729/1.158, allocations: 4.376 MB / 0.8264 GB, free: 47.79 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001109/1.159, allocations: 1.11 MB / 0.8275 GB, free: 46.79 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003536/1.16, allocations: 0 / 0.8275 GB, free: 46.79 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003558/1.16, allocations: 0.6889 MB / 0.8282 GB, free: 46.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003931/1.164, allocations: 3.458 MB / 0.8316 GB, free: 43.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005763/1.17, allocations: 8.718 MB / 0.8401 GB, free: 32.38 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007563/1.177, allocations: 5.464 MB / 0.8454 GB, free: 27.69 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.606e-05/1.178, allocations: 56 kB / 0.8455 GB, free: 27.63 MB / 474.7 MB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.02179/1.199, allocations: 12.31 MB / 0.8575 GB, free: 17 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/1.199, allocations: 8 kB / 0.8575 GB, free: 17 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003522/1.2, allocations: 184 kB / 0.8577 GB, free: 16.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004082/1.204, allocations: 1.606 MB / 0.8592 GB, free: 15.56 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00794/1.212, allocations: 2.116 MB / 0.8613 GB, free: 13.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01213/1.224, allocations: 10.14 MB / 0.8712 GB, free: 4.551 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008804/1.233, allocations: 307.6 kB / 0.8715 GB, free: 4.293 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002432/1.235, allocations: 0.5408 MB / 0.872 GB, free: 3.77 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 854 * Number of states: 0 () * Number of discrete variables: 60 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1114): * Single equations (assignments): 1109 * 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 {(4,75.0%) 20,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002992/1.238, allocations: 0.569 MB / 0.8726 GB, free: 3.195 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001462/1.24, allocations: 0.4981 MB / 0.8731 GB, free: 2.695 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1625/1.402, allocations: 6.365 MB / 0.8793 GB, free: 124.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.259e-05/1.402, allocations: 25.72 kB / 0.8793 GB, free: 124.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.847e-05/1.402, allocations: 15.19 kB / 0.8793 GB, free: 124.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.102e-05/1.402, allocations: 15.19 kB / 0.8793 GB, free: 124.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0256/1.428, allocations: 13.23 MB / 0.8923 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-05/1.428, allocations: 0 / 0.8923 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00278/1.431, allocations: 499.7 kB / 0.8927 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00331/1.434, allocations: 1.301 MB / 0.894 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004075/1.435, allocations: 9.375 kB / 0.894 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0108/1.445, allocations: 9.49 MB / 0.9033 GB, free: 121 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/1.445, allocations: 7 kB / 0.9033 GB, free: 121 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01411/1.46, allocations: 10.74 MB / 0.9138 GB, free: 120.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00307/1.463, allocations: 1.014 MB / 0.9148 GB, free: 120.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001799/1.465, allocations: 6.344 kB / 0.9148 GB, free: 120.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003302/1.468, allocations: 105.8 kB / 0.9149 GB, free: 120.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005487/1.468, allocations: 132.3 kB / 0.915 GB, free: 120.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003844/1.469, allocations: 76.39 kB / 0.9151 GB, free: 120.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.006821/1.476, allocations: 3.233 MB / 0.9182 GB, free: 120 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008993/1.485, allocations: 1.379 MB / 0.9196 GB, free: 120 MB / 474.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,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (245): * Single equations (assignments): 240 * 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 {(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009171/1.486, allocations: 149.5 kB / 0.9197 GB, free: 120 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01248/1.498, allocations: 8.467 MB / 0.928 GB, free: 119.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/1.498, allocations: 0 / 0.928 GB, free: 119.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00502/1.503, allocations: 3.21 MB / 0.9311 GB, free: 118.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003755/1.507, allocations: 0.5119 MB / 0.9316 GB, free: 118.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03155/1.539, allocations: 12.84 MB / 0.9442 GB, free: 114.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01087/1.549, allocations: 5.32 MB / 0.9494 GB, free: 112.5 MB / 474.7 MB Notification: Performance of SimCode: time 9.22e-07/1.549, allocations: 0 / 0.9494 GB, free: 112.5 MB / 474.7 MB Notification: Performance of Templates: time 0.1071/1.657, allocations: 62 MB / 1.01 GB, free: 69.74 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1)