Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2.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.Force2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2") translateModel(ModelicaTest.MultiBody.Forces.Force2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2") [: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.002199/0.0022, allocations: 181.3 kB / 7.458 MB, free: 2.508 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.203/1.203, allocations: 194.2 MB / 202.1 MB, free: 8.652 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.001746/0.001746, allocations: 115.7 kB / 247.1 MB, free: 6.352 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.1641/0.1641, allocations: 39.92 MB / 331.9 MB, free: 4.859 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.923e-06/6.933e-06, allocations: 0 / 392.8 MB, free: 75.85 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1004, allocations: 54.88 MB / 447.7 MB, free: 20.95 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3152/0.4157, allocations: 104.6 MB / 0.5393 GB, free: 11.85 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/0.4159, allocations: 73.91 kB / 0.5394 GB, free: 11.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.7504/1.166, allocations: 229.1 MB / 0.7632 GB, free: 73 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001368/1.168, allocations: 247.6 kB / 0.7634 GB, free: 73 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: 4386 * Number of variables: 4386 Notification: Performance of Generate backend data structure: time 0.04184/1.21, allocations: 12.18 MB / 0.7753 GB, free: 65.35 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/1.21, allocations: 7.844 kB / 0.7753 GB, free: 65.35 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05067/1.26, allocations: 12.36 MB / 0.7874 GB, free: 53.2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03439/1.295, allocations: 13.35 MB / 0.8004 GB, free: 39.9 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007498/1.296, allocations: 412 kB / 0.8008 GB, free: 39.5 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005763/1.301, allocations: 0.738 MB / 0.8015 GB, free: 38.76 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03495/1.336, allocations: 18 MB / 0.8191 GB, free: 20.77 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05912/1.395, allocations: 26.32 MB / 0.8448 GB, free: 8.254 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007701/1.396, allocations: 146.6 kB / 0.8449 GB, free: 8.109 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005433/1.402, allocations: 64 kB / 0.845 GB, free: 8.047 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004798/1.407, allocations: 3.04 MB / 0.848 GB, free: 5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3255/1.732, allocations: 123.4 MB / 0.9685 GB, free: 55.94 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01364/1.746, allocations: 11.62 MB / 0.9798 GB, free: 50.73 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01089/1.757, allocations: 8.326 MB / 0.9879 GB, free: 47.33 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0397/1.797, allocations: 22.71 MB / 1.01 GB, free: 36.58 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.401e-05/1.797, allocations: 91.41 kB / 1.01 GB, free: 36.49 MB / 490.7 MB Notification: Performance of pre-optimization done (n=514): time 9.057e-06/1.797, allocations: 5.344 kB / 1.01 GB, free: 36.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=598): time 0.3088/2.105, allocations: 57.45 MB / 1.066 GB, free: 116.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/2.106, allocations: 375 kB / 1.067 GB, free: 115.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01685/2.122, allocations: 8.188 MB / 1.075 GB, free: 115.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001783/2.124, allocations: 27.64 kB / 1.075 GB, free: 115.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0053/2.13, allocations: 7.725 MB / 1.082 GB, free: 110.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003419/2.133, allocations: 2.153 MB / 1.084 GB, free: 109.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001054/2.134, allocations: 0 / 1.084 GB, free: 109.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006631/2.135, allocations: 0.9754 MB / 1.085 GB, free: 109 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009243/2.144, allocations: 6.566 MB / 1.092 GB, free: 109 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01503/2.159, allocations: 15.03 MB / 1.106 GB, free: 98.15 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01547/2.175, allocations: 9.87 MB / 1.116 GB, free: 98.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005989/2.175, allocations: 83.22 kB / 1.116 GB, free: 98.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=2037) (initialization): time 0.05264/2.228, allocations: 22.56 MB / 1.138 GB, free: 92.39 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/2.228, allocations: 6.656 kB / 1.138 GB, free: 92.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00101/2.229, allocations: 299.4 kB / 1.138 GB, free: 92.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009145/2.238, allocations: 3.116 MB / 1.141 GB, free: 91.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01624/2.254, allocations: 3.711 MB / 1.145 GB, free: 91.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02641/2.281, allocations: 20.36 MB / 1.165 GB, free: 80.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01591/2.297, allocations: 0.5221 MB / 1.165 GB, free: 80.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00448/2.301, allocations: 0.9055 MB / 1.166 GB, free: 80.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1365 * Number of states: 0 () * Number of discrete variables: 117 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],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 (1919): * Single equations (assignments): 1912 * 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 {(4,75.0%) 20,(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006602/2.308, allocations: 0.8669 MB / 1.167 GB, free: 79.42 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003628/2.312, allocations: 0.8936 MB / 1.168 GB, free: 78.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02481/2.336, allocations: 13.45 MB / 1.181 GB, free: 67.56 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001254/2.337, allocations: 63.91 kB / 1.181 GB, free: 67.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.376e-05/2.337, allocations: 18.41 kB / 1.181 GB, free: 67.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001284/2.337, allocations: 36.02 kB / 1.181 GB, free: 67.48 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05752/2.394, allocations: 27.35 MB / 1.208 GB, free: 45.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.654e-05/2.394, allocations: 4 kB / 1.208 GB, free: 45.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006616/2.401, allocations: 1.063 MB / 1.209 GB, free: 44.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007252/2.408, allocations: 2.607 MB / 1.212 GB, free: 42.61 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001523/2.41, allocations: 15.19 kB / 1.212 GB, free: 42.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.262/2.672, allocations: 19.19 MB / 1.23 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/2.672, allocations: 6.406 kB / 1.23 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03673/2.709, allocations: 21.71 MB / 1.252 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008155/2.717, allocations: 1.889 MB / 1.253 GB, free: 101.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004613/2.722, allocations: 7.625 kB / 1.253 GB, free: 101.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00965/2.731, allocations: 219.2 kB / 1.254 GB, free: 101.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002761/2.734, allocations: 277.9 kB / 1.254 GB, free: 101.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008069/2.735, allocations: 145.9 kB / 1.254 GB, free: 101.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.01487/2.75, allocations: 5.568 MB / 1.26 GB, free: 100.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.02084/2.771, allocations: 2.612 MB / 1.262 GB, free: 100.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (511): * Single equations (assignments): 504 * 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 {(4,75.0%) 17,(4,75.0%) 17,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002306/2.773, allocations: 182.3 kB / 1.262 GB, free: 100.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02888/2.802, allocations: 16.15 MB / 1.278 GB, free: 97.31 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/2.802, allocations: 0 / 1.278 GB, free: 97.31 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01213/2.814, allocations: 6.596 MB / 1.284 GB, free: 94.85 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008982/2.823, allocations: 0.9311 MB / 1.285 GB, free: 94.47 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06451/2.888, allocations: 24.87 MB / 1.31 GB, free: 82.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02315/2.911, allocations: 9.467 MB / 1.319 GB, free: 75.95 MB / 490.7 MB Notification: Performance of SimCode: time 2.234e-06/2.911, allocations: 0 / 1.319 GB, free: 75.95 MB / 490.7 MB Notification: Performance of Templates: time 0.4685/3.379, allocations: 119.7 MB / 1.436 GB, free: 96.75 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2.pipe 2>&1)