Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2.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.Parts.FreeBodies2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2") translateModel(ModelicaTest.MultiBody.Parts.FreeBodies2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2+maint.om/package.mo): time 0.003186/0.003186, allocations: 185.7 kB / 7.458 MB, free: 2.512 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.224/1.224, allocations: 194.2 MB / 202.1 MB, free: 8.668 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.001649/0.00165, allocations: 125 kB / 247.1 MB, free: 6.406 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.1628/0.1628, allocations: 39.94 MB / 331.9 MB, free: 4.973 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.582e-06/6.582e-06, allocations: 0 / 392.8 MB, free: 75.92 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1033, allocations: 54.87 MB / 447.6 MB, free: 21.03 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3122/0.4155, allocations: 98.54 MB / 0.5334 GB, free: 2.004 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.4158, allocations: 71.78 kB / 0.5335 GB, free: 1.969 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.3561/0.7719, allocations: 137.3 MB / 0.6675 GB, free: 344 kB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005793/0.7725, allocations: 156 kB / 0.6677 GB, free: 188 kB / 474.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.1889/0.9615, allocations: 8.273 MB / 0.6758 GB, free: 133.3 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.9615, allocations: 9.281 kB / 0.6758 GB, free: 133.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02957/0.9911, allocations: 7.192 MB / 0.6828 GB, free: 132.8 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02762/1.019, allocations: 10.99 MB / 0.6935 GB, free: 131.9 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000422/1.019, allocations: 244.4 kB / 0.6938 GB, free: 131.9 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003164/1.022, allocations: 451.6 kB / 0.6942 GB, free: 131.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01835/1.041, allocations: 10.46 MB / 0.7044 GB, free: 131.8 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03211/1.073, allocations: 15.53 MB / 0.7196 GB, free: 127.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005314/1.074, allocations: 109.2 kB / 0.7197 GB, free: 127.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002703/1.076, allocations: 45.06 kB / 0.7197 GB, free: 127.8 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002509/1.079, allocations: 1.718 MB / 0.7214 GB, free: 127.8 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08878/1.168, allocations: 79.81 MB / 0.7993 GB, free: 71.11 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005551/1.173, allocations: 4.626 MB / 0.8039 GB, free: 66.71 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004189/1.177, allocations: 3.672 MB / 0.8075 GB, free: 63.33 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01715/1.195, allocations: 10.9 MB / 0.8181 GB, free: 54.06 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/1.195, allocations: 63.44 kB / 0.8182 GB, free: 54 MB / 474.7 MB Notification: Performance of pre-optimization done (n=259): time 5.481e-06/1.195, allocations: 0 / 0.8182 GB, free: 54 MB / 474.7 MB Notification: Performance of matching and sorting (n=287): time 0.05281/1.247, allocations: 22.11 MB / 0.8397 GB, free: 35.14 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.977e-05/1.248, allocations: 243.5 kB / 0.84 GB, free: 34.86 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007591/1.255, allocations: 5.206 MB / 0.8451 GB, free: 30.27 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008295/1.256, allocations: 25.7 kB / 0.8451 GB, free: 30.24 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002269/1.258, allocations: 4.757 MB / 0.8497 GB, free: 25.97 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001558/1.26, allocations: 1.158 MB / 0.8509 GB, free: 24.94 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004083/1.26, allocations: 0 / 0.8509 GB, free: 24.94 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003977/1.261, allocations: 0.7317 MB / 0.8516 GB, free: 24.32 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004346/1.265, allocations: 3.806 MB / 0.8553 GB, free: 20.92 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007081/1.272, allocations: 9.686 MB / 0.8648 GB, free: 8.863 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008747/1.281, allocations: 6.147 MB / 0.8708 GB, free: 3.219 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001781/1.281, allocations: 60 kB / 0.8708 GB, free: 3.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=1295) (initialization): time 0.2401/1.521, allocations: 14.98 MB / 0.8854 GB, free: 116.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/1.521, allocations: 5.766 kB / 0.8854 GB, free: 116.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01907/1.54, allocations: 7.51 MB / 0.8928 GB, free: 116.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01634/1.557, allocations: 3.441 MB / 0.8961 GB, free: 116.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008423/1.565, allocations: 2.313 MB / 0.8984 GB, free: 116.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01325/1.579, allocations: 12.68 MB / 0.9108 GB, free: 108.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01019/1.589, allocations: 0.5154 MB / 0.9113 GB, free: 108.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001997/1.591, allocations: 0.614 MB / 0.9119 GB, free: 108.6 MB / 474.7 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 (1219): * Single equations (assignments): 1194 * Array equations: 11 * 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%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,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 prepare postOptimizeDAE: time 0.001513/1.592, allocations: 0.6305 MB / 0.9125 GB, free: 108.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009307/1.593, allocations: 0.5557 MB / 0.913 GB, free: 108.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01465/1.608, allocations: 7.517 MB / 0.9204 GB, free: 108.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01243/1.62, allocations: 6.698 MB / 0.9269 GB, free: 107.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.61e-05/1.62, allocations: 9.5 kB / 0.9269 GB, free: 107.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.736e-05/1.621, allocations: 16.23 kB / 0.9269 GB, free: 107.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01284/1.633, allocations: 6.161 MB / 0.933 GB, free: 107.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.199e-05/1.633, allocations: 0 / 0.933 GB, free: 107.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003721/1.637, allocations: 0.5731 MB / 0.9335 GB, free: 107.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009342/1.647, allocations: 2.955 MB / 0.9364 GB, free: 107.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007614/1.647, allocations: 63.72 kB / 0.9365 GB, free: 107.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01241/1.66, allocations: 13.4 MB / 0.9496 GB, free: 100.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002813/1.663, allocations: 5.652 MB / 0.9551 GB, free: 94.95 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02057/1.683, allocations: 11.76 MB / 0.9666 GB, free: 93.08 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002628/1.686, allocations: 0.6012 MB / 0.9671 GB, free: 92.64 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00196/1.688, allocations: 37.38 kB / 0.9672 GB, free: 92.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003871/1.692, allocations: 212.3 kB / 0.9674 GB, free: 92.64 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004876/1.692, allocations: 152.3 kB / 0.9675 GB, free: 92.61 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002814/1.693, allocations: 93.5 kB / 0.9676 GB, free: 92.59 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.005443/1.698, allocations: 3.517 MB / 0.9711 GB, free: 91.33 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008632/1.707, allocations: 1.875 MB / 0.9729 GB, free: 90.35 MB / 474.7 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.0006357/1.707, allocations: 212.5 kB / 0.9731 GB, free: 90.18 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01699/1.724, allocations: 10.93 MB / 0.9838 GB, free: 80.26 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.724, allocations: 0 / 0.9838 GB, free: 80.26 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008545/1.733, allocations: 5.049 MB / 0.9887 GB, free: 75.63 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004247/1.737, allocations: 0.6787 MB / 0.9894 GB, free: 75.07 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02883/1.766, allocations: 16.41 MB / 1.005 GB, free: 60.96 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007178/1.773, allocations: 5.837 MB / 1.011 GB, free: 56.61 MB / 474.7 MB Notification: Performance of SimCode: time 1.152e-06/1.773, allocations: 0 / 1.011 GB, free: 56.61 MB / 474.7 MB Notification: Performance of Templates: time 0.2978/2.071, allocations: 76.18 MB / 1.085 GB, free: 106.1 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe 2>&1)