Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2.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.Parts.FreeBodies2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2") translateModel(ModelicaTest.MultiBody.Parts.FreeBodies2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2") [: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.004813/0.004813, allocations: 178.7 kB / 7.454 MB, free: 2.512 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.144/1.144, allocations: 170.6 MB / 178.4 MB, free: 15.73 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.00204/0.00204, allocations: 107.9 kB / 217.7 MB, free: 8.512 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.1607/0.1607, allocations: 37.98 MB / 294.8 MB, free: 9.652 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.162e-06/6.192e-06, allocations: 1.156 kB / 349.5 MB, free: 37.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1121, allocations: 48.71 MB / 398.2 MB, free: 5.691 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3919/0.504, allocations: 91.84 MB / 490 MB, free: 13.68 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003251/0.5044, allocations: 75.33 kB / 490.1 MB, free: 13.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.3855/0.89, allocations: 137.1 MB / 0.6126 GB, free: 3.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001245/0.8913, allocations: 159.7 kB / 0.6127 GB, free: 3.598 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: 2525 * Number of variables: 2525 Notification: Performance of Generate backend data structure: time 0.4245/1.316, allocations: 8.273 MB / 0.6208 GB, free: 97.88 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/1.316, allocations: 9.625 kB / 0.6208 GB, free: 97.88 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0331/1.349, allocations: 7.13 MB / 0.6278 GB, free: 97.38 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03399/1.383, allocations: 10.97 MB / 0.6385 GB, free: 96.91 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006173/1.384, allocations: 243.2 kB / 0.6387 GB, free: 96.91 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004294/1.388, allocations: 451.2 kB / 0.6391 GB, free: 96.91 MB / 426.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02437/1.412, allocations: 10.46 MB / 0.6494 GB, free: 96.87 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04268/1.455, allocations: 15.52 MB / 0.6645 GB, free: 92.79 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004701/1.456, allocations: 103 kB / 0.6646 GB, free: 92.79 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001794/1.457, allocations: 49.5 kB / 0.6647 GB, free: 92.78 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002411/1.46, allocations: 1.717 MB / 0.6663 GB, free: 92.77 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1042/1.564, allocations: 79.79 MB / 0.7443 GB, free: 39.5 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006343/1.571, allocations: 4.632 MB / 0.7488 GB, free: 37.16 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004735/1.575, allocations: 3.675 MB / 0.7524 GB, free: 35.53 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2561/1.831, allocations: 10.87 MB / 0.763 GB, free: 98.14 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.787e-05/1.832, allocations: 64.41 kB / 0.7631 GB, free: 98.1 MB / 426.8 MB Notification: Performance of pre-optimization done (n=259): time 7.263e-06/1.832, allocations: 3.688 kB / 0.7631 GB, free: 98.1 MB / 426.8 MB Notification: Performance of matching and sorting (n=287): time 0.06218/1.894, allocations: 22.1 MB / 0.7846 GB, free: 94.3 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/1.894, allocations: 236 kB / 0.7849 GB, free: 94.05 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01188/1.906, allocations: 5.217 MB / 0.79 GB, free: 93.54 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009541/1.907, allocations: 25.7 kB / 0.79 GB, free: 93.51 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003319/1.91, allocations: 4.757 MB / 0.7946 GB, free: 90.47 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00252/1.913, allocations: 1.154 MB / 0.7958 GB, free: 89.8 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009841/1.914, allocations: 0 / 0.7958 GB, free: 89.8 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0005192/1.914, allocations: 0.7289 MB / 0.7965 GB, free: 89.48 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005938/1.92, allocations: 3.781 MB / 0.8002 GB, free: 89.46 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008745/1.929, allocations: 9.649 MB / 0.8096 GB, free: 81.85 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009724/1.939, allocations: 6.128 MB / 0.8156 GB, free: 81.79 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002051/1.939, allocations: 63.72 kB / 0.8156 GB, free: 81.79 MB / 426.8 MB Notification: Performance of matching and sorting (n=1295) (initialization): time 0.03264/1.972, allocations: 14.25 MB / 0.8295 GB, free: 80.97 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/1.972, allocations: 7.531 kB / 0.8296 GB, free: 80.97 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01618/1.988, allocations: 6.844 MB / 0.8362 GB, free: 79.2 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01026/1.998, allocations: 2.693 MB / 0.8389 GB, free: 78.67 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009681/2.008, allocations: 2.363 MB / 0.8412 GB, free: 78.39 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009997/2.018, allocations: 10.72 MB / 0.8517 GB, free: 69.98 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01251/2.03, allocations: 0.5159 MB / 0.8522 GB, free: 69.94 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003204/2.034, allocations: 0.607 MB / 0.8527 GB, free: 69.86 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 957 * Number of states: 0 () * Number of discrete variables: 75 (spring6.color[3],spring6.color[2],spring6.color[1],spring6.massColor[3],spring6.massColor[2],spring6.massColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],spring5.color[3],spring5.color[2],spring5.color[1],spring5.massColor[3],spring5.massColor[2],spring5.massColor[1],spring4.color[3],spring4.color[2],spring4.color[1],spring4.massColor[3],spring4.massColor[2],spring4.massColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (1228): * Single equations (assignments): 1203 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 11 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.004534/2.038, allocations: 0.641 MB / 0.8534 GB, free: 69.34 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002179/2.04, allocations: 0.5541 MB / 0.8539 GB, free: 69.04 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01697/2.057, allocations: 7.517 MB / 0.8613 GB, free: 65.08 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0153/2.073, allocations: 6.694 MB / 0.8678 GB, free: 59.72 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.434e-05/2.073, allocations: 8 kB / 0.8678 GB, free: 59.71 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001091/2.073, allocations: 13.59 kB / 0.8678 GB, free: 59.71 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01745/2.09, allocations: 6.165 MB / 0.8738 GB, free: 55.07 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.786e-05/2.091, allocations: 4 kB / 0.8738 GB, free: 55.07 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003837/2.094, allocations: 0.5702 MB / 0.8744 GB, free: 54.62 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01035/2.105, allocations: 2.959 MB / 0.8773 GB, free: 52.53 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001299/2.106, allocations: 63.02 kB / 0.8773 GB, free: 52.49 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01393/2.12, allocations: 13.4 MB / 0.8904 GB, free: 39.99 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003499/2.124, allocations: 5.638 MB / 0.8959 GB, free: 34.03 MB / 426.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02369/2.147, allocations: 11.76 MB / 0.9074 GB, free: 23.91 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004265/2.152, allocations: 1.096 MB / 0.9085 GB, free: 22.89 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002481/2.154, allocations: 38.83 kB / 0.9085 GB, free: 22.87 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005417/2.16, allocations: 216.4 kB / 0.9087 GB, free: 22.73 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009972/2.161, allocations: 151 kB / 0.9089 GB, free: 22.66 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006211/2.161, allocations: 90.77 kB / 0.909 GB, free: 22.58 MB / 426.8 MB Notification: Performance of sort global known variables: time 0.2466/2.408, allocations: 3.667 MB / 0.9125 GB, free: 83.31 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.01204/2.42, allocations: 1.857 MB / 0.9144 GB, free: 83.31 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyShape.r_0[1],bodyShape.r_0[2],bodyShape.r_0[3],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],body.r_0[1],body.r_0[2],body.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],bodyBox.r_0[1],bodyBox.r_0[2],bodyBox.r_0[3],bodyBox.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.r_0[1],bodyCylinder.r_0[2],bodyCylinder.r_0[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.body.w_a[3],pointMass.r_0[1],pointMass.r_0[2],pointMass.r_0[3],pointMass.v_0[1],pointMass.v_0[2],pointMass.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (233): * Single equations (assignments): 216 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009349/2.421, allocations: 202.2 kB / 0.9146 GB, free: 83.22 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.02019/2.441, allocations: 10.5 MB / 0.9248 GB, free: 82.09 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/2.441, allocations: 0 / 0.9248 GB, free: 82.09 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01013/2.451, allocations: 5.054 MB / 0.9297 GB, free: 80.62 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006323/2.458, allocations: 0.6746 MB / 0.9304 GB, free: 80.6 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04097/2.499, allocations: 16.4 MB / 0.9464 GB, free: 76.7 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01363/2.513, allocations: 5.844 MB / 0.9521 GB, free: 75.79 MB / 426.8 MB Notification: Performance of SimCode: time 1.152e-06/2.513, allocations: 3.656 kB / 0.9521 GB, free: 75.79 MB / 426.8 MB Notification: Performance of Templates: time 0.1403/2.653, allocations: 72.78 MB / 1.023 GB, free: 53.71 MB / 426.8 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe 2>&1)