Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.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.FrameForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2") translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2") [: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.002872/0.002872, allocations: 182.9 kB / 7.456 MB, free: 2.504 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.202/1.202, 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.001715/0.001715, allocations: 127.6 kB / 247.1 MB, free: 6.336 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.2138/0.2138, allocations: 39.93 MB / 331.9 MB, free: 4.973 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.264e-06/7.284e-06, allocations: 0 / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1271, allocations: 54.87 MB / 447.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3409/0.468, allocations: 98.62 MB / 0.5335 GB, free: 1.926 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/0.4683, allocations: 70.22 kB / 0.5335 GB, free: 1.895 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.6049/1.073, allocations: 157.2 MB / 0.687 GB, free: 79.96 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005074/1.074, allocations: 162 kB / 0.6872 GB, free: 79.95 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: 2806 * Number of variables: 2806 Notification: Performance of Generate backend data structure: time 0.02617/1.1, allocations: 7.925 MB / 0.6949 GB, free: 76.91 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/1.1, allocations: 9.219 kB / 0.6949 GB, free: 76.91 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04617/1.146, allocations: 11.6 MB / 0.7063 GB, free: 76.35 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02846/1.175, allocations: 10.91 MB / 0.7169 GB, free: 75.3 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000512/1.175, allocations: 265.9 kB / 0.7172 GB, free: 75.3 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004944/1.18, allocations: 498.4 kB / 0.7176 GB, free: 75.29 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02452/1.205, allocations: 11.41 MB / 0.7288 GB, free: 75.25 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0426/1.247, allocations: 16.92 MB / 0.7453 GB, free: 70.36 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008492/1.248, allocations: 108.4 kB / 0.7454 GB, free: 70.34 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004302/1.253, allocations: 43.09 kB / 0.7454 GB, free: 70.34 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002994/1.256, allocations: 1.863 MB / 0.7473 GB, free: 70.02 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09281/1.349, allocations: 78.55 MB / 0.824 GB, free: 5.594 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00805/1.357, allocations: 6.415 MB / 0.8302 GB, free: 15.63 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005922/1.363, allocations: 4.544 MB / 0.8347 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03081/1.393, allocations: 14.18 MB / 0.8485 GB, free: 0 / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1794/1.573, allocations: 66.95 kB / 0.8486 GB, free: 138.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=296): time 6.412e-06/1.573, allocations: 0 / 0.8486 GB, free: 138.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=322): time 0.06619/1.639, allocations: 29.74 MB / 0.8776 GB, free: 133 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/1.639, allocations: 298.8 kB / 0.8779 GB, free: 132.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01178/1.651, allocations: 5.464 MB / 0.8833 GB, free: 132.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000873/1.652, allocations: 25.7 kB / 0.8833 GB, free: 132.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003361/1.655, allocations: 5.086 MB / 0.8882 GB, free: 129.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001805/1.657, allocations: 1.186 MB / 0.8894 GB, free: 128.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000627/1.658, allocations: 0 / 0.8894 GB, free: 128.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004935/1.658, allocations: 0.716 MB / 0.8901 GB, free: 128.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004355/1.663, allocations: 3.338 MB / 0.8934 GB, free: 128.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007128/1.67, allocations: 8.987 MB / 0.9021 GB, free: 121.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008322/1.678, allocations: 5.454 MB / 0.9075 GB, free: 121.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002372/1.678, allocations: 58.44 kB / 0.9075 GB, free: 121.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=1257) (initialization): time 0.02431/1.703, allocations: 11.85 MB / 0.9191 GB, free: 120.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/1.703, allocations: 9.938 kB / 0.9191 GB, free: 120.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004942/1.703, allocations: 199.9 kB / 0.9193 GB, free: 120.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002642/1.706, allocations: 1.011 MB / 0.9203 GB, free: 120.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008107/1.714, allocations: 2.191 MB / 0.9224 GB, free: 119.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/1.725, allocations: 10.39 MB / 0.9326 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01069/1.736, allocations: 303.4 kB / 0.9329 GB, free: 112.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002837/1.738, allocations: 0.563 MB / 0.9334 GB, free: 112.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 918 * Number of states: 0 () * Number of discrete variables: 63 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1181): * Single equations (assignments): 1174 * 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%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004454/1.743, allocations: 0.6107 MB / 0.934 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002328/1.745, allocations: 0.5832 MB / 0.9346 GB, free: 111.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01235/1.758, allocations: 5.571 MB / 0.94 GB, free: 109.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001436/1.758, allocations: 31.41 kB / 0.94 GB, free: 109.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.195e-05/1.758, allocations: 15.72 kB / 0.9401 GB, free: 109.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.422e-05/1.758, allocations: 16.55 kB / 0.9401 GB, free: 109.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03317/1.791, allocations: 12.83 MB / 0.9526 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.432e-05/1.791, allocations: 0 / 0.9526 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003005/1.794, allocations: 0.4893 MB / 0.9531 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002083/1.796, allocations: 0.6687 MB / 0.9537 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000535/1.797, allocations: 18.72 kB / 0.9538 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008584/1.806, allocations: 9.243 MB / 0.9628 GB, free: 95.02 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/1.806, allocations: 7.844 kB / 0.9628 GB, free: 95.02 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01401/1.82, allocations: 9.639 MB / 0.9722 GB, free: 86.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003196/1.823, allocations: 1.045 MB / 0.9732 GB, free: 85.41 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001953/1.825, allocations: 0 / 0.9732 GB, free: 85.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003876/1.829, allocations: 122.5 kB / 0.9733 GB, free: 85.34 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00052/1.829, allocations: 142 kB / 0.9735 GB, free: 85.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003617/1.83, allocations: 87.09 kB / 0.9736 GB, free: 85.18 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.008754/1.838, allocations: 3.738 MB / 0.9772 GB, free: 81.93 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01401/1.852, allocations: 1.547 MB / 0.9787 GB, free: 80.39 MB / 490.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 (269): * Single equations (assignments): 262 * 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%) 10,(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001328/1.854, allocations: 151.1 kB / 0.9789 GB, free: 80.24 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01487/1.869, allocations: 8.3 MB / 0.987 GB, free: 72.73 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/1.869, allocations: 4 kB / 0.987 GB, free: 72.73 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004416/1.873, allocations: 2.977 MB / 0.9899 GB, free: 69.98 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00499/1.878, allocations: 0.7052 MB / 0.9906 GB, free: 69.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03426/1.913, allocations: 14.46 MB / 1.005 GB, free: 56.47 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01189/1.924, allocations: 6.356 MB / 1.011 GB, free: 51.72 MB / 490.7 MB Notification: Performance of SimCode: time 9.92e-07/1.924, allocations: 0 / 1.011 GB, free: 51.72 MB / 490.7 MB Notification: Performance of Templates: time 0.3395/2.264, allocations: 65.82 MB / 1.075 GB, free: 117.6 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1)