Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001466/0.001466, allocations: 187.4 kB / 7.654 MB, free: 1.402 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.45/1.45, allocations: 194.3 MB / 202.4 MB, free: 8.535 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.001667/0.001667, allocations: 111.4 kB / 247.4 MB, free: 6.199 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.2112/0.2112, allocations: 39.95 MB / 332.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.164e-05/2.166e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1057, allocations: 54.87 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3821/0.4879, allocations: 99.92 MB / 0.5353 GB, free: 368 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/0.4882, allocations: 75.38 kB / 0.5353 GB, free: 328 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2923/0.7805, allocations: 108.5 MB / 0.6413 GB, free: 11.51 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.7805, allocations: 0 / 0.6413 GB, free: 11.51 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003826/0.7809, allocations: 100 kB / 0.6414 GB, free: 11.41 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1885 * Number of variables: 1885 Notification: Performance of Generate backend data structure: time 0.01974/0.8007, allocations: 5.345 MB / 0.6466 GB, free: 5.996 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.8008, allocations: 12.03 kB / 0.6466 GB, free: 5.984 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02941/0.8302, allocations: 6.923 MB / 0.6534 GB, free: 15.04 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02125/0.8515, allocations: 6.785 MB / 0.66 GB, free: 8.199 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003708/0.8519, allocations: 172 kB / 0.6602 GB, free: 8.031 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002898/0.8548, allocations: 315.9 kB / 0.6605 GB, free: 7.723 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0173/0.8721, allocations: 7.229 MB / 0.6675 GB, free: 500 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3043/1.177, allocations: 11.38 MB / 0.6786 GB, free: 94.69 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003051/1.177, allocations: 77.42 kB / 0.6787 GB, free: 94.69 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009189/1.178, allocations: 42.28 kB / 0.6788 GB, free: 94.69 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001804/1.18, allocations: 1.209 MB / 0.6799 GB, free: 94.68 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05609/1.236, allocations: 56.17 MB / 0.7348 GB, free: 60.52 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003889/1.24, allocations: 3.452 MB / 0.7382 GB, free: 59.85 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002103/1.242, allocations: 2.095 MB / 0.7402 GB, free: 58.95 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.44e-05/1.242, allocations: 33.75 kB / 0.7402 GB, free: 58.95 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/1.242, allocations: 53.47 kB / 0.7403 GB, free: 58.9 MB / 474.7 MB Notification: Performance of pre-optimization done (n=183): time 4.007e-06/1.242, allocations: 0 / 0.7403 GB, free: 58.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=197): time 0.02806/1.27, allocations: 17.31 MB / 0.7572 GB, free: 51.82 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/1.27, allocations: 205.7 kB / 0.7574 GB, free: 51.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005385/1.275, allocations: 4.046 MB / 0.7613 GB, free: 50.15 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003983/1.276, allocations: 25.7 kB / 0.7614 GB, free: 50.12 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002105/1.278, allocations: 4.073 MB / 0.7653 GB, free: 47.11 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007872/1.279, allocations: 0.757 MB / 0.7661 GB, free: 46.57 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002348/1.279, allocations: 0 / 0.7661 GB, free: 46.57 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003234/1.279, allocations: 0.6251 MB / 0.7667 GB, free: 46.12 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002522/1.282, allocations: 2.151 MB / 0.7688 GB, free: 45.37 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004298/1.286, allocations: 6.703 MB / 0.7753 GB, free: 38.46 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004703/1.291, allocations: 3.781 MB / 0.779 GB, free: 37.17 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-05/1.291, allocations: 48.61 kB / 0.7791 GB, free: 37.17 MB / 474.7 MB Notification: Performance of matching and sorting (n=956) (initialization): time 0.01317/1.304, allocations: 8.222 MB / 0.7871 GB, free: 34.29 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.573e-05/1.304, allocations: 75.72 kB / 0.7872 GB, free: 34.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001795/1.305, allocations: 163.3 kB / 0.7873 GB, free: 34.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/1.306, allocations: 0.5841 MB / 0.7879 GB, free: 34.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00512/1.311, allocations: 1.692 MB / 0.7896 GB, free: 33.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00525/1.316, allocations: 5.417 MB / 0.7948 GB, free: 29.69 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006119/1.322, allocations: 244.4 kB / 0.7951 GB, free: 29.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00156/1.324, allocations: 450.3 kB / 0.7955 GB, free: 29.05 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 744 * Number of states: 0 () * Number of discrete variables: 42 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (906): * Single equations (assignments): 901 * 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 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001083/1.325, allocations: 0.5042 MB / 0.796 GB, free: 28.55 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007922/1.326, allocations: 422.6 kB / 0.7964 GB, free: 28.13 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004311/1.33, allocations: 2.927 MB / 0.7993 GB, free: 25.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-05/1.33, allocations: 24.78 kB / 0.7993 GB, free: 25.67 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/1.33, allocations: 4 kB / 0.7993 GB, free: 25.67 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/1.33, allocations: 10.23 kB / 0.7993 GB, free: 25.66 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01193/1.342, allocations: 7.324 MB / 0.8064 GB, free: 19.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-06/1.342, allocations: 7.562 kB / 0.8065 GB, free: 19.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001435/1.344, allocations: 297.7 kB / 0.8067 GB, free: 19.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008556/1.345, allocations: 334 kB / 0.8071 GB, free: 19.21 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001248/1.345, allocations: 11.61 kB / 0.8071 GB, free: 19.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00418/1.349, allocations: 4.733 MB / 0.8117 GB, free: 14.65 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.349, allocations: 0 / 0.8117 GB, free: 14.65 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006207/1.355, allocations: 5.536 MB / 0.8171 GB, free: 9.664 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001626/1.357, allocations: 0.7045 MB / 0.8178 GB, free: 8.984 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004586/1.357, allocations: 0 / 0.8178 GB, free: 8.984 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/1.359, allocations: 70.05 kB / 0.8179 GB, free: 8.945 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002501/1.359, allocations: 107.6 kB / 0.818 GB, free: 8.879 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/1.359, allocations: 61.38 kB / 0.818 GB, free: 8.824 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004163/1.363, allocations: 2.734 MB / 0.8207 GB, free: 6.449 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.363, allocations: 4 kB / 0.8207 GB, free: 6.445 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00563/1.369, allocations: 1.032 MB / 0.8217 GB, free: 5.422 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 151 * 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 {(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.0003874/1.369, allocations: 137.1 kB / 0.8218 GB, free: 5.289 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007318/1.377, allocations: 5.328 MB / 0.827 GB, free: 468 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/1.377, allocations: 0 / 0.827 GB, free: 468 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0052/1.382, allocations: 1.912 MB / 0.8289 GB, free: 15.56 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003016/1.385, allocations: 492.4 kB / 0.8294 GB, free: 15.16 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01845/1.403, allocations: 9.2 MB / 0.8384 GB, free: 6.945 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005933/1.409, allocations: 4.126 MB / 0.8424 GB, free: 3.879 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006277/1.416, allocations: 2.33 MB / 0.8447 GB, free: 2.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009728/1.417, allocations: 286.5 kB / 0.8449 GB, free: 2.141 MB / 490.7 MB Notification: Performance of SimCode: time 8.61e-07/1.417, allocations: 4 kB / 0.8449 GB, free: 2.137 MB / 490.7 MB Notification: Performance of Templates: time 0.3576/1.774, allocations: 35.08 MB / 0.8792 GB, free: 98.43 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1)